summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-30 08:20:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-30 10:33:24 +0200
commitbe31d107f5aa5e03b78772aaf67d8685b20965d1 (patch)
tree6b7d2471552b16ec6979414cdecfd4b5d5ff06d5 /chart2/source/controller/inc
parente4c996d3627f95df693cb702451201c277f04b18 (diff)
chart2: std::auto_ptr -> std::unique_ptr
Change-Id: Ia92c18858c8ed7cfc2765cc2310f3bf7bfd7e8df
Diffstat (limited to 'chart2/source/controller/inc')
-rw-r--r--chart2/source/controller/inc/DrawViewWrapper.hxx2
-rw-r--r--chart2/source/controller/inc/ObjectHierarchy.hxx2
-rw-r--r--chart2/source/controller/inc/dlg_DataSource.hxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/inc/DrawViewWrapper.hxx b/chart2/source/controller/inc/DrawViewWrapper.hxx
index 3cc9e10c2ce5..ea1579464455 100644
--- a/chart2/source/controller/inc/DrawViewWrapper.hxx
+++ b/chart2/source/controller/inc/DrawViewWrapper.hxx
@@ -85,7 +85,7 @@ public:
private:
mutable MarkHandleProvider* m_pMarkHandleProvider;
- ::std::auto_ptr< SdrOutliner > m_apOutliner;
+ ::std::unique_ptr< SdrOutliner > m_apOutliner;
// #i79965# scroll back view when ending text edit
bool m_bRestoreMapMode;
diff --git a/chart2/source/controller/inc/ObjectHierarchy.hxx b/chart2/source/controller/inc/ObjectHierarchy.hxx
index f0c02c17f91b..67e4fcf8a485 100644
--- a/chart2/source/controller/inc/ObjectHierarchy.hxx
+++ b/chart2/source/controller/inc/ObjectHierarchy.hxx
@@ -74,7 +74,7 @@ public:
private:
- ::std::auto_ptr< impl::ImplObjectHierarchy > m_apImpl;
+ ::std::unique_ptr< impl::ImplObjectHierarchy > m_apImpl;
};
class ObjectKeyNavigation
diff --git a/chart2/source/controller/inc/dlg_DataSource.hxx b/chart2/source/controller/inc/dlg_DataSource.hxx
index 8f4dd54c84cc..8b3529b9d9e1 100644
--- a/chart2/source/controller/inc/dlg_DataSource.hxx
+++ b/chart2/source/controller/inc/dlg_DataSource.hxx
@@ -63,8 +63,8 @@ protected:
m_xChartDocument;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
m_xContext;
- ::std::auto_ptr< ChartTypeTemplateProvider > m_apDocTemplateProvider;
- ::std::auto_ptr< DialogModel > m_apDialogModel;
+ ::std::unique_ptr< ChartTypeTemplateProvider > m_apDocTemplateProvider;
+ ::std::unique_ptr< DialogModel > m_apDialogModel;
private:
DataSourceTabControl* m_pTabControl;