summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-25 10:29:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-25 12:50:18 +0000
commit7c5f01fcd8659d2c94f7d92beb261cb225787b0e (patch)
tree83ba05d30910537607cdb10d727fdfb26dd41f6a /sc
parent095438e52ccff8eaf12af6b3e3eb5f8c00792416 (diff)
loplugin:redundantcast
Change-Id: I61676e74413942ff5bde9ae8d376269a651bf93a Reviewed-on: https://gerrit.libreoffice.org/35676 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/pagedlg/tptable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx
index fb1ad78ad644..5b3dbff4a43d 100644
--- a/sc/source/ui/pagedlg/tptable.cxx
+++ b/sc/source/ui/pagedlg/tptable.cxx
@@ -70,7 +70,7 @@ static bool lcl_PutBoolItem( sal_uInt16 nWhich,
#define WAS_DEFAULT(w,s) (SfxItemState::DEFAULT==(s).GetItemState((w)))
#define GET_BOOL(sid,set) static_cast<const SfxBoolItem&>((set).Get(GetWhich((sid)))).GetValue()
-#define GET_USHORT(sid,set) (sal_uInt16)static_cast<const SfxUInt16Item&>((set).Get(GetWhich((sid)))).GetValue()
+#define GET_USHORT(sid,set) static_cast<const SfxUInt16Item&>((set).Get(GetWhich((sid)))).GetValue()
#define GET_SHOW(sid,set) ( ScVObjMode( static_cast<const ScViewObjectModeItem&>((set).Get(GetWhich((sid)))).GetValue() ) \
== VOBJ_MODE_SHOW )
// List box entries "Scaling mode"