summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/propshlp.cxx1
-rw-r--r--include/cppuhelper/weak.hxx8
2 files changed, 2 insertions, 7 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index b8bb9cd737ba..9955750ea05e 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -453,7 +453,6 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons
// a good idea. The caller is responsible for not invoking this for constrained properties.
OSL_ENSURE( ( nAttributes & PropertyAttribute::CONSTRAINED ) == 0,
"OPropertySetHelper::setDependentFastPropertyValue: not to be used for constrained properties!" );
- (void)nAttributes;
// actually set the new value
try
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index 8c8126e47a54..44e026743d2a 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -106,17 +106,13 @@ public:
{}
#endif
/** Dummy copy constructor. Set the reference count to zero.
-
- @param rObj dummy param
*/
- OWeakObject( const OWeakObject & rObj )
+ OWeakObject( const OWeakObject & )
: css::uno::XWeak()
, m_refCount( 0 )
, m_pWeakConnectionPoint( NULL )
, m_pReserved(NULL)
- {
- (void) rObj;
- }
+ {}
/** Dummy assignment operator. Does not affect reference count.
@return this OWeakObject