diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwplayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index 82607a17cd05..d9b442268b04 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -211,7 +211,7 @@ bool LwpVirtualLayout::HasProtection() * @descr: Whether it is a mirror layout * */ -bool LwpVirtualLayout::IsComplex() +bool LwpVirtualLayout::IsComplex() const { return (m_nAttributes & STYLE_COMPLEX) != 0; } @@ -321,7 +321,7 @@ bool LwpVirtualLayout::IsRelativeAnchored() /** * @descr: whether it is MinimumHeight layout */ -bool LwpVirtualLayout::IsMinimumHeight() +bool LwpVirtualLayout::IsMinimumHeight() const { return ((m_nAttributes3& STYLE3_MINHEIGHTVALID) != 0); } @@ -430,7 +430,7 @@ bool LwpVirtualLayout::IsAutoGrowWidth() * @descr: Determine whether the layout width is to margin * */ -bool LwpVirtualLayout::IsInlineToMargin() +bool LwpVirtualLayout::IsInlineToMargin() const { return (m_nAttributes3 & STYLE3_INLINETOMARGIN) != 0; } @@ -631,7 +631,7 @@ void LwpMiddleLayout::Read() } } -rtl::Reference<LwpObject> LwpMiddleLayout::GetBasedOnStyle() +rtl::Reference<LwpObject> LwpMiddleLayout::GetBasedOnStyle() const { rtl::Reference<LwpObject> xRet(m_BasedOnStyle.obj()); if (xRet.get() == this) |