summaryrefslogtreecommitdiff
path: root/wizards/com
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-06-22 14:35:22 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-18 02:13:21 +0200
commitdcc632838700ed768bbea16f4f1772160308edf6 (patch)
treec8b7d66c23e97d3e0b82abb1a4f72a95ee6d45b4 /wizards/com
parenta96b6a5e180d26f24bb5ca2c1946903cae733e60 (diff)
Remove deprecated method
Diffstat (limited to 'wizards/com')
-rw-r--r--wizards/com/sun/star/wizards/common/Desktop.py32
-rw-r--r--wizards/com/sun/star/wizards/common/FileAccess.py11
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 31cb710df308..e5306e37f75b 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],[]]