summaryrefslogtreecommitdiff
path: root/sd/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 /sd/source
parent411e32244c7bff5fb64a049b1c63cf15ac166cd3 (diff)
loplugin:stringconstant also for cases using char const v[] = "..."
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/unoidl/unopage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 98e6c33f8b08..6d22bec8281c 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -2154,7 +2154,7 @@ OUString getPageApiName( SdPage* pPage )
if( aPageName.isEmpty() )
{
OUStringBuffer sBuffer;
- sBuffer.appendAscii( sEmptyPageName );
+ sBuffer.append( sEmptyPageName );
const sal_Int32 nPageNum = ( ( pPage->GetPageNum() - 1 ) >> 1 ) + 1;
sBuffer.append( nPageNum );
aPageName = sBuffer.makeStringAndClear();