https://bugs.documentfoundation.org/show_bug.cgi?id=102997
--- Comment #2 from Luke <lukebe...@hotmail.com> ---
Miklos,
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -655,7 +655,7 @@ void FillProperties::pushToPropMap( ShapePropertyMap&
rPropMap,
}
if (maBlipProps.moAlphaModFix.has())
- rPropMap.setProperty(ShapeProperty::FillTransparency,
static_cast<sal_Int16>(maBlipProps.moAlphaModFix.get() / PER_PERCENT));
+ rPropMap.setProperty(ShapeProperty::FillTransparency,
static_cast<sal_Int16>(100 - (maBlipProps.moAlphaModFix.get() / PER_PERCENT)));
}
break;
Fixed the import conversion.
Is the right place to do the conversion? Do you need to use const like
PER_PERCENT or is 100 OK here? Can you take care of applying this fix or do you
want me to submit a patch?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs