diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-24 11:31:34 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-24 17:16:56 -0400 |
commit | 9ae7d6762b81adfdbd87034652cb2d4550a6dcf8 (patch) | |
tree | 8ac0a5a6ca5d6d498cc9e83da31bdfeaf7254d7e | |
parent | a69c486a3d210d390a57b4f4a6d633e45204112e (diff) |
Change of plan - we need to include feature attributes here as well.
Change-Id: I431b7ff79cffd5c9a7ff06f41a2fdd56bf2f968c
-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; |