summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 01:47:53 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:27 +0200
commit159eb0839909991c3f8206f3b1862587f2919d0a (patch)
tree7ae83a24c7ebe196c3f579941350f63fd56c89ba /lotuswordpro
parent05acd6da8def7b57928fbbfa99e4a4416acf7aa5 (diff)
warning C4800: 'sal_uInt32' : forcing value to bool 'true' or 'false'
Change-Id: Ib04d885fdbf3f46be08c857a28fcea210be1623a
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpdoc.hxx4
1 files changed, 2 insertions, 2 deletions
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()
{