diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:03:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:03:15 +0200 |
commit | e9b75064158a9482d79a123319ad0fe8c497e40a (patch) | |
tree | d6ed41177bc5682addc6cbf218bd51f533e640f7 /framework/source/uifactory | |
parent | 2cef646fc19add099d3da7ef46865390e7ca7b16 (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iadb6e16a7aca322a78a82ae1a52f5d085b300efc
Diffstat (limited to 'framework/source/uifactory')
-rw-r--r-- | framework/source/uifactory/factoryconfiguration.cxx | 2 | ||||
-rw-r--r-- | framework/source/uifactory/uielementfactorymanager.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uifactory/factoryconfiguration.cxx b/framework/source/uifactory/factoryconfiguration.cxx index ca432e11e303..2a7da9943082 100644 --- a/framework/source/uifactory/factoryconfiguration.cxx +++ b/framework/source/uifactory/factoryconfiguration.cxx @@ -47,7 +47,7 @@ namespace framework OUString getHashKeyFromStrings( const OUString& aCommandURL, const OUString& aModuleName ) { OUStringBuffer aKey( aCommandURL ); - aKey.appendAscii( "-" ); + aKey.append( "-" ); aKey.append( aModuleName ); return aKey.makeStringAndClear(); } diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index e4dc53875c61..034feecc5355 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -57,9 +57,9 @@ namespace framework static OUString getHashKeyFromStrings( const OUString& aType, const OUString& aName, const OUString& aModuleName ) { OUStringBuffer aKey( aType ); - aKey.appendAscii( "^" ); + aKey.append( "^" ); aKey.append( aName ); - aKey.appendAscii( "^" ); + aKey.append( "^" ); aKey.append( aModuleName ); return aKey.makeStringAndClear(); } |