diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-04-13 21:17:34 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-04-19 20:36:12 +0200 |
commit | e198be5988cb150de99e9f2e52c64fdc72036042 (patch) | |
tree | abb79d0eddb805593b9b76d44ee439454b87d162 /shell/source/all | |
parent | b0b3e5fdf811fa5939366f378a22755fb80e51ab (diff) |
Removed dbgmacros.{ch}xx / use OSL_{ENSURE,POSTCOND} instead
Diffstat (limited to 'shell/source/all')
-rw-r--r-- | shell/source/all/ooofilereader/basereader.cxx | 4 | ||||
-rw-r--r-- | shell/source/all/ooofilereader/contentreader.cxx | 8 | ||||
-rw-r--r-- | shell/source/all/ooofilereader/metainforeader.cxx | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/shell/source/all/ooofilereader/basereader.cxx b/shell/source/all/ooofilereader/basereader.cxx index 2c0f8bdb3522..0ea625924d10 100644 --- a/shell/source/all/ooofilereader/basereader.cxx +++ b/shell/source/all/ooofilereader/basereader.cxx @@ -88,11 +88,11 @@ void CBaseReader::Initialize( const std::string& ContentName) #endif ) { - ENSURE( false, ex.what() ); + OSL_ENSURE( false, ex.what() ); } catch(...) { - ENSURE(false, "Unknown error"); + OSL_ENSURE(false, "Unknown error"); } } diff --git a/shell/source/all/ooofilereader/contentreader.cxx b/shell/source/all/ooofilereader/contentreader.cxx index 360d3dcfd3b6..d9525c5ec1a6 100644 --- a/shell/source/all/ooofilereader/contentreader.cxx +++ b/shell/source/all/ooofilereader/contentreader.cxx @@ -51,11 +51,11 @@ CBaseReader( DocumentName ) #endif ) { - ENSURE(false, ex.what()); + OSL_ENSURE(false, ex.what()); } catch(...) { - ENSURE(false, "Unknown error"); + OSL_ENSURE(false, "Unknown error"); } } @@ -73,11 +73,11 @@ try #endif ) { - ENSURE(false, ex.what()); + OSL_ENSURE(false, ex.what()); } catch(...) { - ENSURE(false, "Unknown error"); + OSL_ENSURE(false, "Unknown error"); } } diff --git a/shell/source/all/ooofilereader/metainforeader.cxx b/shell/source/all/ooofilereader/metainforeader.cxx index be6ad746569d..6df5145dd3cf 100644 --- a/shell/source/all/ooofilereader/metainforeader.cxx +++ b/shell/source/all/ooofilereader/metainforeader.cxx @@ -70,11 +70,11 @@ CBaseReader( DocumentName ) #endif ) { - ENSURE(false, ex.what()); + OSL_ENSURE(false, ex.what()); } catch(...) { - ENSURE(false, "Unknown error"); + OSL_ENSURE(false, "Unknown error"); } } @@ -111,11 +111,11 @@ try #endif ) { - ENSURE(false, ex.what()); + OSL_ENSURE(false, ex.what()); } catch(...) { - ENSURE(false, "Unknown error"); + OSL_ENSURE(false, "Unknown error"); } } |