summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/sfxbasemodel.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:09:49 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:09:49 +0100
commit970be45287de1a046df1c546abb06ad5f6b9c084 (patch)
tree0a88a771e96b5e9d884e5b087adad9d320bdbe7b /sfx2/source/doc/sfxbasemodel.cxx
parente35cffb37a792b78f8dbcd85b329fa88097b1ea5 (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'sfx2/source/doc/sfxbasemodel.cxx')
-rwxr-xr-xsfx2/source/doc/sfxbasemodel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index c0641eeb369d..ccfa7409252a 100755
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -408,7 +408,7 @@ SfxOwnFramesLocker::SfxOwnFramesLocker( SfxObjectShell* pObjectShell )
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Not possible to lock the frame window!\n" );
+ OSL_FAIL( "Not possible to lock the frame window!\n" );
}
}
}
@@ -452,7 +452,7 @@ void SfxOwnFramesLocker::UnlockFrames()
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Can't unlock the frame window!\n" );
+ OSL_FAIL( "Can't unlock the frame window!\n" );
}
}
}
@@ -2579,7 +2579,7 @@ void SfxBaseModel::Notify( SfxBroadcaster& rBC ,
}
else
{
- OSL_ENSURE( sal_False, "Unexpected scenario!\n" );
+ OSL_FAIL( "Unexpected scenario!\n" );
}
}