Remove duplicate definitions

This commit is contained in:
Jon Tibble 2011-01-26 19:35:29 +00:00
parent 5ae99a25ad
commit a600e37a34

View File

@ -39,9 +39,7 @@ from oooimport import OooImport
if os.name == u'nt': if os.name == u'nt':
BOLD = 150.0 BOLD = 150.0
ITALIC = 2 ITALIC = 2
PAGE_BEFORE = 4 from oooimport import PAGE_BEFORE, PAGE_AFTER, PAGE_BOTH
PAGE_AFTER = 5
PAGE_BOTH = 6
else: else:
try: try:
from com.sun.star.awt.FontWeight import BOLD from com.sun.star.awt.FontWeight import BOLD
@ -306,7 +304,6 @@ class SofImport(OooImport):
self.currentverse = u'' self.currentverse = u''
self.is_chorus = False self.is_chorus = False
def uncap_text(self, text): def uncap_text(self, text):
""" """
Words in the title are in all capitals, so we lowercase them. Words in the title are in all capitals, so we lowercase them.