From 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Sep 2013 13:48:24 +0300 Subject: improve a bit strings declaration. --- src/utils/translation/poparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/translation/poparser.cpp') diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp index 55d4e01e2..b2034903d 100644 --- a/src/utils/translation/poparser.cpp +++ b/src/utils/translation/poparser.cpp @@ -133,7 +133,7 @@ bool PoParser::readMsgId() if (mReadingStr) return false; - const std::string msgId1 = "msgid \""; + const std::string msgId1("msgid \""); // check if in reading process if (mReadingId) @@ -175,7 +175,7 @@ bool PoParser::readMsgId() bool PoParser::readMsgStr() { - const std::string msgStr1 = "msgstr \""; + const std::string msgStr1("msgstr \""); // check if in reading process if (mReadingStr) -- cgit v1.2.3-70-g09d2