From be025c19f72d7ce0ac3410d17a09a94bd1eb72a1 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 7 Jul 2013 16:37:22 -0500 Subject: [PATCH] OUString, missing conversion in a DBG case Change-Id: I0643a642681bf25fe57de5607e9d7ddbf98af831 --- svl/source/items/style.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 635480d42f93..72519f5cbd1a 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -765,7 +765,7 @@ void SfxStyleSheetBasePool::Insert( SfxStyleSheetBase* p ) SfxStyleSheetIterator aIter(this, p->GetFamily(), p->GetMask()); SfxStyleSheetBase* pOld = aIter.Find( p->GetName() ); OSL_ENSURE( !pOld, "svl::SfxStyleSheetBasePool::Insert(), StyleSheet already inserted" ); - if( p->GetParent().Len() ) + if( !p->GetParent().isEmpty() ) { pOld = aIter.Find( p->GetParent() ); OSL_ENSURE( pOld, "svl::SfxStyleSheetBasePool::Insert(), Parent not found!" );