From 159eb0839909991c3f8206f3b1862587f2919d0a Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 17 Aug 2014 01:47:53 +0200 Subject: warning C4800: 'sal_uInt32' : forcing value to bool 'true' or 'false' Change-Id: Ib04d885fdbf3f46be08c857a28fcea210be1623a --- lotuswordpro/source/filter/lwpdoc.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwpdoc.hxx b/lotuswordpro/source/filter/lwpdoc.hxx index 724fea776716..a1dfee26d4d4 100644 --- a/lotuswordpro/source/filter/lwpdoc.hxx +++ b/lotuswordpro/source/filter/lwpdoc.hxx @@ -180,11 +180,11 @@ private: inline bool LwpDocument::IsChildDoc() { - return (m_nPersistentFlags & DOC_CHILDDOC); + return (m_nPersistentFlags & DOC_CHILDDOC) != 0; } inline bool LwpDocument::HonorProtection() { - return m_nPersistentFlags & DOC_PROTECTED; + return (m_nPersistentFlags & DOC_PROTECTED) != 0; } inline LwpObjectID& LwpDocument::GetContentList() { -- cgit v1.2.3