[Uml-devel] kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Dec 10 18:38:48 UTC 2004
CVS commit by okellogg:
spc(): Fix indentation.
M +1 -1 adawriter.cpp 1.35
M +1 -1 idlwriter.cpp 1.32
--- kdesdk/umbrello/umbrello/codegenerators/idlwriter.cpp #1.31:1.32
@@ -46,5 +46,5 @@ IDLWriter::~IDLWriter() {}
QString IDLWriter::spc() {
QString s;
- if (m_indentation == " ")
+ if (m_indentation.contains(' '))
s.fill(' ', indentlevel * m_indentationAmount);
else
--- kdesdk/umbrello/umbrello/codegenerators/adawriter.cpp #1.34:1.35
@@ -51,5 +51,5 @@ AdaWriter::~AdaWriter() {}
QString AdaWriter::spc() {
QString s;
- if (m_indentation == " ")
+ if (m_indentation.contains(' '))
s.fill(' ', indentlevel * m_indentationAmount);
else
More information about the umbrello-devel
mailing list