diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-31 23:49:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-31 23:49:35 +0100 |
commit | ef6add9a7e0bcba1fb039afb75d62e753fa37949 (patch) | |
tree | 2f4bcee1cbcb97e6015995b7edd0d9087289a54e /toolkit | |
parent | d4d26018402aaa75fcb6524f5c7d99fcd9c5be45 (diff) |
callcatcher: remove unused code
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrolbase.hxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolbase.cxx | 22 |
2 files changed, 0 insertions, 24 deletions
diff --git a/toolkit/inc/toolkit/controls/unocontrolbase.hxx b/toolkit/inc/toolkit/controls/unocontrolbase.hxx index aa2036935344..34779ccd20d9 100644 --- a/toolkit/inc/toolkit/controls/unocontrolbase.hxx +++ b/toolkit/inc/toolkit/controls/unocontrolbase.hxx @@ -56,9 +56,7 @@ protected: sal_Bool ImplGetPropertyValue_BOOL( sal_uInt16 nProp ); sal_Int16 ImplGetPropertyValue_INT16( sal_uInt16 nProp ); - sal_uInt16 ImplGetPropertyValue_UINT16( sal_uInt16 nProp ); sal_Int32 ImplGetPropertyValue_INT32( sal_uInt16 nProp ); - sal_uInt32 ImplGetPropertyValue_UINT32( sal_uInt16 nProp ); double ImplGetPropertyValue_DOUBLE( sal_uInt16 nProp ); ::rtl::OUString ImplGetPropertyValue_UString( sal_uInt16 nProp ); diff --git a/toolkit/source/controls/unocontrolbase.cxx b/toolkit/source/controls/unocontrolbase.cxx index c2622946009b..45f6613de0d5 100644 --- a/toolkit/source/controls/unocontrolbase.cxx +++ b/toolkit/source/controls/unocontrolbase.cxx @@ -153,17 +153,6 @@ sal_Int16 UnoControlBase::ImplGetPropertyValue_INT16( sal_uInt16 nProp ) return n; } -sal_uInt16 UnoControlBase::ImplGetPropertyValue_UINT16( sal_uInt16 nProp ) -{ - sal_uInt16 n = 0; - if ( mxModel.is() ) - { - ::com::sun::star::uno::Any aVal = ImplGetPropertyValue( GetPropertyName( nProp ) ); - aVal >>= n; - } - return n; -} - sal_Int32 UnoControlBase::ImplGetPropertyValue_INT32( sal_uInt16 nProp ) { sal_Int32 n = 0; @@ -175,17 +164,6 @@ sal_Int32 UnoControlBase::ImplGetPropertyValue_INT32( sal_uInt16 nProp ) return n; } -sal_uInt32 UnoControlBase::ImplGetPropertyValue_UINT32( sal_uInt16 nProp ) -{ - sal_uInt32 n = 0; - if ( mxModel.is() ) - { - ::com::sun::star::uno::Any aVal = ImplGetPropertyValue( GetPropertyName( nProp ) ); - aVal >>= n; - } - return n; -} - double UnoControlBase::ImplGetPropertyValue_DOUBLE( sal_uInt16 nProp ) { double n = 0; |