summaryrefslogtreecommitdiff
path: root/desktop
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:57:53 +0100
commitd104ed1a643806edcb188073d7c83bc2927fce57 (patch)
tree0e0156d830c4dda54242431ef29b11c0fd35cb69 /desktop
parent43adbc8489cd724545a6cde72a8720a76ac554f0 (diff)
lool - now the fill cursor type is mapped correctly
Change-Id: I6d89df49b9f740b7f81394938222261f25a50dba
Diffstat (limited to 'desktop')
-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 13e0f6c7b09b..aaf52f1c9cb6 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());