diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-07-15 15:41:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-07-15 16:32:31 +0200 |
commit | 9bb70e18070e40228be5c55ba9720fff72eec54c (patch) | |
tree | c7094ad2e632a203f3e6953dc54a30afb2304744 /include/tools | |
parent | 8bae207d8f74bfbbe00b94e7daea000ee35729c4 (diff) |
Revert "remove unused SvRefBase constructor"
This reverts commit 09a90c2ff5d39c3ae61b4041c3b39d3da0c640c1.
Apparently causes a crash in CppunitTest_sc_macros_test; it is
suspicious that the copy ctor is not made private in this commit, since
the compiler generated one would do something different.
Change-Id: Icb1121332d83e9f08d89535e3da6e10d690ac88a
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/ref.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx index 6a8a01d237f3..1cd1474deeea 100644 --- a/include/tools/ref.hxx +++ b/include/tools/ref.hxx @@ -157,6 +157,9 @@ public: SvRefBase() { nRefCount = SV_NO_DELETE_REFCOUNT; } + SvRefBase( const SvRefBase & /* rObj */ ) + { nRefCount = SV_NO_DELETE_REFCOUNT; } + SvRefBase & operator = ( const SvRefBase & ) { return *this; } |