diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 14:19:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 06:31:43 +0000 |
commit | 6f96e86dae6e8fd0861848bbb396278831afc01d (patch) | |
tree | ec5833e3ec3872ab426069f0b72dee69d9734943 /editeng/source/uno | |
parent | ef637a1c4e16eb9228b6d5e01fc670c4d24afb9b (diff) |
loplugin:expandablemethodds in editeng..extensions
Change-Id: Ibe1929d74ff460955e39f2ccce3056b2051ddf08
Reviewed-on: https://gerrit.libreoffice.org/30013
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/uno')
-rw-r--r-- | editeng/source/uno/unoedprx.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 86e30b776521..5a47cb202eea 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -103,7 +103,6 @@ public: void SetBulletOffset( sal_Int32 nOffset, sal_Int32 nLen ) { mnBulletOffset = nOffset; mnBulletLen = nLen; } sal_Int32 GetBulletOffset() const { return mnBulletOffset; } sal_Int32 GetBulletLen() const { return mnBulletLen; } - void AreInBullet() { mbInBullet = true; } bool InBullet() const { return mbInBullet; } /// returns false if the given range is non-editable (e.g. contains bullets or _parts_ of fields) @@ -245,7 +244,7 @@ void SvxAccessibleTextIndex::SetIndex( sal_Int32 nIndex, const SvxTextForwarder& if( nIndex < nBulletLen ) { - AreInBullet(); + mbInBullet = true; SetBulletOffset( nIndex, nBulletLen ); mnEEIndex = 0; return; |