diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/common/FileAccess.py')
-rw-r--r-- | wizards/com/sun/star/wizards/common/FileAccess.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py index ae31c282a442..fd7a97cd9ca5 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.py +++ b/wizards/com/sun/star/wizards/common/FileAccess.py @@ -16,7 +16,6 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # import traceback -from os import path as osPath from .NoValidPathException import NoValidPathException from com.sun.star.ucb import CommandAbortedException @@ -213,17 +212,6 @@ class FileAccess(object): return sTitle - def getURL(self, path, childPath=None): - try: - f = open(path, 'w') - - r = self.filenameConverter.getFileURLFromSystemPath(path, - osPath.abspath(path)) - return r - except Exception: - traceback.print_exc() - return None - def getPath(self, parentURL, childURL): string = "" if childURL is not None and childURL is not "": |