summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-29 01:24:43 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-29 02:03:07 +0100
commit15006df5bdce7d06ee5c3ecd2f1618ce3dc6124c (patch)
tree9ff11c498e2f912a30bbc8f87983b247c929c519 /tools
parent1258b576aef2ff3cdd4f44e1c03edb8c862a79f6 (diff)
tools: remove unused SvStream::IsA() and associated ID_*STREAM macros
Change-Id: I6ed0991fb5bd1d5085ee1b93323b57b1afc69860
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/pstm.cxx11
-rw-r--r--tools/source/stream/stream.cxx10
-rw-r--r--tools/source/stream/strmunx.cxx5
-rw-r--r--tools/source/stream/strmwnt.cxx5
4 files changed, 0 insertions, 31 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index eeab479bfa80..1c518983c0ef 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -182,17 +182,6 @@ void SvPersistStream::SetStream( SvStream * pStream )
}
}
-/** Returns the identifier of this stream class.
-
- @return ID_PERSISTSTREAM
-
- @see SvStream::IsA
-*/
-sal_uInt16 SvPersistStream::IsA() const
-{
- return ID_PERSISTSTREAM;
-}
-
void SvPersistStream::ResetError()
{
SvStream::ResetError();
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index dcfc40c6672f..086f79725c33 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -431,11 +431,6 @@ SvStream::~SvStream()
delete[] pRWBuf;
}
-sal_uInt16 SvStream::IsA() const
-{
- return (sal_uInt16)ID_STREAM;
-}
-
void SvStream::ClearError()
{
bIsEof = false;
@@ -1726,11 +1721,6 @@ SvMemoryStream::~SvMemoryStream()
}
}
-sal_uInt16 SvMemoryStream::IsA() const
-{
- return (sal_uInt16)ID_MEMORYSTREAM;
-}
-
const void* SvMemoryStream::GetBuffer()
{
Flush();
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index 9a937fec96f7..010bcc6660c6 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -306,11 +306,6 @@ SvFileStream::~SvFileStream()
delete pInstanceData;
}
-sal_uInt16 SvFileStream::IsA() const
-{
- return ID_FILESTREAM;
-}
-
sal_Size SvFileStream::GetData( void* pData, sal_Size nSize )
{
#ifdef DBG_UTIL
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx
index 29e0923043ab..d5f519fcef05 100644
--- a/tools/source/stream/strmwnt.cxx
+++ b/tools/source/stream/strmwnt.cxx
@@ -133,11 +133,6 @@ SvFileStream::~SvFileStream()
delete pInstanceData;
}
-sal_uInt16 SvFileStream::IsA() const
-{
- return ID_FILESTREAM;
-}
-
/// Does not check for EOF, makes isEof callable
sal_Size SvFileStream::GetData( void* pData, sal_Size nSize )
{