summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-17 16:32:04 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-22 14:02:02 -0500
commit94d5262ed88d40d7f1793e0d82534ecdc541b944 (patch)
treeb2df0836de26ff2184e2340110565c0f5ed059a6 /sc/inc
parent8550b9331d28b5691f21d6d2bed7a784d199f81c (diff)
auto_ptr to boost::scoped_ptr.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpsave.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx
index 89f34a2298c6..987f232d491b 100644
--- a/sc/inc/dpsave.hxx
+++ b/sc/inc/dpsave.hxx
@@ -61,9 +61,7 @@ class ScDPSaveMember
{
private:
::rtl::OUString aName;
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- ::std::auto_ptr<rtl::OUString> mpLayoutName; // custom name to be displayed in the table.
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ boost::scoped_ptr<rtl::OUString> mpLayoutName; // custom name to be displayed in the table.
sal_uInt16 nVisibleMode;
sal_uInt16 nShowDetailsMode;
@@ -107,10 +105,8 @@ class SC_DLLPUBLIC ScDPSaveDimension
private:
::rtl::OUString aName;
::rtl::OUString* pSelectedPage;
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- ::std::auto_ptr<rtl::OUString> mpLayoutName;
- ::std::auto_ptr<rtl::OUString> mpSubtotalName;
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ boost::scoped_ptr<rtl::OUString> mpLayoutName;
+ boost::scoped_ptr<rtl::OUString> mpSubtotalName;
bool bIsDataLayout;
bool bDupFlag;
sal_uInt16 nOrientation;