summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-06-08 13:50:37 +0200
committerAndras Timar <andras.timar@collabora.com>2015-06-08 13:44:11 +0000
commit7f4230675c6c78ebea8b6db3f3612e3ef6fb23df (patch)
treee57aee541754d2107f6175bf461f567b86ef8333 /cui
parentca96e9a8c20b9fc60bf82e6f510e5469de01103a (diff)
tdf#90804 remove SfxFieldUnit enum
b78d881520f2eb658180e2c90ffee3d30a80f0ae removed unused values from SfxFieldUnit enum. This broke the mapping between SfxFieldUnit and FieldUnit. In fact SfxFieldUnit was redundant. Change-Id: I13c7e7d708c6eeab0de192f4cd110b0a23989a31 Reviewed-on: https://gerrit.libreoffice.org/16150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/chardlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 8cb2b46a7511..2b48fde9d54c 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -520,7 +520,7 @@ namespace
// conversion twips for the example-window
aSize.Height() =
- ItemToControl( nHeight, _pPage->GetItemSet().GetPool()->GetMetric( _nFontHeightWhich ), SFX_FUNIT_TWIP );
+ ItemToControl( nHeight, _pPage->GetItemSet().GetPool()->GetMetric( _nFontHeightWhich ), FUNIT_TWIP );
}
else if ( !_pFontSizeLB->GetText().isEmpty() )
aSize.Height() = PointToTwips( static_cast<long>(_pFontSizeLB->GetValue() / 10) );