summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/swstylemanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/swstylemanager.cxx')
-rw-r--r--sw/source/core/doc/swstylemanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/swstylemanager.cxx b/sw/source/core/doc/swstylemanager.cxx
index e3972476ac..b43291b58b 100644
--- a/sw/source/core/doc/swstylemanager.cxx
+++ b/sw/source/core/doc/swstylemanager.cxx
@@ -148,7 +148,7 @@ StylePool::SfxItemSet_Pointer_t SwStyleManager::getByName( const rtl::OUString&
{
// Ok, ok, it's allowed to ask for uncached styles (from UNO) but it should not be done
// during loading a document
- ASSERT( false, "Don't ask for uncached styles" );
+ OSL_ENSURE( false, "Don't ask for uncached styles" );
rpCache->addCompletePool( rAutoPool );
pStyle = rpCache->getByName( rName );
}