[Libreoffice-commits] online.git: loolwsd/Util.hpp

Miklos Vajna vmiklos at collabora.co.uk
Mon Sep 26 08:10:51 UTC 2016


 loolwsd/Util.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 92ff2789976d2b6d3dc0056f87026431108c1584
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Sep 26 10:09:44 2016 +0200

    Fix gcc-4.8 build

diff --git a/loolwsd/Util.hpp b/loolwsd/Util.hpp
index 6c94500..cf6aba5 100644
--- a/loolwsd/Util.hpp
+++ b/loolwsd/Util.hpp
@@ -179,7 +179,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{0, 0};
 
                     // 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