Accepting request 1056698 from LibreOffice:7.4

- 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
This commit is contained in:
Danilo Spinella 2023-01-10 09:32:34 +00:00 committed by Git OBS Bridge
parent 45b243a90a
commit a6b1da5fed
3 changed files with 27 additions and 1 deletions

17
bsc1204825.patch Normal file
View File

@ -0,0 +1,17 @@
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
{

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 6 20:46:55 UTC 2023 - Andras Timar <andras.timar@collabora.com>
- Fix bsc#1204825 - LO-L3: PPTX: text box shows that does not show in PowerPoint
* bsc1204825.patch
-------------------------------------------------------------------
Tue Dec 13 17:25:49 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libreoffice
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -113,6 +113,8 @@ Patch12: fix_harfbuzz_on_sle12_sp5.patch
Patch13: libreoffice-7.4.1.2-grep.patch
# PATCH-FIX-SUSE use fixmath shared library
Patch14: use-fixmath-shared-library.patch
# LO-L3: PPTX: text box shows that does not show in PowerPoint
Patch15: bsc1204825.patch
# Build with java 8
Patch101: 0001-Revert-java-9-changes.patch
# try to save space by using hardlinks
@ -1037,6 +1039,7 @@ Provides %{langname} translations and additional resources (help files, etc.) fo
%endif
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch990 -p1
%patch991 -p1