diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2011-05-24 01:39:42 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2011-05-24 01:39:42 +0200 |
commit | 42f7df050243d48e10e45e059ccf8e663a8ce0bd (patch) | |
tree | bd7f1bafced9274394106e74e46a1e47df98737e /sw | |
parent | a093a28ffe7cae74fb731e84dd3de09102763303 (diff) |
Post-merge fix
Diffstat (limited to 'sw')
-rwxr-xr-x | sw/source/core/docnode/ndnotxt.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx index fd91c57f07a6..37a997f00172 100755 --- a/sw/source/core/docnode/ndnotxt.cxx +++ b/sw/source/core/docnode/ndnotxt.cxx @@ -158,8 +158,8 @@ const PolyPolygon *SwNoTxtNode::HasContour() const } } } - OSL_ASSERT( !bPixelGrf || aGrfMap == aContourMap, - "scale factor for pixel unsupported" ); + OSL_ENSURE( !bPixelGrf || aGrfMap == aContourMap, + "scale factor for pixel unsupported" ); OutputDevice* pOutDev = (bPixelGrf || bPixelContour) ? Application::GetDefaultDevice() : 0; diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index e48b43e749e5..10a5057f58fa 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -474,8 +474,7 @@ namespace if ( pMetaFile && pMetaFile->IsRecord() && !pMetaFile->IsPause() ) { - ASSERT( false, - "MapMode restoration during meta file creation is somehow suspect - using <SetRelativeMapMode(..)>, but not sure, if correct." ) + OSL_FAIL( "MapMode restoration during meta file creation is somehow suspect - using <SetRelativeMapMode(..)>, but not sure, if correct." ); mpOutDev->SetRelativeMapMode( pViewShell->getPrePostMapMode() ); } else |