extensions/source/update/check/updatehdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 501929557800e400c9ee07d25687ee60354d74c2 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Sep 26 10:19:55 2021 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Sep 26 19:27:27 2021 +0200 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 <serval2...@yahoo.fr> diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 9374aec98a0b..16b94d6c9db0 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -1071,7 +1071,7 @@ void UpdateHandler::createDialog() { // 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 ) },