diff options
author | Oliver Specht <os@openoffice.org> | 2002-09-20 11:50:53 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-09-20 11:50:53 +0000 |
commit | 91e3e9e52b9cfdd609c9fea4b9c2a80dc03c63c5 (patch) | |
tree | 8553314d2afe09ff6e6cd10ecfe3752c19863218 | |
parent | 073e25bf3a26920c2f338da2a43952ee794743de (diff) |
#103532# assertion in GetTree() in debug code only
-rw-r--r-- | unotools/source/config/configitem.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 8ddd95c32b9b..bff9fae5cdc4 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: configitem.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: fs $ $Date: 2002-08-02 14:52:05 $ + * last change: $Author: os $ $Date: 2002-09-20 12:50:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1340,7 +1340,9 @@ Reference< XHierarchicalNameAccess> ConfigItem::GetTree() xRet = pImpl->pManager->AcquireTree(*this); else xRet = m_xHierarchyAccess; +#ifdef DEBUG OSL_ENSURE(xRet.is(), "AcquireTree failed"); +#endif return xRet; } /* -----------------------------22.06.01 08:42-------------------------------- |