const, RString
This commit is contained in:
@@ -1953,12 +1953,12 @@ LocalizedString::~LocalizedString()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LocalizedString::operator const CString&()
|
LocalizedString::operator const RString&() const
|
||||||
{
|
{
|
||||||
return GetValue();
|
return GetValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
const CString &LocalizedString::GetValue()
|
const CString &LocalizedString::GetValue() const
|
||||||
{
|
{
|
||||||
ASSERT(!m_sValue.empty()); return m_sValue;
|
ASSERT(!m_sValue.empty()); return m_sValue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -513,8 +513,8 @@ public:
|
|||||||
LocalizedString( const RString &sSection, const RString &sName );
|
LocalizedString( const RString &sSection, const RString &sName );
|
||||||
~LocalizedString();
|
~LocalizedString();
|
||||||
void Refresh();
|
void Refresh();
|
||||||
operator const CString&();
|
operator const RString&() const;
|
||||||
const CString &GetValue();
|
const RString &GetValue() const;
|
||||||
private:
|
private:
|
||||||
RString m_sSection;
|
RString m_sSection;
|
||||||
RString m_sName;
|
RString m_sName;
|
||||||
|
|||||||
Reference in New Issue
Block a user