summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-20 01:40:59 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-20 01:49:55 +0200
commitd58fc49073ec69ce3a17b6a6613135af857ce4f7 (patch)
treeed3120609e359cb0941c04924d5d6735da7acc9e /starmath
parente5dce9439628f83fc8ed4ddddf86f341ee76008c (diff)
WaE: -Wunused-variable
Change-Id: Ic39102eaa8f0f5f6ea58173103ca8c5dc5c55185
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/accessibility.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 31d53f2a882c..5032a2ef400a 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -534,10 +534,6 @@ awt::Rectangle SAL_CALL SmGraphicAccessible::getCharacterBounds( sal_Int32 nInde
aSize.Width() = nNodeIndex > 0 ? pXAry[nNodeIndex] - pXAry[nNodeIndex - 1] : pXAry[nNodeIndex];
delete[] pXAry;
-#if OSL_DEBUG_LEVEL > 1
- Point aLP00( pWin->LogicToPixel( Point(0,0)) );
- Point aPL00( pWin->PixelToLogic( Point(0,0)) );
-#endif
aTLPos = pWin->LogicToPixel( aTLPos );
aSize = pWin->LogicToPixel( aSize );
aRes.X = aTLPos.X();
@@ -593,10 +589,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint( const awt::Point& aPoin
Point aTLPos ( aOffset );
aTLPos.X() -= 0;
Size aSize( pNode->GetSize() );
-#if OSL_DEBUG_LEVEL > 1
- Point aLP00( pWin->LogicToPixel( Point(0,0)) );
- Point aPL00( pWin->PixelToLogic( Point(0,0)) );
-#endif
Rectangle aRect( aTLPos, aSize );
if (aRect.IsInside( aPos ))