Skip to content
Snippets Groups Projects
Commit ea2005ed authored by Boroondas Gupte's avatar Boroondas Gupte
Browse files

fixed indentation in lluistring.h

parent 3dd26418
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ class LLUIString ...@@ -64,7 +64,7 @@ class LLUIString
public: public:
// These methods all perform appropriate argument substitution // These methods all perform appropriate argument substitution
// and modify mOrig where appropriate // and modify mOrig where appropriate
LLUIString() : mArgs(NULL), mNeedsResult(false), mNeedsWResult(false) {} LLUIString() : mArgs(NULL), mNeedsResult(false), mNeedsWResult(false) {}
LLUIString(const std::string& instring, const LLStringUtil::format_map_t& args); LLUIString(const std::string& instring, const LLStringUtil::format_map_t& args);
LLUIString(const std::string& instring) : mArgs(NULL) { assign(instring); } LLUIString(const std::string& instring) : mArgs(NULL) { assign(instring); }
...@@ -89,14 +89,14 @@ class LLUIString ...@@ -89,14 +89,14 @@ class LLUIString
void clear(); void clear();
void clearArgs() { if (mArgs) mArgs->clear(); } void clearArgs() { if (mArgs) mArgs->clear(); }
// These utility functions are included for text editing. // These utility functions are included for text editing.
// They do not affect mOrig and do not perform argument substitution // They do not affect mOrig and do not perform argument substitution
void truncate(S32 maxchars); void truncate(S32 maxchars);
void erase(S32 charidx, S32 len); void erase(S32 charidx, S32 len);
void insert(S32 charidx, const LLWString& wchars); void insert(S32 charidx, const LLWString& wchars);
void replace(S32 charidx, llwchar wc); void replace(S32 charidx, llwchar wc);
private: private:
// something changed, requiring reformatting of strings // something changed, requiring reformatting of strings
void dirty(); void dirty();
...@@ -108,7 +108,7 @@ class LLUIString ...@@ -108,7 +108,7 @@ class LLUIString
void updateResult() const; void updateResult() const;
void updateWResult() const; void updateWResult() const;
LLStringUtil::format_map_t& getArgs(); LLStringUtil::format_map_t& getArgs();
std::string mOrig; std::string mOrig;
mutable std::string mResult; mutable std::string mResult;
mutable LLWString mWResult; // for displaying mutable LLWString mWResult; // for displaying
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment