summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-25 14:54:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-26 06:50:03 +0000
commite5c1e15eda804463c9021664e868979b019c203e (patch)
treef87eaace3604bdb94f56b9709608179c336831e7 /tools
parent47317f041693db1a9d4618a1d9f7dcefe52b2904 (diff)
loplugin:expandablemethods in toolkit..tools
Change-Id: I7221bf131d28804ee93474b11973bbc066cc2764 Reviewed-on: https://gerrit.libreoffice.org/30268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx6
-rw-r--r--tools/source/ref/pstm.cxx5
2 files changed, 3 insertions, 8 deletions
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
@@ -69,11 +69,6 @@ SvPersistStream::SvPersistStream( SvClassManager & rMgr, SvStream * pStream )
SvPersistStream::~SvPersistStream()
{
- ClearStream();
-}
-
-void SvPersistStream::ClearStream()
-{
if( pStm != nullptr )
{
SyncSysStream();