This is an automated email from the ASF dual-hosted git repository.
cmarcum pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new d219bd2 Update Misc.xba (#104)
d219bd2 is described below
commit d219bd27c3b14db15e43d4fe3791e7eedc8274cf
Author: Bidouille <[email protected]>
AuthorDate: Fri May 7 23:00:23 2021 +0200
Update Misc.xba (#104)
Modify GetProductName function
Actually returns Product Name and Build version in one string
Example: OpenOffice4.5.0
Adding a space between these to split in two strings
Now: OpenOffice 4.5.0
---
main/wizards/source/tools/Misc.xba | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/wizards/source/tools/Misc.xba
b/main/wizards/source/tools/Misc.xba
index 44f238d..e84e1a3 100644
--- a/main/wizards/source/tools/Misc.xba
+++ b/main/wizards/source/tools/Misc.xba
@@ -133,7 +133,7 @@ Dim sProdName as String
oProdNameAccess =
GetRegistryKeyContent("org.openoffice.Setup/Product")
sProdName = oProdNameAccess.getByName("ooName")
sVersion = oProdNameAccess.getByName("ooSetupVersion")
- GetProductName = sProdName & sVersion
+ GetProductName = sProdName & " " & sVersion
End Function