diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 14:21:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 14:21:03 +0100 |
commit | 512dcc0e6e97d4af8e3e10fa22f44c7f34132024 (patch) | |
tree | 13e381fd7bd1f4325343426b5f3ec5df3ea6056c /sw | |
parent | 130c44b09ee23454d30e9c15f00c9e300808600c (diff) |
state *what* format is problematic in the OSL_FAIL
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/attr/format.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx index d15daee10f9a..4b7fb846deee 100644 --- a/sw/source/core/attr/format.cxx +++ b/sw/source/core/attr/format.cxx @@ -38,6 +38,7 @@ #include <paratr.hxx> // fuer SwParaFmt - SwHyphenBug #include <swcache.hxx> #include <fmtcolfunc.hxx> +#include <rtl/strbuf.hxx> TYPEINIT1( SwFmt, SwClient ); //rtti fuer SwFmt @@ -254,7 +255,9 @@ SwFmt::~SwFmt() SwFmt *pParentFmt = DerivedFrom(); if (!pParentFmt) { - OSL_FAIL( "~SwFmt: parent format missing" ); + OSL_FAIL(rtl::OStringBuffer( + RTL_CONSTASCII_STRINGPARAM("~SwFmt: parent format missing from: ")). + append(rtl::OUStringToOString(GetName(), osl_getThreadTextEncoding())).getStr()); } else { |