[Libreoffice-commits] core.git: writerfilter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Feb 20 14:05:22 UTC 2019
writerfilter/source/rtftok/rtfdocumentimpl.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2f1b939aeebf871a64fb587c078f87a5a0a9b137
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Feb 20 16:03:02 2019 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Feb 20 16:03:02 2019 +0200
Fix compilation error against boost 1.66 at least
Change-Id: I95899bc44d895abbeedb10815ac566dfd4660f6d
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index cc3deeab5461..25928dfd073e 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -218,7 +218,7 @@ public:
void setZ(sal_Int32 nZ) { m_oZ.reset(nZ); }
- bool hasZ() const { return m_oZ.has_value(); }
+ bool hasZ() const { return bool(m_oZ); }
sal_Int32 getZ() const { return *m_oZ; }
More information about the Libreoffice-commits
mailing list