diff options
| author | Caolán McNamara <caolanm@redhat.com> | 2011-10-21 13:29:59 +0100 |
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-21 13:29:59 +0100 |
| commit | 86db50edeee1d556f993589da73140582789ef42 (patch) | |
| tree | e4c5b2a723126bb844066c754e7dc1c0a18e1932 | |
| parent | 947bf6033e0ffa4cef319fea47e3f2fcf4d4e68e (diff) | |
Fix regression on rsc/doku examples
Mirror the xmloff code into binfilter, appears to be the original
intention post-95cc316cb6e0c6bee57b78eba15c9e7b26ffe595
| -rw-r--r-- | binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx b/binfilter/bf_xmloff/source/style/xmloff_SinglePropertySetInfoCache.cxx index 16fad688d..dd1c8516a 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() ) { |
