summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
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 'toolkit')
-rw-r--r--toolkit/source/awt/vclxpointer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxpointer.cxx b/toolkit/source/awt/vclxpointer.cxx
index 19cc2735f963..41c98b967217 100644
--- a/toolkit/source/awt/vclxpointer.cxx
+++ b/toolkit/source/awt/vclxpointer.cxx
@@ -37,14 +37,14 @@ void VCLXPointer::setType( sal_Int32 nType )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
- maPointer = Pointer( static_cast<PointerStyle>(nType) );
+ maPointer = static_cast<PointerStyle>(nType);
}
sal_Int32 VCLXPointer::getType()
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
- return static_cast<sal_Int32>(maPointer.GetStyle());
+ return static_cast<sal_Int32>(maPointer);
}
OUString VCLXPointer::getImplementationName()