summaryrefslogtreecommitdiff
path: root/wizards/source/tools/Strings.xba
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-10-01 09:16:06 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-10-01 09:16:06 +0000
commit0067e33ee9e2d5136958a118eee1ce212ff8ce7d (patch)
tree36627c3b5a16c049654fdd4a9d4626059a804c47 /wizards/source/tools/Strings.xba
parentfce21e37ff27f6aede2e09da20d5f18fd03f26a2 (diff)
#92590# Routines for Gimmicks macros added
Diffstat (limited to 'wizards/source/tools/Strings.xba')
-rw-r--r--wizards/source/tools/Strings.xba37
1 files changed, 1 insertions, 36 deletions
diff --git a/wizards/source/tools/Strings.xba b/wizards/source/tools/Strings.xba
index c1ab298bd677..9c46eb763c1c 100644
--- a/wizards/source/tools/Strings.xba
+++ b/wizards/source/tools/Strings.xba
@@ -285,41 +285,6 @@ Dim i%, OldReplLen%, BigLen%
End Function
-&apos; Converts an &quot;ordinary&quot; path to a &quot;URL-Path&quot;
-&apos;Function ConverttoURL(ByVal BigString as String) as String
-&apos;Dim Separator as String
-&apos; If sProductname = &quot;&quot; Then
-&apos; sProductname = GetProductname()
-&apos; End If
-&apos; If BigString &lt;&gt; &quot;&quot; Then
-&apos; If IsFatOffice() Then
-&apos; Separator = GetPathSeparator()
-&apos; &apos; Is the delivered Path already a URL
-&apos; If Instr(1,UCase(BigString),&quot;FILE:///&quot;) = 0 Then
-&apos; BigString = ReplaceString(BigString,&quot;/&quot;,Separator)
-&apos; BigString = &quot;file:///&quot; &amp; BigString
-&apos; End If
-&apos; End If
-&apos; ConvertToURL = BigString
-&apos; Else
-&apos; ConvertToUrl = &quot;&quot;
-&apos; End If
-&apos;End Function
-
-
-&apos; Converts an &quot;URL-Path&quot; to an ordinary &quot;Path&quot;
-&apos;Function ConvertfromURL(ByVal BigString as String) as String
-&apos;Dim Separator as String
-&apos; Separator = GetPathSeparator()
-&apos; If Left(Ucase(BigString),8)= &quot;FILE:///&quot; Then
-&apos; BigString = Mid(BigString, 9, Len(BigString)-8)
-&apos; BigString = ReplaceString(BigString,Separator,&quot;/&quot;)
-&apos; BigString = ReplaceString(BigString,&quot;:&quot;,&quot;|&quot;)
-&apos; ConvertFromUrl = BigString
-&apos; End If
-&apos;End Function
-
-
&apos; Retrieves the second value for a next to &apos;SearchString&apos; in
&apos; a two-dimensional string-Array
Function FindSecondValue(SearchString as String, TwoDimList() as String ) as String
@@ -353,7 +318,7 @@ End Function
Function FileNameoutofPath(ByVal Path as String, Separator as String) as String
Dim i as Integer
Dim SepList() as String
- SepList() = ArrayoutofString(Path,&quot;/&quot;,i)
+ SepList() = ArrayoutofString(Path, Separator,i)
FileNameoutofPath = SepList(i)
End Function