From e5c1e15eda804463c9021664e868979b019c203e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Oct 2016 14:54:03 +0200 Subject: loplugin:expandablemethods in toolkit..tools Change-Id: I7221bf131d28804ee93474b11973bbc066cc2764 Reviewed-on: https://gerrit.libreoffice.org/30268 Tested-by: Jenkins Reviewed-by: Noel Grandin --- tools/source/fsys/urlobj.cxx | 6 +++--- tools/source/ref/pstm.cxx | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'tools') diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index d8dd46ebd74f..8b38c70eef5d 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -3147,9 +3147,9 @@ bool INetURLObject::checkHierarchical() const { } } -bool INetURLObject::appendSegment(OUString const & rTheSegment, - EncodeMechanism eMechanism, - rtl_TextEncoding eCharset) +bool INetURLObject::Append(OUString const & rTheSegment, + EncodeMechanism eMechanism, + rtl_TextEncoding eCharset) { return insertName(rTheSegment, false, LAST_SEGMENT, eMechanism, eCharset); } diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index 997512141368..6c1015fc172f 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -68,11 +68,6 @@ SvPersistStream::SvPersistStream( SvClassManager & rMgr, SvStream * pStream ) } SvPersistStream::~SvPersistStream() -{ - ClearStream(); -} - -void SvPersistStream::ClearStream() { if( pStm != nullptr ) { -- cgit