diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-05-08 13:32:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-05-08 14:32:11 +0200 |
commit | 69c52bc5b7973a2e414209470f5bf9b66dcc4f30 (patch) | |
tree | 1bff15f50586412234a84255a24209af95cd0c91 /sw/source/core/access/accdoc.cxx | |
parent | aec4128cccb1c16f793df065a31a98f3b112d256 (diff) |
sw: convert some usage of Point::X/Y to Point::set/getX/Y
As I understand it, Point::X/Y() basically provide direct access to the
position, so they come without the usual benefits of getter/setter
methods.
Change-Id: I6d5bfd4f20ab8c7377419dcf5aac2c4ea0e9db05
Diffstat (limited to 'sw/source/core/access/accdoc.cxx')
-rw-r--r-- | sw/source/core/access/accdoc.cxx | 4 |
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; } |