diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-02 22:49:52 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-05 19:25:11 -0500 |
commit | 73544acaee60655edf90be72a0c05cd7187c051b (patch) | |
tree | 84172ac21b72814c6495220538fa02b6d4e92dfc | |
parent | a39ed5f75577af80fc77650f1185b326e07b2059 (diff) |
std::auto_ptr is deprecated. Let's use boost::scoped_ptr.
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index 2dc8b36949bc..e77f7e0d9e56 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -59,6 +59,8 @@ #include <list> #include <rtl/math.hxx> +#include <boost/scoped_ptr.hpp> + SC_SIMPLE_SERVICE_INFO( ScChart2DataProvider, "ScChart2DataProvider", "com.sun.star.chart2.data.DataProvider") SC_SIMPLE_SERVICE_INFO( ScChart2DataSource, "ScChart2DataSource", @@ -492,9 +494,7 @@ private: private: const vector<ScTokenRef>& mrRefTokens; - SAL_WNODEPRECATED_DECLARATIONS_PUSH - auto_ptr<Chart2PositionMap> mpPositionMap; - SAL_WNODEPRECATED_DECLARATIONS_POP + boost::scoped_ptr<Chart2PositionMap> mpPositionMap; GlueType meGlue; SCCOL mnStartCol; SCROW mnStartRow; |