summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/implrenderer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 16:05:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 08:59:30 +0200
commit58ae5fb5ff69a5581cffa583a57ad9381140fa9a (patch)
treee4776c71b6038e983579facd2ef0c1f8f926d54b /cppcanvas/source/mtfrenderer/implrenderer.cxx
parentcb37c5f0f3de7b545231a53d46a5271058af76ad (diff)
loplugin:oncevar in cppcanvas..drawinglayer
Change-Id: I5456aad61fb0dfe6830eae62b91d1a6399d6343f Reviewed-on: https://gerrit.libreoffice.org/39128 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/mtfrenderer/implrenderer.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 10c8d875d22e..95b431e09322 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -1004,8 +1004,6 @@ namespace cppcanvas
pStrikeoutCharWidths[ i ] += pStrikeoutCharWidths[ i-1 ];
}
- sal_Int32 nStartPos = 0;
-
pStrikeoutTextAction =
TextActionFactory::createTextAction(
rStartPoint,
@@ -1014,7 +1012,7 @@ namespace cppcanvas
aShadowOffset,
aShadowColor,
aStrikeoutText,
- nStartPos,
+ 0/*nStartPos*/,
aStrikeoutText.getLength(),
pStrikeoutCharWidths,
rParms.mrVDev,