no ticket. Mistyped class name has been corrected.

--HG--
branch : product-engine
master
Denis Serdjuk 2009-11-03 14:24:57 +02:00
parent 645e258851
commit c4935ea25b
2 changed files with 4 additions and 4 deletions

View File

@ -135,13 +135,13 @@ public:
// Returns true if the given inventory item is a landmark pointing to the current parcel.
// Used to find out if there is at least one landmark from current parcel.
class LLFistAgentParcelLandmark : public LLInventoryCollectFunctor
class LLFirstAgentParcelLandmark : public LLInventoryCollectFunctor
{
private:
bool mFounded;// to avoid unnecessary check
public:
LLFistAgentParcelLandmark(): mFounded(false){}
LLFirstAgentParcelLandmark(): mFounded(false){}
/*virtual*/ bool operator()(LLInventoryCategory* cat, LLInventoryItem* item)
{
@ -202,7 +202,7 @@ bool LLLandmarkActions::landmarkAlreadyExists()
//static
bool LLLandmarkActions::hasParcelLandmark()
{
LLFistAgentParcelLandmark get_first_agent_landmark;
LLFirstAgentParcelLandmark get_first_agent_landmark;
LLInventoryModel::cat_array_t cats;
LLInventoryModel::item_array_t items;
fetch_landmarks(cats, items, get_first_agent_landmark);

View File

@ -55,7 +55,7 @@ public:
static bool landmarkAlreadyExists();
/**
* @brief Checks whether landmark exists for current parcel.
* @brief Checks whether landmark exists for current agent parcel.
*/
static bool hasParcelLandmark();