diff options
Diffstat (limited to 'svx/source/svdraw/svdmodel.cxx')
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index d487bfd25832..72afa042efae 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -249,13 +249,8 @@ SdrModel::~SdrModel() ClearUndoBuffer(); #ifdef DBG_UTIL - if(pAktUndoGroup) - { - OStringBuffer aStr("In the Dtor of the SdrModel there is an open Undo left: \""); - aStr.append(OUStringToOString(pAktUndoGroup->GetComment(), osl_getThreadTextEncoding())) - .append('\"'); - OSL_FAIL(aStr.getStr()); - } + SAL_WARN_IF(pAktUndoGroup, "svx", "In the Dtor of the SdrModel there is an open Undo left: \"" + << pAktUndoGroup->GetComment() << '\"'); #endif delete pAktUndoGroup; |