diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kpresenter/kprconverter.pl | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kpresenter/kprconverter.pl')
-rw-r--r-- | kpresenter/kprconverter.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/kprconverter.pl b/kpresenter/kprconverter.pl index 60aa3fb3..524b3d8d 100644 --- a/kpresenter/kprconverter.pl +++ b/kpresenter/kprconverter.pl @@ -43,9 +43,9 @@ while (<INPUT>) # In the old format we had horzAlign="[0|1|2]" 0=left, 1=center, 2=right # In the new one it's align="..." and uses the Qt::AlignmentFlags enums. # Qt::AlignLeft=1, AlignRight=2, AlignHCenter=4 - $tqalignment=$1 if(/horzAlign=(\"[0-2]+\")/); - $tqalignment =~ tr/01/14/; - s/horzAlign=\"[0-2]+\"/align=$tqalignment/; + $alignment=$1 if(/horzAlign=(\"[0-2]+\")/); + $alignment =~ tr/01/14/; + s/horzAlign=\"[0-2]+\"/align=$alignment/; s/>$/ type=$objType>/; } elsif (/<\/PARAGRAPH>/) |