diff options
author | David Tardon <dtardon@redhat.com> | 2013-06-19 14:26:41 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-06-25 11:29:39 +0200 |
commit | 6bb02e0113419a21b46f46885df271ea6baf4eb8 (patch) | |
tree | afcc73fb8092206ff9d6248bb345f4df69794a9e /cui/source | |
parent | 306ed04b0ac9a166a0a16f0324384d541c7fc0cb (diff) |
fix copypasta
Change-Id: I7744acc8cf1e8b6cad05d22df43f3d5a5beaa2f6
(cherry picked from commit 938644c93ee6eb4c5b3f4ade0ba59b82751d1448)
Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index a20ea83fa43a..9cd709f47224 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -886,7 +886,7 @@ sal_Bool SvxPositionSizeTabPage::FillItemSet( SfxItemSet& rOutAttrs ) nHeight = MetricField::ConvertDoubleValue( nHeight, maMtrHeight.GetBaseValue(), maMtrHeight.GetDecimalDigits(), meDlgUnit, FUNIT_100TH_MM ); long lHeight = long(nHeight * (double)aUIScale); lHeight = OutputDevice::LogicToLogic( lHeight, MAP_100TH_MM, (MapUnit)mePoolUnit ); - lHeight = static_cast<long>(maMtrWidth.Denormalize( lHeight )); + lHeight = static_cast<long>(maMtrHeight.Denormalize( lHeight )); // put Width & Height to itemset rOutAttrs.Put( SfxUInt32Item( GetWhich( SID_ATTR_TRANSFORM_WIDTH ), |