Don't call setPropertyValue with empty value
Change-Id: I3dd2525e5649cf71b47c2733db4d121625b33342 Reviewed-on: https://gerrit.libreoffice.org/82348 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
This commit is contained in:
@@ -2154,7 +2154,11 @@ uno::Reference< drawing::XShape >
|
|||||||
//the matrix needs to be set at the end behind autogrow and such position influencing properties
|
//the matrix needs to be set at the end behind autogrow and such position influencing properties
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
xProp->setPropertyValue( "Transformation", rATransformation );
|
if (rATransformation.hasValue())
|
||||||
|
xProp->setPropertyValue( "Transformation", rATransformation );
|
||||||
|
else
|
||||||
|
SAL_INFO("chart2", "No rATransformation value is given to ShapeFactory::createText()");
|
||||||
|
|
||||||
}
|
}
|
||||||
catch( const uno::Exception& )
|
catch( const uno::Exception& )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user