diff options
author | Noel Power <noel.power@suse.com> | 2012-11-16 17:06:02 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-16 18:21:38 +0000 |
commit | 41c77ac5e814e8f0080468ca79fe7c2473402720 (patch) | |
tree | 262f587a0b1394850e390c6e6b68da764c613c8f /toolkit | |
parent | ec2e175384f89d183def1d53f33a6bb394278c87 (diff) |
targetted cleanup of misc. vba pieces.
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/dialogcontrol.cxx | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index aa69a69c7458..3c97f1d24c19 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -6611,10 +6611,6 @@ throw(::com::sun::star::uno::RuntimeException) { SolarMutexGuard aGuard; -#if OSL_DEBUG_LEVEL > 0 - sal_Bool bVoid = Value.getValueType().getTypeClass() == ::com::sun::star::uno::TypeClass_VOID; - (void)bVoid; -#endif VCLXContainer::setProperty( PropertyName, Value ); } diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 4989cd512d88..922ad4187b9d 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -637,13 +637,14 @@ UnoMultiPageControl::~UnoMultiPageControl() } // XTabListener -void SAL_CALL UnoMultiPageControl::inserted( ::sal_Int32 /*ID*/ ) throw (RuntimeException) +void SAL_CALL UnoMultiPageControl::inserted( SAL_UNUSED_PARAMETER ::sal_Int32 ) throw (RuntimeException) { } -void SAL_CALL UnoMultiPageControl::removed( ::sal_Int32 /*ID*/ ) throw (RuntimeException) +void SAL_CALL UnoMultiPageControl::removed( SAL_UNUSED_PARAMETER ::sal_Int32 ) throw (RuntimeException) { } -void SAL_CALL UnoMultiPageControl::changed( ::sal_Int32 /*ID*/, const Sequence< NamedValue >& /*Properties*/ ) throw (RuntimeException) +void SAL_CALL UnoMultiPageControl::changed( SAL_UNUSED_PARAMETER ::sal_Int32 ID, + SAL_UNUSED_PARAMETER const Sequence< NamedValue >& ) throw (RuntimeException) { } void SAL_CALL UnoMultiPageControl::activated( ::sal_Int32 ID ) throw (RuntimeException) @@ -651,7 +652,7 @@ void SAL_CALL UnoMultiPageControl::activated( ::sal_Int32 ID ) throw (RuntimeExc ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_MULTIPAGEVALUE ), uno::makeAny( ID ), sal_False ); } -void SAL_CALL UnoMultiPageControl::deactivated( ::sal_Int32 /*ID*/ ) throw (RuntimeException) +void SAL_CALL UnoMultiPageControl::deactivated( SAL_UNUSED_PARAMETER ::sal_Int32 ) throw (RuntimeException) { } void SAL_CALL UnoMultiPageControl::disposing(const EventObject&) throw (RuntimeException) |