[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - cui/source

David Tardon dtardon at redhat.com
Tue Jun 25 02:30:13 PDT 2013


 cui/source/tabpages/transfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6bb02e0113419a21b46f46885df271ea6baf4eb8
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Jun 19 14:26:41 2013 +0200

    fix copypasta
    
    Change-Id: I7744acc8cf1e8b6cad05d22df43f3d5a5beaa2f6
    (cherry picked from commit 938644c93ee6eb4c5b3f4ade0ba59b82751d1448)
    
    Signed-off-by: Thorsten Behrens <tbehrens at suse.com>

diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index a20ea83..9cd709f 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 ),


More information about the Libreoffice-commits mailing list