summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-24 14:54:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-24 14:54:51 +0200
commit9703cc63cea3c47d13afe5f9b0eb22c631000958 (patch)
tree65456e93a12de0f7f7303f7de7f72f683142b5e0 /sc
parentb39a778b5efa73936893a91b3223bb350bae1fb2 (diff)
Remove o3tl/heap_ptr.hxx, use std::unique_ptr instead
Change-Id: Iac70c9be13892a36bfb5975f62e5345b88d4f144
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/pch/precompiled_scfilt.hxx1
-rw-r--r--sc/source/filter/oox/revisionfragment.cxx7
2 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/pch/precompiled_scfilt.hxx b/sc/inc/pch/precompiled_scfilt.hxx
index cb2efd79dfe8..40a09ab18ebe 100644
--- a/sc/inc/pch/precompiled_scfilt.hxx
+++ b/sc/inc/pch/precompiled_scfilt.hxx
@@ -354,7 +354,6 @@
#include <map>
#include <math.h>
#include <memory>
-#include <o3tl/heap_ptr.hxx>
#include <officecfg/Office/Calc.hxx>
#include <officecfg/Setup.hxx>
#include <officecfg/System.hxx>
diff --git a/sc/source/filter/oox/revisionfragment.cxx b/sc/source/filter/oox/revisionfragment.cxx
index c8c1f1481e4c..cab30a371f03 100644
--- a/sc/source/filter/oox/revisionfragment.cxx
+++ b/sc/source/filter/oox/revisionfragment.cxx
@@ -7,11 +7,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <sal/config.h>
+
+#include <memory>
+
#include <revisionfragment.hxx>
#include <oox/core/relations.hxx>
#include <oox/core/xmlfilterbase.hxx>
#include <oox/core/fastparser.hxx>
-#include <o3tl/heap_ptr.hxx>
#include <svl/sharedstringpool.hxx>
#include <sax/tools/converter.hxx>
#include <editeng/editobj.hxx>
@@ -248,7 +251,7 @@ void RevisionHeadersFragment::onEndElement()
void RevisionHeadersFragment::finalizeImport()
{
ScDocument& rDoc = getScDocument();
- o3tl::heap_ptr<ScChangeTrack> pCT(new ScChangeTrack(&rDoc));
+ std::unique_ptr<ScChangeTrack> pCT(new ScChangeTrack(&rDoc));
OUString aSelfUser = pCT->GetUser(); // owner of this document.
pCT->SetUseFixDateTime(true);