summaryrefslogtreecommitdiff
path: root/include/svx/AccessibleTextHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/AccessibleTextHelper.hxx')
-rw-r--r--include/svx/AccessibleTextHelper.hxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/svx/AccessibleTextHelper.hxx b/include/svx/AccessibleTextHelper.hxx
index d369c0d18b20..8d13e9d6236d 100644
--- a/include/svx/AccessibleTextHelper.hxx
+++ b/include/svx/AccessibleTextHelper.hxx
@@ -124,9 +124,8 @@ namespace accessibility
model) contained in the given SvxEditSource.
*/
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- explicit AccessibleTextHelper( ::std::auto_ptr< SvxEditSource > pEditSource );
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ explicit AccessibleTextHelper( ::std::unique_ptr< SvxEditSource > && pEditSource );
+
virtual ~AccessibleTextHelper();
protected:
@@ -180,16 +179,14 @@ namespace accessibility
This class does not have a dispose method, since it is not
a UNO component. Nevertheless, it holds C++ references to
several core objects, so you should issue a
- SetEditSource(::std::auto_ptr<SvxEditSource>(NULL)) in
+ SetEditSource(::std::unique_ptr<SvxEditSource>()) in
your dispose() method.
@param pEditSource
The new edit source to set. Object ownership is transferred
from the caller to the callee.
*/
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- virtual void SetEditSource( ::std::auto_ptr< SvxEditSource > pEditSource );
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ virtual void SetEditSource( ::std::unique_ptr< SvxEditSource > && pEditSource );
/** Set the event source