summaryrefslogtreecommitdiff
path: root/include/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 /include/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 'include/tools')
-rw-r--r--include/tools/pstm.hxx2
-rw-r--r--include/tools/urlobj.hxx9
2 files changed, 2 insertions, 9 deletions
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index a15a656e7e60..1693ae7bcda0 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -153,8 +153,6 @@ public:
SvPersistStream( SvClassManager &, SvStream * pStream );
virtual ~SvPersistStream() override;
- void ClearStream();
-
SvPersistBase * GetObject( Index nIdx ) const;
Index GetIndex( SvPersistBase * ) const;
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index e36446619646..d5d489ef8e53 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -906,10 +906,9 @@ public:
*/
OUString GetFileExtension() const;
- inline bool Append(OUString const & rTheSegment,
+ bool Append(OUString const & rTheSegment,
EncodeMechanism eMechanism = WAS_ENCODED,
- rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8)
- { return appendSegment(rTheSegment, eMechanism, eCharset); }
+ rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
void CutLastName();
@@ -1095,10 +1094,6 @@ private:
TOOLS_DLLPRIVATE bool checkHierarchical() const;
- bool appendSegment(
- OUString const & rTheSegment,
- EncodeMechanism eMechanism, rtl_TextEncoding eCharset);
-
TOOLS_DLLPRIVATE SubString getSegment(
sal_Int32 nIndex, bool bIgnoreFinalSlash) const;