diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 16:43:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 16:49:49 +0200 |
commit | d3ca36915e20cf4a0ee724c6ba084fe9653757c2 (patch) | |
tree | ab88dd36ee3f5583485759e45cd5f6f1edc4f7a7 /sc | |
parent | 075d472a9d120431f0b8731e4dcfe3e8b4ded521 (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 'sc')
-rw-r--r-- | sc/source/ui/unoobj/servuno.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx index 2e9b3431f4f4..271cb7ee560e 100644 --- a/sc/source/ui/unoobj/servuno.cxx +++ b/sc/source/ui/unoobj/servuno.cxx @@ -604,7 +604,9 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance( ScAddress aAddress; ScCompiler* pComp = new ScCompiler(pDoc,aAddress); pComp->SetGrammar( pDoc->GetGrammar() ); + SAL_WNODEPRECATED_DECLARATIONS_PUSH xRet.set(static_cast<sheet::XFormulaOpCodeMapper*>(new ScFormulaOpCodeMapperObj(::std::auto_ptr<formula::FormulaCompiler> (pComp)))); + SAL_WNODEPRECATED_DECLARATIONS_POP break; } #ifndef DISABLE_SCRIPTING |