crashtesting: exception on reexport of fdo55178-3.xlsx to xlsx
since...
commit acfd9e9ca2
Date: Mon Jul 27 00:31:04 2020 +0200
tdf#128345 PPTX: add transparence gradient for fill in chart
use GetProperty which checks for exceptions and put result on
success into mAny
Change-Id: If327848031910f47eb05e5998fa2b3265e8e258a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101275
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -1589,7 +1589,7 @@ void ChartExport::exportFill( const Reference< XPropertySet >& xPropSet )
|
||||
}
|
||||
OUString sFillTransparenceGradientName;
|
||||
if (aFillStyle == FillStyle_SOLID
|
||||
&& (xPropSet->getPropertyValue("FillTransparenceGradientName") >>= sFillTransparenceGradientName)
|
||||
&& GetProperty(xPropSet, "FillTransparenceGradientName") && (mAny >>= sFillTransparenceGradientName)
|
||||
&& !sFillTransparenceGradientName.isEmpty())
|
||||
{
|
||||
awt::Gradient aTransparenceGradient;
|
||||
@@ -1644,7 +1644,8 @@ void ChartExport::exportSolidFill(const Reference< XPropertySet >& xPropSet)
|
||||
awt::Gradient aTransparenceGradient;
|
||||
bool bNeedGradientFill(false);
|
||||
OUString sFillTransparenceGradientName;
|
||||
if ((xPropSet->getPropertyValue("FillTransparenceGradientName") >>= sFillTransparenceGradientName)
|
||||
if (GetProperty(xPropSet, "FillTransparenceGradientName")
|
||||
&& (mAny >>= sFillTransparenceGradientName)
|
||||
&& !sFillTransparenceGradientName.isEmpty())
|
||||
{
|
||||
uno::Reference< lang::XMultiServiceFactory > xFact( getModel(), uno::UNO_QUERY );
|
||||
|
||||
Reference in New Issue
Block a user