This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new cc5f354 Update Misc.xba (#104)
cc5f354 is described below
commit cc5f35428dc2032f94d38181eea3d87b85590cea
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
(cherry picked from commit d219bd27c3b14db15e43d4fe3791e7eedc8274cf)
---
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