diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:27:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:27:26 +0200 |
commit | 489a47dfa080ab6cbedc9abbecc3bb9de7690618 (patch) | |
tree | 39089da1348c8b757a5d835a22df4e55a63675fb /cppcanvas | |
parent | d0cb35f3be4f49dbbd7f7477421a209f118e7811 (diff) |
loplugin:stringconstant: adapt to improved OUStringLiteral1 (cppcanvas)
Change-Id: I98a9e1404c2a9a39c8f930609c199c75f0a572f1
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 2c3d0bf7d87c..955c9ad970e6 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -986,7 +986,7 @@ namespace cppcanvas long nFullStrikeoutWidth = 0; OUString aStrikeoutText; while( (nFullStrikeoutWidth+=nStrikeoutWidth ) < nMaxWidth+1 ) - aStrikeoutText += OUString(pChars[0]); + aStrikeoutText += OUStringLiteral1(pChars[0]); sal_Int32 nLen = aStrikeoutText.getLength(); |