summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-12 10:12:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-13 11:00:17 +0100
commita2b687a88feedfae0087bfc999b3cf49b9d3d24b (patch)
tree1615bf7094f106a4f92ee4aa460599a2c84282bf /sfx2/source/sidebar
parentad6d9bce1126997750d3c3c2606d28164d63d1d8 (diff)
Pointer is pointless
since it is just a wrapper around PointerStyle Change-Id: I51f065e0d4ad8bd91f5c84c5819048c720a19267 Reviewed-on: https://gerrit.libreoffice.org/67711 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r--sfx2/source/sidebar/DeckTitleBar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx
index c0cf41d2e23e..601ae9966002 100644
--- a/sfx2/source/sidebar/DeckTitleBar.cxx
+++ b/sfx2/source/sidebar/DeckTitleBar.cxx
@@ -24,6 +24,7 @@
#include <sfx2/strings.hrc>
#include <vcl/image.hxx>
+#include <vcl/ptrstyle.hxx>
#ifdef DEBUG
#include <sfx2/sidebar/Tools.hxx>
@@ -134,8 +135,7 @@ void DeckTitleBar::MouseMove (const MouseEvent& rMouseEvent)
if ( aGrip.IsInside( rMouseEvent.GetPosPixel() ) )
eStyle = PointerStyle::Move;
- Pointer aPtr( eStyle );
- SetPointer( aPtr );
+ SetPointer( eStyle );
Window::MouseMove( rMouseEvent );
}