summaryrefslogtreecommitdiff
path: root/sc/inc/olinetab.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-12 13:36:04 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-12 13:36:48 +0100
commite39602ae02d7cd99f95861febb3f53d07f97414c (patch)
treebd54aefe3039668163b2cf2074617d4927368729 /sc/inc/olinetab.hxx
parent02be9c83a489cea0a76c8655b540ff4323bfbb94 (diff)
sc: try to fix MSVC build
Guess we don't actually need the unique_ptr there. Change-Id: I9b041b084567be6d8d354558da4e6916fcf81639
Diffstat (limited to 'sc/inc/olinetab.hxx')
-rw-r--r--sc/inc/olinetab.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx
index a6038ff65453..ec0a83f38d42 100644
--- a/sc/inc/olinetab.hxx
+++ b/sc/inc/olinetab.hxx
@@ -23,7 +23,6 @@
#include "scdllapi.h"
#include "address.hxx"
-#include <memory>
#include <map>
#define SC_OL_MAXDEPTH 7
@@ -64,8 +63,8 @@ public:
class ScOutlineCollection
{
- typedef std::map<SCCOLROW, std::unique_ptr<ScOutlineEntry>> MapType;
- MapType maEntries;
+ typedef std::map<SCCOLROW, ScOutlineEntry> MapType;
+ MapType m_Entries;
public:
typedef MapType::iterator iterator;
@@ -75,7 +74,7 @@ public:
size_t size() const;
void clear();
- void insert(std::unique_ptr<ScOutlineEntry> pEntry);
+ void insert(ScOutlineEntry const& rEntry);
iterator begin();
iterator end();
const_iterator begin() const;