summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accdoc.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-05-17 09:17:02 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-05-20 18:59:38 +0000
commit76fbba8259b3daeb0543cca15c84d5df281e687c (patch)
tree0b897f4e70f5397789c6de9a02185744e3ca69b6 /sw/source/core/access/accdoc.cxx
parentbd888a331b6eafbdf3225e15e47c1190bd5bd6b7 (diff)
sw: convert some usage of Point::X/Y to Point::set/getX/Y, take two
69c52bc5b7973a2e414209470f5bf9b66dcc4f30 had some typos, and got reverted in 78123a504b5215d061935d7b2771ba51e68cae0e, this does the same, except those typos corrected, so vertical layout is still OK. Change-Id: I79fe610e4cc8bbbddbd8415198d6309a93f4ba18 Reviewed-on: https://gerrit.libreoffice.org/3929 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sw/source/core/access/accdoc.cxx')
-rw-r--r--sw/source/core/access/accdoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index 78981f851050..746146bef5a9 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -202,7 +202,7 @@ awt::Point SAL_CALL SwAccessibleDocumentBase::getLocation()
CHECK_FOR_WINDOW( XAccessibleComponent, pWin )
Point aPixPos( pWin->GetWindowExtentsRelative( pWin->GetAccessibleParentWindow() ).TopLeft() );
- awt::Point aLoc( aPixPos.X(), aPixPos.Y() );
+ awt::Point aLoc( aPixPos.getX(), aPixPos.getY() );
return aLoc;
}
@@ -218,7 +218,7 @@ awt::Point SAL_CALL SwAccessibleDocumentBase::getLocation()
CHECK_FOR_WINDOW( XAccessibleComponent, pWin )
Point aPixPos( pWin->GetWindowExtentsRelative( 0 ).TopLeft() );
- awt::Point aLoc( aPixPos.X(), aPixPos.Y() );
+ awt::Point aLoc( aPixPos.getX(), aPixPos.getY() );
return aLoc;
}