Kaydet (Commit) d30f4e36 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:casttovoid: cppuhelper

Change-Id: I70a8f00b5ec9d100185d2865bcf54ce96c93adc3
üst bee3461c
...@@ -453,7 +453,6 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons ...@@ -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. // a good idea. The caller is responsible for not invoking this for constrained properties.
OSL_ENSURE( ( nAttributes & PropertyAttribute::CONSTRAINED ) == 0, OSL_ENSURE( ( nAttributes & PropertyAttribute::CONSTRAINED ) == 0,
"OPropertySetHelper::setDependentFastPropertyValue: not to be used for constrained properties!" ); "OPropertySetHelper::setDependentFastPropertyValue: not to be used for constrained properties!" );
(void)nAttributes;
// actually set the new value // actually set the new value
try try
......
...@@ -106,17 +106,13 @@ public: ...@@ -106,17 +106,13 @@ public:
{} {}
#endif #endif
/** Dummy copy constructor. Set the reference count to zero. /** Dummy copy constructor. Set the reference count to zero.
@param rObj dummy param
*/ */
OWeakObject( const OWeakObject & rObj ) OWeakObject( const OWeakObject & )
: css::uno::XWeak() : css::uno::XWeak()
, m_refCount( 0 ) , m_refCount( 0 )
, m_pWeakConnectionPoint( NULL ) , m_pWeakConnectionPoint( NULL )
, m_pReserved(NULL) , m_pReserved(NULL)
{ {}
(void) rObj;
}
/** Dummy assignment operator. Does not affect reference count. /** Dummy assignment operator. Does not affect reference count.
@return this OWeakObject @return this OWeakObject
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment