summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-03 09:33:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-03 09:34:00 +0200
commit37a6fdf890d49a20a57aeb41021dc0ff663cc628 (patch)
treeddc85350aacd58ced61263b4e34ed585e63c2933 /framework/source
parent411e32244c7bff5fb64a049b1c63cf15ac166cd3 (diff)
loplugin:stringconstant also for cases using char const v[] = "..."
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/fwe/helper/configimporter.cxx2
-rw-r--r--framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx2
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanager.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/fwe/helper/configimporter.cxx b/framework/source/fwe/helper/configimporter.cxx
index a51b485cad11..e1306991259d 100644
--- a/framework/source/fwe/helper/configimporter.cxx
+++ b/framework/source/fwe/helper/configimporter.cxx
@@ -44,7 +44,7 @@ bool UIConfigurationImporterOOo1x::ImportCustomToolbars(
for ( sal_uInt16 i = 1; i <= 4; i++ )
{
OUStringBuffer aCustomTbxName( 20 );
- aCustomTbxName.appendAscii( USERDEFTOOLBOX );
+ aCustomTbxName.append( USERDEFTOOLBOX );
aCustomTbxName[14] = aCustomTbxName[14] + i;
OUString aTbxStreamName( aCustomTbxName.makeStringAndClear() );
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index 844b55726934..1b3ab4ab6f05 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -366,7 +366,7 @@ void ModuleUIConfigurationManager::impl_preloadUIElementTypeList( Layer eLayer,
if ( xElementTypeStorage.is() )
{
OUStringBuffer aBuf( RESOURCEURL_PREFIX_SIZE );
- aBuf.appendAscii( RESOURCEURL_PREFIX );
+ aBuf.append( RESOURCEURL_PREFIX );
aBuf.appendAscii( UIELEMENTTYPENAMES[ nElementType ] );
aBuf.append( "/" );
OUString aResURLPrefix( aBuf.makeStringAndClear() );
diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
index 6f68a3100a73..a4a9675acf64 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
@@ -289,7 +289,7 @@ void UIConfigurationManager::impl_preloadUIElementTypeList( sal_Int16 nElementTy
if ( xElementTypeStorage.is() )
{
OUStringBuffer aBuf( RESOURCEURL_PREFIX_SIZE );
- aBuf.appendAscii( RESOURCEURL_PREFIX );
+ aBuf.append( RESOURCEURL_PREFIX );
aBuf.appendAscii( UIELEMENTTYPENAMES[ nElementType ] );
aBuf.append( "/" );
OUString aResURLPrefix( aBuf.makeStringAndClear() );