diff --git a/include/cppuhelper/access_control.hxx b/include/cppuhelper/access_control.hxx index d0c382cdf179..24e619301629 100644 --- a/include/cppuhelper/access_control.hxx +++ b/include/cppuhelper/access_control.hxx @@ -57,6 +57,10 @@ public: */ AccessControl( ::cppu::AccessControl const & ac ); +#if defined LIBO_INTERNAL_ONLY + AccessControl & operator =(AccessControl const &) = default; // avoid deprecation warnings +#endif + /** Clears the access controller reference being used. */ void SAL_CALL clear()