starmath/source/accessibility.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit e1771058ebc4efc58515ffa60250843274990bac
Author: Takeshi Abe <[email protected]>
Date:   Fri Feb 23 18:48:39 2018 +0900

    starmath: Adjusting by 0 is the same as doing nothing
    
    Change-Id: I417c67ca8be458befff4ff3151404fe3833e7582
    Reviewed-on: https://gerrit.libreoffice.org/50227
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Takeshi Abe <[email protected]>

diff --git a/starmath/source/accessibility.cxx 
b/starmath/source/accessibility.cxx
index 59ab5412c806..22d5af1c38b1 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -482,7 +482,6 @@ awt::Rectangle SAL_CALL 
SmGraphicAccessible::getCharacterBounds( sal_Int32 nInde
             // get appropriate rectangle
             Point aOffset(pNode->GetTopLeft() - pTree->GetTopLeft());
             Point aTLPos (pWin->GetFormulaDrawPos() + aOffset);
-            aTLPos.AdjustX( -0 );
             Size  aSize (pNode->GetSize());
 
             long* pXAry = new long[ aNodeText.getLength() ];
@@ -542,7 +541,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint( 
const awt::Point& aPoin
             // get appropriate rectangle
             Point   aOffset( pNode->GetTopLeft() - pTree->GetTopLeft() );
             Point   aTLPos ( aOffset );
-            aTLPos.AdjustX( -0 );
             Size  aSize( pNode->GetSize() );
 
             tools::Rectangle aRect( aTLPos, aSize );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to