diff options
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 2 | ||||
-rw-r--r-- | include/editeng/editobj.hxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index dbfd833f7402..c7db48569c0f 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -950,7 +950,7 @@ void EditTextObjectImpl::GetAllSectionAttributes( std::vector<editeng::SectionAt { const XEditAttribute& rAttr = rC.aAttribs[i]; const SfxPoolItem* pItem = rAttr.GetItem(); - if (!pItem || pItem->Which() == EE_FEATURE_FIELD) + if (!pItem) continue; size_t nStart = rAttr.GetStart(), nEnd = rAttr.GetEnd(); diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index c61f682672da..53b4cbfd0cb0 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -107,8 +107,6 @@ public: * Sections never overlap each other; if an attribute was applied to [0-6] * and another applied to [3-10], you would get 3 sections that are [0-3], * [3-6] and [6-10]. - * - * <p>Note that this method skips field attributes.</p> */ void GetAllSectionAttributes( std::vector<editeng::SectionAttribute>& rAttrs ) const; |