summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-06-19 14:26:41 +0200
committerDavid Tardon <dtardon@redhat.com>2013-06-19 14:27:16 +0200
commit8fbb2ebc2155b03d1436d9100886318642d47714 (patch)
tree165d41af0fe3f7ce3a6fa4610493febe79620eac /cui
parent47dca10811a31cf28e72b9bc034b9d8975327df3 (diff)
fix copypasta
Change-Id: I7744acc8cf1e8b6cad05d22df43f3d5a5beaa2f6
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/transfrm.cxx2
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 ),