[Libreoffice-commits] core.git: desktop/source

Marco Cecchetti marco.cecchetti at collabora.com
Mon Feb 1 18:00:15 UTC 2016


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

New commits:
commit d104ed1a643806edcb188073d7c83bc2927fce57
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 13e0f6c..aaf52f1 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -183,6 +183,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" },
@@ -1107,7 +1108,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