Kaydet (Commit) d58fc490 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

WaE: -Wunused-variable

Change-Id: Ic39102eaa8f0f5f6ea58173103ca8c5dc5c55185
üst e5dce943
...@@ -534,10 +534,6 @@ awt::Rectangle SAL_CALL SmGraphicAccessible::getCharacterBounds( sal_Int32 nInde ...@@ -534,10 +534,6 @@ awt::Rectangle SAL_CALL SmGraphicAccessible::getCharacterBounds( sal_Int32 nInde
aSize.Width() = nNodeIndex > 0 ? pXAry[nNodeIndex] - pXAry[nNodeIndex - 1] : pXAry[nNodeIndex]; aSize.Width() = nNodeIndex > 0 ? pXAry[nNodeIndex] - pXAry[nNodeIndex - 1] : pXAry[nNodeIndex];
delete[] pXAry; 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 ); aTLPos = pWin->LogicToPixel( aTLPos );
aSize = pWin->LogicToPixel( aSize ); aSize = pWin->LogicToPixel( aSize );
aRes.X = aTLPos.X(); aRes.X = aTLPos.X();
...@@ -593,10 +589,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint( const awt::Point& aPoin ...@@ -593,10 +589,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint( const awt::Point& aPoin
Point aTLPos ( aOffset ); Point aTLPos ( aOffset );
aTLPos.X() -= 0; aTLPos.X() -= 0;
Size aSize( pNode->GetSize() ); 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 ); Rectangle aRect( aTLPos, aSize );
if (aRect.IsInside( aPos )) if (aRect.IsInside( aPos ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment