summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-07 18:01:34 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-08 18:37:52 -0300
commit3b61b201210760c922a293f79f5904ba51cda4e2 (patch)
tree80b6e80043388846e49cbe0459e1797cabecb3be
parent62c909a374789f16ad97014464f91821f714cea6 (diff)
downloadshiboken-3b61b201210760c922a293f79f5904ba51cda4e2.tar.gz
shiboken-3b61b201210760c922a293f79f5904ba51cda4e2.tar.xz
shiboken-3b61b201210760c922a293f79f5904ba51cda4e2.zip
Remove extra blank spaces added in generated code.
"return Foo() ;" becomes "return Foo();" Reviewer: Lauro Moura <lauro.neto@openbossa.org> Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
-rw-r--r--cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp
index ae4a055c..55add07e 100644
--- a/cppgenerator.cpp
+++ b/cppgenerator.cpp
@@ -554,7 +554,7 @@ void CppGenerator::writeVirtualMethodNative(QTextStream &s, const AbstractMetaFu
<< PYTHON_RETURN_VAR << "->ob_type->tp_name);" << endl;
s << INDENT << INDENT << "return ";
writeMinimalConstructorCallArguments(s, func->type());
- s << INDENT << INDENT << ";" << endl;
+ s << ';' << endl;
s << INDENT << "}" << endl;
}