summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docfmt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 09:39:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 12:17:01 +0000
commit9ab408277b8c68f3d987a36744171fc0ef1de2f6 (patch)
tree9b3a8866e2e61a86be84cd77b03e9ccbabbdc80b /sw/source/core/doc/docfmt.cxx
parent35a48ceb1d92021aa9ce1d17509cd72acc84c718 (diff)
loplugin:expandablemethodds in sw(part1)
Change-Id: Ic3a558e6b646b6b6bc4cb7e09a00695553023534 Reviewed-on: https://gerrit.libreoffice.org/30073 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/docfmt.cxx')
-rw-r--r--sw/source/core/doc/docfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index e20d29fe20e9..e96c431c347c 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -2073,7 +2073,7 @@ void SwFrameFormats::DeleteAndDestroyAll( bool keepDefault )
if ( _offset )
m_PosIndex.erase( begin() + _offset, end() );
else
- clear();
+ m_Array.clear();
}
std::pair<SwFrameFormats::const_iterator,bool> SwFrameFormats::push_back( const value_type& x )