X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fqstring_helpers.cpp;h=4f63167b4305f665e9cb04403b346a94054a73ee;hb=c1945d27dfd19ef698ae7506c1311ce94091207a;hp=5a79ad11b63e94fd5a3ce1ce65b7a3b41c91652b;hpb=c8a0b97d2ee97f4ec8d6f6ba57a7d11eb0c0d4a2;p=lyx.git 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);