summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 12:53:51 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 15:45:04 +0100
commitb5248ce4c5b5b8ec87dd604f616dc889bdb3a79b (patch)
tree3fb95a4510fcaa19d406fe9b14971ed85437175b
parentcda69956c9d0769c4cb254c0e08ac912fe136fdb (diff)
dead init (clang)
Change-Id: Idc482b3b801bc755042f2a25676fa90c3066f14c
-rw-r--r--sw/source/ui/misc/outline.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index 2cab3c57fe44..5b52fc15227d 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -1065,7 +1065,7 @@ void NumberingPreview::Paint( const Rectangle& /*rRect*/ )
}
nXStart /= 2;
nXStart += 2;
- long nTextOffset = 2 * nXStep;
+ long nTextOffset;
if( SVX_NUM_BITMAP == rFmt.GetNumberingType() )
{
lcl_DrawGraphic(pVDev.get(), rFmt, nXStart, nYStart, nWidthRelation);