add libreoffice-fdo32561.comphelper.patch

f41
Caolán McNamara 14 years ago
parent 3769a47fc9
commit 922774712c

@ -0,0 +1,31 @@
diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx
index 950ef90..a93318f 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -485,8 +485,6 @@ namespace comphelper
try
{
- ::cppu::IPropertyArrayHelper& rPropInfo = getInfoHelper();
-
// check for unknown properties
// we cannot simply rely on the XMultiPropertySet::setPropertyValues
// implementation of our base class, since it does not throw
@@ -503,6 +501,7 @@ namespace comphelper
++pName, ++pHandle, ++pProperty
)
{
+ ::cppu::IPropertyArrayHelper& rPropInfo = getInfoHelper();
*pHandle = rPropInfo.getHandleByName( *pName );
if ( *pHandle != -1 )
continue;
@@ -513,9 +512,6 @@ namespace comphelper
// add the property
sal_Int16 nAttributes = PropertyAttribute::BOUND | PropertyAttribute::REMOVEABLE | PropertyAttribute::MAYBEDEFAULT;
addProperty( *pName, nAttributes, pProperty->Value );
- // rPropInfo is invalid, refetch
- rPropInfo = getInfoHelper();
- *pHandle = rPropInfo.getHandleByName( *pName );
continue;
}

@ -105,6 +105,7 @@ Patch17: 0001-free-ctxt-after-taking-lastError-details.patch
Patch18: 0001-Removed-suspect-hack.-Cursor-on-post-it-now-scrolls-.patch
Patch19: libreoffice-fdo31271.icu.patch
Patch20: libreoffice-gcc4.6.0.patch
Patch21: libreoffice-fdo32561.comphelper.patch
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%define instdir %{_libdir}
@ -726,8 +727,9 @@ mv -f redhat.soc extras/source/palettes/standard.soc
%patch16 -p1 -b .don-t-pushback-and-process-a-corrupt-extension.patch
%patch17 -p1 -b .free-ctxt-after-taking-lastError-details.patch
%patch18 -p1 -b .Cursor-on-post-it-now-scrolls-.patch
%patch19 -p1 -b .libreoffice-fdo31271.icu.patch
%patch19 -p1 -b .fdo31271.icu.patch
%patch20 -p1 -b .libreoffice-gcc4.6.0.patch
%patch21 -p1 -b .fdo32561.comphelper.patch
touch scripting/source/pyprov/delzip
touch scripting/util/provider/beanshell/delzip
touch scripting/util/provider/javascript/delzip

Loading…
Cancel
Save