- Fix bsc#1204825 - LO-L3: PPTX: text box shows that does not show in PowerPoint * bsc1204825.patch OBS-URL: https://build.opensuse.org/request/show/1056698 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1052
18 lines
801 B
Diff
18 lines
801 B
Diff
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
|
|
index 1dd4eb3..8fefc18 100644
|
|
--- a/oox/source/drawingml/shape.cxx
|
|
+++ b/oox/source/drawingml/shape.cxx
|
|
@@ -662,6 +662,12 @@
|
|
const sal_Int32 aFillColor = static_cast<sal_Int32>(
|
|
pProperties.maFillProperties.maFillColor.getColor( rGraphicHelper ).GetRGBColor() );
|
|
xSet->setPropertyValue( UNO_NAME_FILLCOLOR, uno::Any( aFillColor ) );
|
|
+
|
|
+ if (pProperties.maFillProperties.maFillColor.hasTransparency())
|
|
+ {
|
|
+ const sal_Int16 aTransparence = pProperties.maFillProperties.maFillColor.getTransparency();
|
|
+ xSet->setPropertyValue(UNO_NAME_FILL_TRANSPARENCE, uno::Any(aTransparence));
|
|
+ }
|
|
}
|
|
else
|
|
{
|