diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-11-23 16:56:24 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-11-23 16:56:24 +0100 |
commit | 118d72cbfd4e732b4b472260fe7cbc67fc9e68ee (patch) | |
tree | 6e905c9869cc4f9c0d9ccdccdce18ae2e35e91a3 /sw/source/filter/ww8/ww8par.cxx | |
parent | e40ba92862c73f0410e1f3a3914bb0c50e2ace49 (diff) | |
parent | 2eb40fcdb2f3e4e9768fa18ad662c11d52c44ad2 (diff) |
CWS-TOOLING: integrate CWS os145
Notes
Notes:
split repo tag: writer_ooo/OOO330_m17
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 24f36b047a4e..cd11631a0181 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -4919,7 +4919,14 @@ ULONG WW8Reader::Read(SwDoc &rDoc, const String& rBaseURL, SwPaM &rPam, const St } SwWW8ImplReader* pRdr = new SwWW8ImplReader(nVersion, pStg, pIn, rDoc, rBaseURL, bNew); - nRet = pRdr->LoadDoc( rPam ); + try + { + nRet = pRdr->LoadDoc( rPam ); + } + catch( const std::exception& ) + { + nRet = ERR_WW8_NO_WW8_FILE_ERR; + } delete pRdr; if( refStrm.Is() ) |