[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-essen/libs/kotext/styles
From: Sebastian Sauer <mail () dipe ! org>
Date: 2010-12-02 21:58:32
Message-ID: 20101202215832.893B6AC8A5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202962 by sebsauer:
always overwrite
M +1 -2 KoListLevelProperties.cpp
--- branches/work/koffice-essen/libs/kotext/styles/KoListLevelProperties.cpp \
#1202961:1202962 @@ -530,8 +530,7 @@
// text:space-before, text:min-label-width and \
text:min-label-distance are assumed to be 0.
QString textAlign(p.attributeNS(KoXmlNS::fo, "text-align"));
- if (!textAlign.isEmpty())
- setAlignment(KoText::alignmentFromString(textAlign));
+ setAlignment(textAlign.isEmpty() ? Qt::AlignLeft : \
KoText::alignmentFromString(textAlign));
QString textindent(p.attributeNS(KoXmlNS::fo, \
"text-indent"));
QString marginleft(p.attributeNS(KoXmlNS::fo, \
"margin-left"));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic