summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-25 09:05:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:50:33 +0000
commit74713b34a36577f19eb3194246de73fa4f2bb741 (patch)
tree334f601b030923ab621a92bae3f512ff67c99374 /include/tools
parent132f7b2a8cc986ee79c4124ed2bc368d6dfaa418 (diff)
loplugin:unusedmethods
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/line.hxx1
-rw-r--r--include/tools/multisel.hxx1
-rw-r--r--include/tools/stream.hxx15
3 files changed, 0 insertions, 17 deletions
diff --git a/include/tools/line.hxx b/include/tools/line.hxx
index 8a0486adf3fe..ec023abfc516 100644
--- a/include/tools/line.hxx
+++ b/include/tools/line.hxx
@@ -32,7 +32,6 @@ private:
Point maEnd;
public:
- Line() {};
Line( const Point& rStartPt, const Point& rEndPt ) : maStart( rStartPt ), maEnd( rEndPt ) {}
void SetStart( const Point& rStartPt ) { maStart = rStartPt; }
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx
index 5e5767ae26f9..2a8a656d4189 100644
--- a/include/tools/multisel.hxx
+++ b/include/tools/multisel.hxx
@@ -83,7 +83,6 @@ class TOOLS_DLLPUBLIC StringRangeEnumerator
sal_Int32 nFirst;
sal_Int32 nLast;
- Range() : nFirst( -1 ), nLast( -1 ) {}
Range( sal_Int32 i_nFirst, sal_Int32 i_nLast ) : nFirst( i_nFirst ), nLast( i_nLast ) {}
};
std::vector< StringRangeEnumerator::Range > maSequence;
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index a75341eb107c..c31bc8cc19da 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -138,21 +138,6 @@ public:
typedef tools::SvRef<SvLockBytes> SvLockBytesRef;
-// SvOpenLockBytes
-
-class TOOLS_DLLPUBLIC SvOpenLockBytes: public SvLockBytes
-{
-public:
-
- SvOpenLockBytes() : SvLockBytes(nullptr, false) {}
- SvOpenLockBytes(SvStream * pStream, bool bOwner):
- SvLockBytes(pStream, bOwner) {}
-
- virtual ErrCode FillAppend(const void * pBuffer, sal_Size nCount,
- sal_Size * pWritten) = 0;
-};
-
-
// SvStream
class TOOLS_DLLPUBLIC SvStream