[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Wed Sep 9 08:43:41 PDT 2015
svx/source/sidebar/line/LineWidthControl.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit b70669e4cf98744437365d6c83d2f71c35b27696
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 9 17:41:00 2015 +0200
clang-analyzer-deadcode.DeadStores
...ever since the function's introduction with
0a0a9b32aa5bf1ce2554ad37cbba3c7a105db2b5 "121420: merge sidebar feature from
branch into trunk"
Change-Id: Id52548f16d12ddbd4620508863a53dce72d6c856
diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 7983b6b..2668526 100644
--- a/svx/source/sidebar/line/LineWidthControl.cxx
+++ b/svx/source/sidebar/line/LineWidthControl.cxx
@@ -231,10 +231,6 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e
maMFWidth->SetText( "" );
}
- MapUnit eOrgUnit = (MapUnit)eMapUnit;
- MapUnit ePntUnit( MAP_TWIP );
- lValue = LogicToLogic( lValue , eOrgUnit, ePntUnit );
-
OUString strCurrValue = maMFWidth->GetText();
sal_uInt16 i = 0;
for(; i < 8; i++)
More information about the Libreoffice-commits
mailing list