diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-25 10:29:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-25 12:50:18 +0000 |
commit | 7c5f01fcd8659d2c94f7d92beb261cb225787b0e (patch) | |
tree | 83ba05d30910537607cdb10d727fdfb26dd41f6a /sc/source | |
parent | 095438e52ccff8eaf12af6b3e3eb5f8c00792416 (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/source')
-rw-r--r-- | sc/source/ui/pagedlg/tptable.cxx | 2 |
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" |