From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kpresenter/kprconverter.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpresenter/kprconverter.pl') 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 () # 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>/) -- cgit v1.2.1