summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2021-12-22 12:44:59 +0100
committerJean-Pierre Ledure <jp@ledure.be>2021-12-22 16:07:20 +0100
commit2562a7b60214c1a0cd5393ca3f75e949dd58d5f3 (patch)
tree32dff305413681d51091263a1b74d68a9da231f7 /wizards
parent5df35405494b2726f214c852e78ad8852d7c4829 (diff)
Access2Base - Fix argument check in OpenDatabase()
Read Mike Kaganski's comment in https://gerrit.libreoffice.org/c/core/+/9303 Change-Id: I8d89d9dd93dd6c31438418847d4073568baf11f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127312 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/access2base/Application.xba2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/source/access2base/Application.xba b/wizards/source/access2base/Application.xba
index 224cc394a99d..74bb43558928 100644
--- a/wizards/source/access2base/Application.xba
+++ b/wizards/source/access2base/Application.xba
@@ -1406,8 +1406,8 @@ Dim sDatabaseURL As String
If _ErrorHandler() Then On Local Error Goto Error_Function
Const cstThisSub = &quot;OpenDatabase&quot;
Utils._SetCalledSub(cstThisSub)
- If pvDatabaseURL = &quot;&quot; Then Call _TraceArguments()
If Not Utils._CheckArgument(pvDatabaseURL, 1, vbString) Then Goto Exit_Function
+ If pvDatabaseURL = &quot;&quot; Then Call _TraceArguments()
If IsMissing(pvUser) Then pvUser = &quot;&quot;
If IsMissing(pvPassword) Then pvPassword = &quot;&quot;
If Not Utils._CheckArgument(pvUser, 2, vbString) Then Goto Exit_Function