summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-27 21:08:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-28 16:51:51 +0200
commitff41cf1b8dbeb36b8824257acb5c5ba272415108 (patch)
treef10fd5ac3dac8b21ab0540a2fc66ee3ebaf16a7e /sc
parent9c9e5b5ee7f1144c20624ac9471354a218638175 (diff)
loplugin:oncevar
Change-Id: I3c014f53607a849c743a2fd1aa47d03d5af978fb Reviewed-on: https://gerrit.libreoffice.org/76495 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaapplication.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index 002e09282485..d6e0162c0aef 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -709,8 +709,7 @@ ScVbaApplication::setCursor( sal_Int32 _cursor )
{
case excel::XlMousePointer::xlNorthwestArrow:
{
- PointerStyle nPointer( PointerStyle::Arrow );
- setCursorHelper( xModel, nPointer, false );
+ setCursorHelper( xModel, PointerStyle::Arrow, false );
break;
}
case excel::XlMousePointer::xlWait: