add a warning
Change-Id: I0baf90cfe8d3caa96f826695c1be4bc563864c00
This commit is contained in:
parent
4f4f450eaf
commit
2f2e4d88db
2 changed files with 9 additions and 0 deletions
|
@ -40,6 +40,7 @@ class XMLOFF_DLLPUBLIC UnoInterfaceToUniqueIdentifierMapper
|
|||
|
||||
public:
|
||||
UnoInterfaceToUniqueIdentifierMapper();
|
||||
~UnoInterfaceToUniqueIdentifierMapper();
|
||||
|
||||
/** 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.
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue