tdf#50421: use substVariables for remaining %PERCENT% in "Check for Updates"
Change-Id: I9e1094ef9a957ca1524367f985f37ffc0da5b353
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122621
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx
index 9374aec..16b94d6 100644
--- a/extensions/source/update/check/updatehdl.cxx
+++ b/extensions/source/update/check/updatehdl.cxx
@@ -1071,7 +1071,7 @@
{ // Text (edit) <percent>
uno::Sequence< beans::NamedValue > aProps
{
{ "Text", uno::Any( msPercent ) },
{ "Text", uno::Any( substVariables(msPercent) ) },
{ "Border", uno::Any( sal_Int16( 0 ) ) },
{ "PaintTransparent", uno::Any( true ) },
{ "ReadOnly", uno::Any( true ) },