diff --git a/src/support/qstring_helpers.cpp b/src/support/qstring_helpers.cpp index 5a79ad11b6..4f63167b43 100644 --- a/src/support/qstring_helpers.cpp +++ b/src/support/qstring_helpers.cpp @@ -12,9 +12,9 @@ #include -#include "support/qstring_helpers.h" - -#include "support/debug.h" +#include "support/qstring_helpers.h" + +#include "support/debug.h" #include "support/docstring.h" #include @@ -22,12 +22,12 @@ namespace lyx { -LyXErr & operator<<(LyXErr & err, QString const & str) -{ - return err << fromqstr(str); -} - - +LyXErr & operator<<(LyXErr & err, QString const & str) +{ + return err << fromqstr(str); +} + + QString toqstr(char const * str) { return QString::fromUtf8(str);