sc/source/ui/pagedlg/tptable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c5f01fcd8659d2c94f7d92beb261cb225787b0e
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Sat Mar 25 10:29:33 2017 +0100

    loplugin:redundantcast
    
    Change-Id: I61676e74413942ff5bde9ae8d376269a651bf93a
    Reviewed-on: https://gerrit.libreoffice.org/35676
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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"
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to