summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
index 4b2b9db6f141..bbbc87456a07 100644
--- a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
+++ b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
@@ -33,6 +33,14 @@ UnoInterfaceToUniqueIdentifierMapper::UnoInterfaceToUniqueIdentifierMapper()
{
}
+UnoInterfaceToUniqueIdentifierMapper::~UnoInterfaceToUniqueIdentifierMapper()
+{
+ SAL_WARN_IF( !maReserved.empty(), "xmloff",
+ "there are " << maReserved.size()
+ << " ids left. This means a data loss: some connection(s) to shape(s) are missing."
+ );
+}
+
/** returns a unique identifier for the given uno object. IF a uno object is
registered more than once, the returned identifier is always the same.
*/