[Libreoffice-commits] .: binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Fri Oct 21 05:30:47 PDT 2011


 binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 86db50edeee1d556f993589da73140582789ef42
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 21 13:29:59 2011 +0100

    Fix regression on rsc/doku examples
    
    Mirror the xmloff code into binfilter, appears to be the original
    intention post-95cc316cb6e0c6bee57b78eba15c9e7b26ffe595

diff --git a/binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx b/binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx
index 16fad68..dd1c851 100644
--- a/binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx
+++ b/binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx
@@ -36,9 +36,11 @@ using ::com::sun::star::beans::XPropertySet;
 using ::com::sun::star::beans::XPropertySetInfo;
 
 sal_Bool SinglePropertySetInfoCache::hasProperty(
-        const Reference< XPropertySet >& /*rPropSet*/,
+        const Reference< XPropertySet >& rPropSet,
         Reference< XPropertySetInfo >& rPropSetInfo )
 {
+    if( !rPropSetInfo.is() )
+        rPropSetInfo = rPropSet->getPropertySetInfo();
     iterator aIter = find( rPropSetInfo );
     if( aIter != end() )
     {


More information about the Libreoffice-commits mailing list