diff options
author | Xisco Fauli <anistenis@gmail.com> | 2012-10-15 21:13:19 +0200 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2012-10-15 23:58:16 +0200 |
commit | 5f695a7d5e71e21ea65f28f5d56101e9a175861d (patch) | |
tree | a665c8e471b55a1a379b7337f89035c28f1273c0 /wizards/com/sun/star/wizards/common/Resource.py | |
parent | 299b38e93306f863d24f33aa03bd3af097e216ef (diff) |
pyletter: Remove unused code
Change-Id: I9ca05a152430b3fa61286ba521d37569be5b16a0
Diffstat (limited to 'wizards/com/sun/star/wizards/common/Resource.py')
-rw-r--r-- | wizards/com/sun/star/wizards/common/Resource.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/wizards/com/sun/star/wizards/common/Resource.py b/wizards/com/sun/star/wizards/common/Resource.py index 68f60a767522..2e5b1424672f 100644 --- a/wizards/com/sun/star/wizards/common/Resource.py +++ b/wizards/com/sun/star/wizards/common/Resource.py @@ -34,9 +34,6 @@ class Resource(object): raise Exception ("could not initialize ResourceIndexAccess") self.xStringIndexAccess = xResource.getByName("String") - self.xStringListIndexAccess = xResource.getByName("StringList") - if self.xStringListIndexAccess is None: - raise Exception ("could not initialize xStringListIndexAccess") if self.xStringIndexAccess is None: raise Exception ("could not initialize xStringIndexAccess") @@ -52,13 +49,6 @@ class Resource(object): traceback.print_exc() raise ValueError("Resource with ID not " + str(nID) + " not found") - def getStringList(self, nID): - try: - return self.xStringListIndexAccess.getByIndex(nID) - except Exception, exception: - traceback.print_exc() - raise ValueError("Resource with ID not " + str(nID) + " not found") - def getResArray(self, nID, iCount): try: ResArray = range(iCount) |