diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/global.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index 6ecf6eca3510..c92238d06d11 100644 --- a/sc/source/core/data/global.cxx +++ b/sc/source/core/data/global.cxx @@ -1283,11 +1283,13 @@ void ScGlobal::ApplyShapeOrientationInfo( std::vector< OrientationInfo >& infos, for ( int i = 0; i < it->maAddress.Column; ++i ) { long nTwip = aViewData.GetDocument()->GetColWidth( i, it->maAddress.Sheet ); + Point aTmpPos = pDevice->LogicToPixel( Point( nTwip, nTwip ), aTmpMode ); nWidth += ( nTwip * aViewData.GetPPTX() ); } for ( int i = 0; i < it->maAddress.Row; ++i ) { long nTwip = aViewData.GetDocument()->GetRowHeight( i, it->maAddress.Sheet ); + Point aTmpPos = pDevice->LogicToPixel( Point( nTwip, nTwip ), aTmpMode ); nHeight += ( nTwip * aViewData.GetPPTY() ); } |