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

New commits:
commit be025c19f72d7ce0ac3410d17a09a94bd1eb72a1
Author: Norbert Thiebaud <nthieb...@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!" );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to