summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-21 16:18:50 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:16:58 +0200
commitd8f90e02a426b7aafa24450993e5f4b97f59b8a4 (patch)
treea0b94810dac5dc1ecaacce9b3175f23b50912a28
parenta8a356024474803864bf32032c0b530dc28d2294 (diff)
remove unused code SvStream::WriteUCharPtr(unsigned char const*)
Change-Id: I7f341a10d2fffb8eda45478756bc221127ab72cf
-rw-r--r--include/tools/stream.hxx1
-rw-r--r--tools/source/stream/stream.cxx6
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 8 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index d04109f39dbc..e7760fdbe4a1 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -333,7 +333,6 @@ public:
SvStream& WriteFloat( float nFloat );
SvStream& WriteDouble( const double& rDouble );
SvStream& WriteCharPtr( const char* pBuf );
- SvStream& WriteUCharPtr( const unsigned char* pBuf );
SvStream& WriteNumber( sal_uInt32 nUInt32 );
SvStream& WriteNumber( sal_Int32 nInt32 );
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index acd48dd1e653..476f1a86f1dd 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1221,12 +1221,6 @@ SvStream& SvStream::WriteCharPtr( const char* pBuf )
return *this;
}
-SvStream& SvStream::WriteUCharPtr( const unsigned char* pBuf )
-{
- Write( (char*)pBuf, strlen( (char*)pBuf ) );
- return *this;
-}
-
SvStream& SvStream::WriteStream( SvStream& rStream )
{
const sal_uInt32 cBufLen = 0x8000;
diff --git a/unusedcode.easy b/unusedcode.easy
index b6d66ae5270d..db3b261e71d8 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -118,7 +118,6 @@ SimpleErrorHandler::SimpleErrorHandler()
SmFontPickList::Contains(Font const&) const
SmParser::Insert(rtl::OUString const&, int)
SotFactory::Find(SvGlobalName const&)
-SvStream::WriteUCharPtr(unsigned char const*)
SvViewDataEntry::SetObjectSelected(bool)
SvdProgressInfo::ReportError()
SvpSalInstance::PostedEventsInQueue()