sw/source/uibase/uno/unotxdoc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9cadcc1e4f0525953fbcfc2adeaa89ef0a90eb9e Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Wed Mar 18 18:48:57 2015 +0900 setGraphicSelection should use LOK_SETGRAPHICSELECTION_* Change-Id: I119940f89284a19594819fb26f93155a476f487c diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index e818ffe..e552404 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3232,10 +3232,10 @@ void SwXTextDocument::setGraphicSelection(int nType, int nX, int nY) SwEditWin& rEditWin = pDocShell->GetView()->GetEditWin(); switch (nType) { - case LOK_SETTEXTSELECTION_START: + case LOK_SETGRAPHICSELECTION_START: rEditWin.SetGraphicLogicPosition(/*bStart=*/true, Point(nX, nY)); break; - case LOK_SETTEXTSELECTION_END: + case LOK_SETGRAPHICSELECTION_END: rEditWin.SetGraphicLogicPosition(/*bStart=*/false, Point(nX, nY)); break; default:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits