[Libreoffice-commits] online.git: loolwsd/Util.hpp
Miklos Vajna
vmiklos at collabora.co.uk
Tue Sep 27 15:08:15 UTC 2016
loolwsd/Util.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 27f541549c933168d7ab0404e521ecfc17684151
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Sep 27 17:07:52 2016 +0200
Util: add missing include
diff --git a/loolwsd/Util.hpp b/loolwsd/Util.hpp
index 1f59627..8d9fab9 100644
--- a/loolwsd/Util.hpp
+++ b/loolwsd/Util.hpp
@@ -24,6 +24,7 @@
#include <Poco/Message.h>
#include <Poco/Path.h>
#include <Poco/Process.h>
+#include <Poco/RegularExpression.h>
#define LOK_USE_UNSTABLE_API
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
@@ -193,7 +194,7 @@ namespace Util
{
// Not performance critical to warrant caching.
Poco::RegularExpression re(value, Poco::RegularExpression::RE_CASELESS);
- Poco::RegularExpression::Match reMatch{};
+ Poco::RegularExpression::Match reMatch;
// Must be a full match.
if (re.match(subject, reMatch) && reMatch.offset == 0 && reMatch.length == subject.size())
More information about the Libreoffice-commits
mailing list