diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-06-22 14:35:22 +0200 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2011-06-22 14:35:22 +0200 |
commit | cd40a1931523828b54f29b60c8d6cdad2479d321 (patch) | |
tree | 906a932981270c2db1edd9649c39864c0f7a6a60 /wizards | |
parent | Show warning: Do you want to overwrite the file? (diff) | |
download | core-cd40a1931523828b54f29b60c8d6cdad2479d321.tar.gz core-cd40a1931523828b54f29b60c8d6cdad2479d321.zip |
Remove deprecated method
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/common/Desktop.py | 32 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/common/FileAccess.py | 11 |
2 files changed, 0 insertions, 43 deletions
diff --git a/wizards/com/sun/star/wizards/common/Desktop.py b/wizards/com/sun/star/wizards/common/Desktop.py index 0bdf9617e303..3a64ecee8669 100644 --- a/wizards/com/sun/star/wizards/common/Desktop.py +++ b/wizards/com/sun/star/wizards/common/Desktop.py @@ -174,38 +174,6 @@ class Desktop(object): scompname = _sElementName + _sSuffixSeparator + (a + 1) return "" - ''' - @deprecated use Configuration.getConfigurationRoot() with the same - arameters instead - @param xMSF - @param KeyName - @param bForUpdate - @return - ''' - - @classmethod - def getRegistryKeyContent(self, xMSF, KeyName, bForUpdate): - try: - aNodePath = range(1) - oConfigProvider = xMSF.createInstance( - "com.sun.star.configuration.ConfigurationProvider") - aNodePath[0] = uno.createUnoStruct( - 'com.sun.star.beans.PropertyValue') - aNodePath[0].Name = "nodepath" - aNodePath[0].Value = KeyName - if bForUpdate: - return oConfigProvider.createInstanceWithArguments( - "com.sun.star.configuration.ConfigurationUpdateAccess", - aNodePath) - else: - return oConfigProvider.createInstanceWithArguments( - "com.sun.star.configuration.ConfigurationAccess", - aNodePath) - - except Exception, exception: - exception.printStackTrace(System.out) - return None - class OfficePathRetriever: def OfficePathRetriever(self, xMSF): diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py index 3a1797e4ebca..384582b71899 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.py +++ b/wizards/com/sun/star/wizards/common/FileAccess.py @@ -370,17 +370,6 @@ class FileAccess(object): sMsgFilePathInvalid) return False - ''' - searches a directory for files which start with a certain - prefix, and returns their URLs and document-titles. - @param xMSF - @param FilterName the prefix of the filename. a "-" is added to the prefix - @param FolderName the folder (URL) to look for files... - @return an array with two array members. The first one, with document - titles, the second with the corresponding URLs. - @deprecated please use the getFolderTitles() with ArrayList - ''' - @classmethod def getFolderTitles(self, xMSF, FilterName, FolderName): LocLayoutFiles = [[2],[]] |