diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-12 10:12:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-13 11:00:17 +0100 |
commit | a2b687a88feedfae0087bfc999b3cf49b9d3d24b (patch) | |
tree | 1615bf7094f106a4f92ee4aa460599a2c84282bf /svx/source/engine3d | |
parent | ad6d9bce1126997750d3c3c2606d28164d63d1d8 (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 'svx/source/engine3d')
-rw-r--r-- | svx/source/engine3d/dragmt3d.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/engine3d/dragmt3d.cxx b/svx/source/engine3d/dragmt3d.cxx index 533fec2227bd..616e9182e925 100644 --- a/svx/source/engine3d/dragmt3d.cxx +++ b/svx/source/engine3d/dragmt3d.cxx @@ -33,6 +33,7 @@ #include <svx/sdr/contact/viewcontactofe3dscene.hxx> #include <drawinglayer/geometry/viewinformation3d.hxx> #include <svx/e3dsceneupdater.hxx> +#include <vcl/ptrstyle.hxx> E3dDragMethod::E3dDragMethod ( @@ -437,9 +438,9 @@ void E3dDragRotate::MoveSdrDrag(const Point& rPnt) } } -Pointer E3dDragRotate::GetSdrDragPointer() const +PointerStyle E3dDragRotate::GetSdrDragPointer() const { - return Pointer(PointerStyle::Rotate); + return PointerStyle::Rotate; } // E3dDragMove. This drag method is only required for translations inside @@ -717,9 +718,9 @@ void E3dDragMove::MoveSdrDrag(const Point& rPnt) } } -Pointer E3dDragMove::GetSdrDragPointer() const +PointerStyle E3dDragMove::GetSdrDragPointer() const { - return Pointer(PointerStyle::Move); + return PointerStyle::Move; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |