summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2016-02-01 18:50:02 +0100
committerMarco Cecchetti <marco.cecchetti@collabora.com>2016-02-01 18:53:13 +0100
commit4dae4ed81b82ea3f5ae5f1097e5c75c3b1f0644e (patch)
tree8aca64847e85025e09ee6e1c7ece3cf01857b453
parent9dd1b28174e590a019fa4162b6dc5a069e9af0a5 (diff)
lool - now the fill cursor type is mapped correctly
Change-Id: I6d89df49b9f740b7f81394938222261f25a50dba
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index ccb2e4059928..53603095c09a 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());