summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docbm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docbm.cxx')
-rw-r--r--sw/source/core/doc/docbm.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index e9c0ce701eba..5ed676719622 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -1569,7 +1569,7 @@ namespace sw::mark
return pMark;
}
- std::vector<IFieldmark*> MarkManager::getDropDownsFor(const SwPaM &rPaM) const
+ std::vector<IFieldmark*> MarkManager::getNoTextFieldmarksIn(const SwPaM &rPaM) const
{
std::vector<IFieldmark*> aRet;
@@ -1582,8 +1582,11 @@ namespace sw::mark
continue;
IFieldmark *pMark = dynamic_cast<IFieldmark*>(pI);
- if (!pMark || pMark->GetFieldname() != ODF_FORMDROPDOWN)
+ if (!pMark || (pMark->GetFieldname() != ODF_FORMDROPDOWN
+ && pMark->GetFieldname() != ODF_FORMCHECKBOX))
+ {
continue;
+ }
aRet.push_back(pMark);
}