summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/salhelper/singletonref.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/salhelper/singletonref.hxx b/include/salhelper/singletonref.hxx
index 45f685835d54..9d9747ee70ae 100644
--- a/include/salhelper/singletonref.hxx
+++ b/include/salhelper/singletonref.hxx
@@ -131,6 +131,9 @@ class SingletonRef
// <- GLOBAL SAFE
}
+#if defined LIBO_INTERNAL_ONLY
+ SingletonRef & operator =(SingletonRef const &) = default;
+#endif
/** @short Allows rSingle->someBodyOp().
*/
@@ -157,7 +160,7 @@ class SingletonRef
// helper
private:
-
+ SingletonRef(SingletonRef &) SAL_DELETED_FUNCTION;
/** @short creates an own mutex for guarding static contents.