summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-13 20:54:42 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-13 21:22:08 +0000
commit98f759bec1024d1f4e28b8c1880e542b7832b8fc (patch)
treeef3c51f963e80e9b48bb06c5db4e82a9a18137b0 /include
parentbc1c92ef41e5f70eee7799d301b54985999482bb (diff)
sdext: replace boost::bind
MSVC 2013 with non-debug runtime requires an additional assignment operator in OUStringBufferAppender. Change-Id: Ic93fc8d6b1d4760f0eb89e34beb1fcb18e783f73 Reviewed-on: https://gerrit.libreoffice.org/24980 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/stl_types.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx
index acfc41976790..594d6889cf21 100644
--- a/include/comphelper/stl_types.hxx
+++ b/include/comphelper/stl_types.hxx
@@ -162,6 +162,10 @@ public:
OUStringBufferAppender(OUStringBuffer & i_rBuffer)
: m_rBuffer(i_rBuffer) { }
+ Self & operator=(Self const &)
+ { // MSVC 2013 with non-debug runtime requires this in xutility.hpp:289
+ return *this;
+ }
Self & operator=(OUString const & i_rStr)
{
m_rBuffer.append( i_rStr );