[Libreoffice-commits] core.git: svl/source

Norbert Thiebaud nthiebaud at gmail.com
Sun Jul 7 14:37:52 PDT 2013


 svl/source/items/style.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be025c19f72d7ce0ac3410d17a09a94bd1eb72a1
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Jul 7 16:37:22 2013 -0500

    OUString, missing conversion in a DBG case
    
    Change-Id: I0643a642681bf25fe57de5607e9d7ddbf98af831

diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 635480d..72519f5 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!" );


More information about the Libreoffice-commits mailing list