diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-11-25 18:50:04 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-11-25 18:50:04 +0100 |
commit | 1a6bf8c433b128606af043a01a1366eab00b3d68 (patch) | |
tree | 446ad553d122fad153e3a28a52770dd7bd671e82 /sw/source/filter/ascii | |
parent | 2b20a3ef7a0b2ff030945d679b897c2062d7e0ff (diff) | |
parent | c16ba8a04fd4599e439e7e039705e41691c43acb (diff) |
Merge remote branch 'origin/libreoffice-3-3'
Conflicts:
sw/inc/SwNumberTree.hxx
sw/inc/calbck.hxx
sw/inc/tox.hxx
sw/inc/viscrs.hxx
sw/source/core/doc/docnum.cxx
sw/source/core/docnode/finalthreadmanager.cxx
sw/source/core/docnode/ndnum.cxx
sw/source/core/docnode/ndtbl.cxx
sw/source/core/draw/dcontact.cxx
sw/source/core/edit/edlingu.cxx
sw/source/core/edit/ednumber.cxx
sw/source/core/except/errhdl.cxx
sw/source/core/fields/chpfld.cxx
sw/source/core/fields/fldbas.cxx
sw/source/core/frmedt/fetab.cxx
sw/source/core/layout/flycnt.cxx
sw/source/core/layout/makefile.mk
sw/source/core/layout/pagechg.cxx
sw/source/core/layout/tabfrm.cxx
sw/source/core/ole/ndole.cxx
sw/source/core/text/makefile.mk
sw/source/core/txtnode/txtedt.cxx
sw/source/filter/basflt/fltini.cxx
sw/source/filter/html/swhtml.cxx
sw/source/filter/ww1/fltshell.cxx
sw/source/filter/ww1/w1sprm.cxx
sw/source/filter/ww8/wrtw8nds.cxx
sw/source/filter/ww8/wrtw8num.cxx
sw/source/filter/ww8/ww8par3.cxx
sw/source/filter/ww8/ww8par5.cxx
sw/source/filter/ww8/ww8par6.cxx
sw/source/filter/xml/xmltble.cxx
sw/source/filter/xml/xmltbli.cxx
sw/source/ui/dbui/dbinsdlg.cxx
sw/source/ui/dbui/mmoutputpage.cxx
sw/source/ui/dialog/swdlgfact.cxx
sw/source/ui/docvw/edtwin.cxx
sw/source/ui/docvw/srcedtw.cxx
Diffstat (limited to 'sw/source/filter/ascii')
-rw-r--r-- | sw/source/filter/ascii/parasc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx index d08038589580..4e62d79fe417 100644 --- a/sw/source/filter/ascii/parasc.cxx +++ b/sw/source/filter/ascii/parasc.cxx @@ -82,7 +82,7 @@ ULONG AsciiReader::Read( SwDoc &rDoc, const String&, SwPaM &rPam, const String & { if( !pStrm ) { - ASSERT( !this, "ASCII-Read ohne Stream" ); + OSL_ENSURE( !this, "ASCII-Read ohne Stream" ); return ERR_SWG_READ_ERROR; } @@ -254,7 +254,7 @@ ULONG SwASCIIParser::CallParser() pInsPam->GetCntntNode(), nSttCntnt ); // !!!!! - ASSERT( !this, "Have to change - hard attr. to para. style" ); + OSL_ENSURE( !this, "Have to change - hard attr. to para. style" ); pDoc->InsertItemSet( *pInsPam, *pItemSet, 0 ); } } @@ -287,7 +287,7 @@ ULONG SwASCIIParser::ReadChars() nOrig = nLen = rInput.Read(pArr, ASC_BUFFLEN); CharSet eCharSet; bool bRet = SwIoSystem::IsDetectableText(pArr, nLen, &eCharSet, &bSwapUnicode); - ASSERT(bRet, "Autodetect of text import without nag dialog must " + OSL_ENSURE(bRet, "Autodetect of text import without nag dialog must " "have failed"); if (bRet && eCharSet != RTL_TEXTENCODING_DONTKNOW) { @@ -307,7 +307,7 @@ ULONG SwASCIIParser::ReadChars() if( currentCharSet == RTL_TEXTENCODING_DONTKNOW ) currentCharSet = RTL_TEXTENCODING_ASCII_US; hConverter = rtl_createTextToUnicodeConverter( currentCharSet ); - ASSERT( hConverter, "no string convert avaiable" ); + OSL_ENSURE( hConverter, "no string convert avaiable" ); if (!hConverter) return ERROR_SW_READ_BASE; bSwapUnicode = false; |