diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2011-05-08 22:14:45 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-05-09 15:06:56 +0200 |
commit | 4cf350c27fbe9c84ec38daeffe2b57ebc515f8c2 (patch) | |
tree | de43a2b56eeb5717374c41844f90320502aaa76d /sw/source/filter/rtf/swparrtf.cxx | |
parent | ce0a87b004a37e9a2f2da41d6e811e9bdba82eda (diff) |
REPLACE DBG_stuff with OSL_ASSERT and OSL_FAIL
Diffstat (limited to 'sw/source/filter/rtf/swparrtf.cxx')
-rw-r--r-- | sw/source/filter/rtf/swparrtf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index babdb658755e..bb44aa0a9226 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -153,7 +153,7 @@ sal_uLong RtfReader::Read( SwDoc &rDoc, const String& rBaseURL, SwPaM &rPam, con sal_uLong nRet = 0; SwDocShell *pDocShell(rDoc.GetDocShell()); - DBG_ASSERT(pDocShell, "no SwDocShell"); + OSL_ENSURE(pDocShell, "no SwDocShell"); uno::Reference<document::XDocumentProperties> xDocProps; if (pDocShell) { uno::Reference<document::XDocumentPropertiesSupplier> xDPS( |