summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
-rw-r--r--sw/source/uibase/inc/edtwin.hxx2
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index f0831acce215..9b0eecb2abc2 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -6229,7 +6229,7 @@ void SwEditWin::SetCursorLogicPosition(const Point& rPosition, bool bPoint, bool
rShell.getShellCrsr(/*bBlock=*/false)->Exchange();
}
-void SwEditWin::SetGraphicLogicPosition(bool bStart, const Point& rPosition)
+void SwEditWin::SetGraphicTwipPosition(bool bStart, const Point& rPosition)
{
if (bStart)
{
diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx
index b9d00f9eaf5f..5a4cf7aa7198 100644
--- a/sw/source/uibase/inc/edtwin.hxx
+++ b/sw/source/uibase/inc/edtwin.hxx
@@ -305,7 +305,7 @@ public:
/// Allows adjusting the point or mark of the selection to a document coordinate.
void SetCursorLogicPosition(const Point& rPosition, bool bPoint, bool bClearMark);
/// Allows starting or ending a graphic move or resize action.
- void SetGraphicLogicPosition(bool bStart, const Point& rPosition);
+ void SetGraphicTwipPosition(bool bStart, const Point& rPosition);
};
#endif
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 15b9a96a1091..f34f83b75181 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3234,10 +3234,10 @@ void SwXTextDocument::setGraphicSelection(int nType, int nX, int nY)
switch (nType)
{
case LOK_SETGRAPHICSELECTION_START:
- rEditWin.SetGraphicLogicPosition(/*bStart=*/true, Point(nX, nY));
+ rEditWin.SetGraphicTwipPosition(/*bStart=*/true, Point(nX, nY));
break;
case LOK_SETGRAPHICSELECTION_END:
- rEditWin.SetGraphicLogicPosition(/*bStart=*/false, Point(nX, nY));
+ rEditWin.SetGraphicTwipPosition(/*bStart=*/false, Point(nX, nY));
break;
default:
assert(false);