summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatablehelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:29:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:29:41 +0200
commit32f9120fa076ef9dcee1d29e0a596a36aade353c (patch)
tree8f5ca4bc9f37598ee2e04726a124ed767a826edd /sw/source/ui/vba/vbatablehelper.cxx
parent185c3c8207de78ebb4f4dc053b5fe16f810929cc (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (sw)
Change-Id: Ifa1a6bafd3628b48ebceb09f8cd864361848e81c
Diffstat (limited to 'sw/source/ui/vba/vbatablehelper.cxx')
-rw-r--r--sw/source/ui/vba/vbatablehelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbatablehelper.cxx b/sw/source/ui/vba/vbatablehelper.cxx
index 62b81aeb8d14..19d333b660e9 100644
--- a/sw/source/ui/vba/vbatablehelper.cxx
+++ b/sw/source/ui/vba/vbatablehelper.cxx
@@ -102,9 +102,9 @@ OUString SwVbaTableHelper::getColumnStr( sal_Int32 nCol )
do{
nCalc = nCol % coDiff;
if( nCalc >= 26 )
- sRet = OUString( sal_Unicode('a' - 26 + nCalc ) ) + sRet;
+ sRet = OUStringLiteral1( 'a' - 26 + nCalc ) + sRet;
else
- sRet = OUString( sal_Unicode('A' + nCalc ) ) + sRet;
+ sRet = OUStringLiteral1( 'A' + nCalc ) + sRet;
if( 0 == ( nCol = nCol - nCalc ) )
break;