summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-09-26 10:19:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-09-26 19:27:27 +0200
commit501929557800e400c9ee07d25687ee60354d74c2 (patch)
tree8c14fd7584edf6cd93677d74f6f00eb38da89f1f /extensions
parent7809e2fe6cd237a547d93293d1ea434d16ccb689 (diff)
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>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatehdl.cxx2
1 files changed, 1 insertions, 1 deletions
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 ) },