diff options
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>/) |