diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-29 10:37:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 09:18:16 +0000 |
commit | b7859cdc9bfc90878a6d17136920370ef6426372 (patch) | |
tree | e104982075478acb014cf911678abd28209dc2d9 /idl/inc/basobj.hxx | |
parent | f80d46233150d36183ec3e03708f9f6290c8c339 (diff) |
don't inherit from ByteString
Diffstat (limited to 'idl/inc/basobj.hxx')
-rw-r--r-- | idl/inc/basobj.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx index d40aab316c18..a669f02fc247 100644 --- a/idl/inc/basobj.hxx +++ b/idl/inc/basobj.hxx @@ -153,7 +153,7 @@ public: virtual sal_Bool SetName( const ByteString & rName, SvIdlDataBase * = NULL ); void SetDescription( const ByteString& rText ) - { aDescription = rText; } + { aDescription.setString(rText); } const SvHelpContext& GetHelpContext() const { return aHelpContext; } virtual const SvString & GetName() const { return aName; } virtual const SvString & GetHelpText() const { return aHelpText; } @@ -183,7 +183,7 @@ public: const SvString & GetName() const { return ( !aRef.Is() - || SvMetaName::GetName().Len() ) + || SvMetaName::GetName().getString().Len() ) ? SvMetaName::GetName() : aRef->GetName(); } @@ -191,7 +191,7 @@ public: const SvString & GetHelpText() const { return ( !aRef.Is() - || SvMetaName::GetHelpText().Len() ) + || SvMetaName::GetHelpText().getString().Len() ) ? SvMetaName::GetHelpText() : aRef->GetHelpText(); } @@ -199,7 +199,7 @@ public: const SvString & GetConfigName() const { return ( !aRef.Is() - || SvMetaName::GetConfigName().Len() ) + || SvMetaName::GetConfigName().getString().Len() ) ? SvMetaName::GetConfigName() : aRef->GetConfigName(); } @@ -207,7 +207,7 @@ public: const SvString & GetDescription() const { return ( !aRef.Is() - || SvMetaName::GetDescription().Len() ) + || SvMetaName::GetDescription().getString().Len() ) ? SvMetaName::GetDescription() : aRef->GetDescription(); } |