summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 14:33:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:07:38 +0200
commitd634a9edd22e4fbd5cec8d0c1e8fa866b344c32e (patch)
tree783ffe51a5f140e03a698220f641beff0e99124c /forms
parente49467094db15e4a44fc5dfdd6494b02144b6334 (diff)
eItemMapUnit is unused
...ever since the code's introduction in 7eff3d3fc53fa494a86b1df127e45605bfe2fd71 "INTEGRATION: CWS frmcontrols03" Change-Id: Ibbc4e8e5f7b756fde3a4da5f696a5dab23e16770
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/rtattributehandler.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx
index 0b34312c4433..c36f408da238 100644
--- a/forms/source/richtext/rtattributehandler.cxx
+++ b/forms/source/richtext/rtattributehandler.cxx
@@ -351,8 +351,6 @@ namespace frm
if ( pFontHeightItem )
{
- // correct measurement units
- MapUnit eItemMapUnit = pFontHeightItem->GetPropUnit(); (void)eItemMapUnit;
sal_uLong nHeight = pFontHeightItem->GetHeight();
if ( _rNewAttribs.GetPool()->GetMetric( getWhich() ) != MapUnit::MapTwip )
{