diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-13 10:40:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-13 10:40:21 +0000 |
commit | 4e6df6de1a95b6b4194cf930cabaae7fde3b6960 (patch) | |
tree | 3c61b5e398c94fb03753cca058f1f594a5d9dbfe /lotuswordpro/source/filter/lwpcelllayout.cxx | |
parent | 9d3adaaac8839b71f3960ebebbf5fa193f906219 (diff) |
recursion protection
Change-Id: I66fda143ba1f0fa6f2638a8bd4936c75a6c40980
Diffstat (limited to 'lotuswordpro/source/filter/lwpcelllayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpcelllayout.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx index 76faa62786af..0a8356de2be0 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.cxx +++ b/lotuswordpro/source/filter/lwpcelllayout.cxx @@ -645,7 +645,7 @@ void LwpCellLayout::ApplyProtect(XFCell * pCell, LwpObjectID aTableID) { bool bProtected = false; // judge current cell - if (IsProtected()) + if (GetIsProtected()) { bProtected = true; } @@ -653,7 +653,7 @@ void LwpCellLayout::ApplyProtect(XFCell * pCell, LwpObjectID aTableID) { // judge base on LwpCellLayout * pBase = dynamic_cast<LwpCellLayout *>(GetBasedOnStyle().get()); - if (pBase && pBase->IsProtected()) + if (pBase && pBase->GetIsProtected()) { bProtected = true; } @@ -663,7 +663,7 @@ void LwpCellLayout::ApplyProtect(XFCell * pCell, LwpObjectID aTableID) LwpTable * pTable = dynamic_cast<LwpTable *>(aTableID.obj().get()); LwpTableLayout * pTableLayout = pTable ? dynamic_cast<LwpTableLayout *>(pTable->GetTableLayout()) : nullptr; LwpSuperTableLayout * pSuper = pTableLayout ? pTableLayout->GetSuperTableLayout() : nullptr; - if (pSuper && pSuper->IsProtected()) + if (pSuper && pSuper->GetIsProtected()) { bProtected = true; } |