diff options
author | David Tardon <dtardon@redhat.com> | 2013-05-03 15:19:25 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-05-03 15:19:33 +0200 |
commit | 2f2e4d88db426e3b09c8f4cf6bb8dd6bc5f349e4 (patch) | |
tree | 681014f7350b07dba58121d0aace67d1722c7ca4 /xmloff/source | |
parent | 4f4f450eaf9dad85d28fcd58b01c0f51ff0bd5ef (diff) |
add a warning
Change-Id: I0baf90cfe8d3caa96f826695c1be4bc563864c00
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx | 8 |
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. */ |