diff options
Diffstat (limited to 'shell/source/win32/ooofilereader')
-rw-r--r-- | shell/source/win32/ooofilereader/basereader.cxx | 9 | ||||
-rw-r--r-- | shell/source/win32/ooofilereader/contentreader.cxx | 13 | ||||
-rw-r--r-- | shell/source/win32/ooofilereader/metainforeader.cxx | 13 |
3 files changed, 10 insertions, 25 deletions
diff --git a/shell/source/win32/ooofilereader/basereader.cxx b/shell/source/win32/ooofilereader/basereader.cxx index 503aed093539..f4568aade05a 100644 --- a/shell/source/win32/ooofilereader/basereader.cxx +++ b/shell/source/win32/ooofilereader/basereader.cxx @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#undef OSL_DEBUG_LEVEL - - -#include <osl/diagnose.h> - #include "internal/basereader.hxx" #include "internal/xml_parser.hxx" @@ -81,11 +76,11 @@ void CBaseReader::Initialize( const std::string& ContentName) } catch(std::exception& ex) { - OSL_ENSURE( false, ex.what() ); + // OSL_ENSURE( false, ex.what() ); } catch(...) { - OSL_ENSURE(false, "Unknown error"); + // OSL_ENSURE(false, "Unknown error"); } } diff --git a/shell/source/win32/ooofilereader/contentreader.cxx b/shell/source/win32/ooofilereader/contentreader.cxx index 0b9ef848624a..8157abb92e57 100644 --- a/shell/source/win32/ooofilereader/contentreader.cxx +++ b/shell/source/win32/ooofilereader/contentreader.cxx @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#undef OSL_DEBUG_LEVEL - - -#include <osl/diagnose.h> - #include "internal/contentreader.hxx" #include "dummytag.hxx" #include "simpletag.hxx" @@ -41,11 +36,11 @@ CBaseReader( DocumentName ) } catch(xml_parser_exception& ex) { - OSL_ENSURE(false, ex.what()); + // OSL_ENSURE(false, ex.what()); } catch(...) { - OSL_ENSURE(false, "Unknown error"); + // OSL_ENSURE(false, "Unknown error"); } } @@ -59,11 +54,11 @@ try } catch(xml_parser_exception& ex) { - OSL_ENSURE(false, ex.what()); + // OSL_ENSURE(false, ex.what()); } catch(...) { - OSL_ENSURE(false, "Unknown error"); + // OSL_ENSURE(false, "Unknown error"); } } diff --git a/shell/source/win32/ooofilereader/metainforeader.cxx b/shell/source/win32/ooofilereader/metainforeader.cxx index 442c12ad553e..d9c08c77aa7d 100644 --- a/shell/source/win32/ooofilereader/metainforeader.cxx +++ b/shell/source/win32/ooofilereader/metainforeader.cxx @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#undef OSL_DEBUG_LEVEL - - -#include <osl/diagnose.h> - #include "internal/metainforeader.hxx" #include "dummytag.hxx" #include "simpletag.hxx" @@ -60,11 +55,11 @@ CBaseReader( DocumentName ) } catch(xml_parser_exception& ex) { - OSL_ENSURE(false, ex.what()); + // OSL_ENSURE(false, ex.what()); } catch(...) { - OSL_ENSURE(false, "Unknown error"); + // OSL_ENSURE(false, "Unknown error"); } } @@ -97,11 +92,11 @@ try } catch(xml_parser_exception& ex) { - OSL_ENSURE(false, ex.what()); + // OSL_ENSURE(false, ex.what()); } catch(...) { - OSL_ENSURE(false, "Unknown error"); + // OSL_ENSURE(false, "Unknown error"); } } |