[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu May 3 08:43:20 PDT 2012
sc/source/core/data/global.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit d0dcf1d65c79c4c607a1ac24c0c57f4b1a935294
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu May 3 16:43:12 2012 +0100
WaE: variables set but unused
Change-Id: I03bec3b0b4b9d4910b2baab86fa95efe2f5b9ef2
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index bfcd6f4..9a3de10 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -1288,13 +1288,11 @@ 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() );
}
More information about the Libreoffice-commits
mailing list