diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpdoc.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpdoc.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpdoc.hxx b/lotuswordpro/source/filter/lwpdoc.hxx index 198dfdc28290..b6385518dee4 100644 --- a/lotuswordpro/source/filter/lwpdoc.hxx +++ b/lotuswordpro/source/filter/lwpdoc.hxx @@ -128,8 +128,8 @@ public: void Parse(IXFStream* pOutputStream) override; void RegisterStyle() override; - inline bool IsChildDoc(); - inline bool GetHonorProtection(); + inline bool IsChildDoc() const; + inline bool GetHonorProtection() const; inline LwpObjectID& GetDocData(); inline LwpObjectID& GetSocket(); @@ -177,11 +177,11 @@ private: bool IsSkippedDivision(); }; -inline bool LwpDocument::IsChildDoc() +inline bool LwpDocument::IsChildDoc() const { return (m_nPersistentFlags & DOC_CHILDDOC) != 0; } -inline bool LwpDocument::GetHonorProtection() +inline bool LwpDocument::GetHonorProtection() const { return (m_nPersistentFlags & DOC_PROTECTED) != 0; } |