From d3ca36915e20cf4a0ee724c6ba084fe9653757c2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 2 Oct 2013 16:43:02 +0200 Subject: More SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around std::auto_ptr ...as needed by Clang trunk towards 3.4. Change-Id: Ibbfe9cb0ec03e0aed939d769feee9e046af4741f --- starmath/source/accessibility.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'starmath') 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(NULL) ); + SAL_WNODEPRECATED_DECLARATIONS_POP //! make TextHelper release references //! (e.g. the one set by the 'SetEventSource' call) pTextHelper->Dispose(); -- cgit v1.2.3