summaryrefslogtreecommitdiffstats
path: root/kpresenter/kprconverter.pl
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kpresenter/kprconverter.pl
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kpresenter/kprconverter.pl')
-rw-r--r--kpresenter/kprconverter.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/kprconverter.pl b/kpresenter/kprconverter.pl
index 524b3d8d..60aa3fb3 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
- $alignment=$1 if(/horzAlign=(\"[0-2]+\")/);
- $alignment =~ tr/01/14/;
- s/horzAlign=\"[0-2]+\"/align=$alignment/;
+ $tqalignment=$1 if(/horzAlign=(\"[0-2]+\")/);
+ $tqalignment =~ tr/01/14/;
+ s/horzAlign=\"[0-2]+\"/align=$tqalignment/;
s/>$/ type=$objType>/;
}
elsif (/<\/PARAGRAPH>/)