summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/source/scriptforge/SF_Utils.xba4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/scriptforge/SF_Utils.xba b/wizards/source/scriptforge/SF_Utils.xba
index f24d5825f53e..67aa32f29c77 100644
--- a/wizards/source/scriptforge/SF_Utils.xba
+++ b/wizards/source/scriptforge/SF_Utils.xba
@@ -398,7 +398,7 @@ Dim vNodePath As Variant
Set _GetUNOService = .PathSubstitution
Case "ScriptProvider"
If IsMissing(pvArg) Then pvArg = SF_Session.SCRIPTISAPPLICATION
- Select Case pvArg
+ Select Case LCase(pvArg)
Case SF_Session.SCRIPTISEMBEDDED ' Document
If Not IsNull(ThisComponent) Then Set _GetUNOService = ThisComponent.getScriptProvider()
Case Else
@@ -964,4 +964,4 @@ Dim iType As Integer ' VarType of argument
End Function ' ScriptForge.SF_Utils._VarTypeExt
REM ================================================= END OF SCRIPTFORGE.SF_UTILS
-</script:module>
+</script:module> \ No newline at end of file