diff options
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index a0e22f3ca60a..ee80993645f1 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1621,8 +1621,10 @@ void ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, //! account for bAttrib during Undo !!! + SAL_WNODEPRECATED_DECLARATIONS_PUSH std::auto_ptr<ScDocument> pUndoDoc; std::auto_ptr<ScMarkData> pUndoMark; + SAL_WNODEPRECATED_DECLARATIONS_POP rtl::OUString aUndoStr; if (bAddUndo) { @@ -2663,10 +2665,12 @@ void ScViewFunc::MoveTable( // Move or copy within the same document. SCTAB nTabCount = pDoc->GetTableCount(); + SAL_WNODEPRECATED_DECLARATIONS_PUSH auto_ptr< vector<SCTAB> > pSrcTabs(new vector<SCTAB>); auto_ptr< vector<SCTAB> > pDestTabs(new vector<SCTAB>); auto_ptr< vector<OUString> > pTabNames(new vector<OUString>); auto_ptr< vector<OUString> > pDestNames(NULL); + SAL_WNODEPRECATED_DECLARATIONS_POP pSrcTabs->reserve(nTabCount); pDestTabs->reserve(nTabCount); pTabNames->reserve(nTabCount); |