Kaydet (Commit) 3383fd7b authored tarafından Vinaya Mandke's avatar Vinaya Mandke Kaydeden (comit) Michael Stahl

Clean-up

Change-Id: I66255e8bc37191e859c134eab7d7f8117cd9181a
Reviewed-on: https://gerrit.libreoffice.org/11380Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 628a0f27
......@@ -1187,14 +1187,14 @@ void ChartExport::exportBitmapFill( Reference< XPropertySet > xPropSet )
{
if( xPropSet.is() )
{
OUString sFillGradientName;
xPropSet->getPropertyValue("FillBitmapName") >>= sFillGradientName;
OUString sFillBitmapName;
xPropSet->getPropertyValue("FillBitmapName") >>= sFillBitmapName;
uno::Reference< lang::XMultiServiceFactory > xFact( getModel(), uno::UNO_QUERY );
try
{
uno::Reference< container::XNameAccess > xGradient( xFact->createInstance("com.sun.star.drawing.BitmapTable"), uno::UNO_QUERY );
uno::Any rValue = xGradient->getByName( sFillGradientName );
uno::Reference< container::XNameAccess > xBitmap( xFact->createInstance("com.sun.star.drawing.BitmapTable"), uno::UNO_QUERY );
uno::Any rValue = xBitmap->getByName( sFillBitmapName );
OUString sBitmapURL;
if( (rValue >>= sBitmapURL) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment