summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-02 16:43:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 16:49:49 +0200
commitd3ca36915e20cf4a0ee724c6ba084fe9653757c2 (patch)
treeab88dd36ee3f5583485759e45cd5f6f1edc4f7a7 /starmath
parent075d472a9d120431f0b8731e4dcfe3e8b4ded521 (diff)
More SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around std::auto_ptr
...as needed by Clang trunk towards 3.4. Change-Id: Ibbfe9cb0ec03e0aed939d769feee9e046af4741f
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/accessibility.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index c0c92131e9ac..b192ac0c1582 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -1672,7 +1672,9 @@ void SmEditAccessible::ClearWin()
pWin = 0; // implicitly results in AccessibleStateType::DEFUNC set
//! make TextHelper implicitly release C++ references to some core objects
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
pTextHelper->SetEditSource( ::std::auto_ptr<SvxEditSource>(NULL) );
+ SAL_WNODEPRECATED_DECLARATIONS_POP
//! make TextHelper release references
//! (e.g. the one set by the 'SetEventSource' call)
pTextHelper->Dispose();