[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - desktop/source

Marco Cecchetti marco.cecchetti at collabora.com
Mon Feb 1 17:54:26 UTC 2016


 desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4dae4ed81b82ea3f5ae5f1097e5c75c3b1f0644e
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Mon Feb 1 18:50:02 2016 +0100

    lool - now the fill cursor type is mapped correctly
    
    Change-Id: I6d89df49b9f740b7f81394938222261f25a50dba

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index ccb2e40..5360309 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -202,6 +202,7 @@ static const std::map <PointerStyle, OString> aPointerMap {
     { PointerStyle::Text, "text" },
     { PointerStyle::Help, "help" },
     { PointerStyle::Cross, "crosshair" },
+    { PointerStyle::Fill, "fill" },
     { PointerStyle::Move, "move" },
     { PointerStyle::NSize, "n-resize" },
     { PointerStyle::SSize, "s-resize" },
@@ -1156,7 +1157,6 @@ static void doc_postMouseEvent(LibreOfficeKitDocument* pThis, int nType, int nX,
     pDoc->postMouseEvent(nType, nX, nY, nCount, nButtons, nModifier);
 
     Pointer aPointer = pDoc->getPointer();
-
     // We don't map all possible pointers hence we need a default
     OString aPointerString = "default";
     auto aIt = aPointerMap.find(aPointer.GetStyle());


More information about the Libreoffice-commits mailing list