summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-11 09:01:49 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-11 09:01:49 +0200
commitd3f063cc86b50ac9adf08eb46dd2caf7975ed43c (patch)
tree4717fa3b28d0c83971469e1795195a3e07f7eab4 /sc/inc
parent64cd0d66ef91668fae759361992380e0c7d8d73b (diff)
abstract type in ptr_container needs this workaround
Change-Id: I00be4d0963c9cebc50aff3eb44cb208b6eb8c88c
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/conditio.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 1b241cfd21d6..c68875f5d3f0 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -354,6 +354,13 @@ public:
void erase(sal_uLong nIndex);
};
+// see http://www.boost.org/doc/libs/1_49_0/libs/ptr_container/doc/tutorial.html#cloneability
+//for MSVC we need:
+inline ScFormatEntry* new_clone( const ScFormatEntry& rFormat )
+{
+ return rFormat.Clone();
+}
+
#endif