[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - sw/source

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Wed Mar 18 02:52:27 PDT 2015


 sw/source/uibase/uno/unotxdoc.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9cadcc1e4f0525953fbcfc2adeaa89ef0a90eb9e
Author: Tomaž Vajngerl <tomaz.vajngerl at 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:


More information about the Libreoffice-commits mailing list