diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-08-05 19:28:40 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-08-05 19:29:50 +0200 |
commit | a76dac1fb62823c357ad8f2bd789483b7ea7badd (patch) | |
tree | 17d4e671f811964d0a32e0791e1cd7cb8afba7a5 /sw | |
parent | c4486f247891cefe6222262dae0f5ef6581ebdca (diff) |
Bin OString RtfAttributeOutput::WriteHex (unusedcode.easy)
Change-Id: I6c76d43319aec669982a9694e7f98e5ae1d1a4de
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 10 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.hxx | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index a02d40728693..de1974510408 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -3230,16 +3230,6 @@ OString RtfAttributeOutput::WriteHex(sal_Int32 nNum) return RtfAttributeOutput::WriteHex((sal_uInt8*)&nNum, sizeof(sal_Int32)); } -OString RtfAttributeOutput::WriteHex(OString sString) -{ - RtfStringBuffer aRet; - - aRet->append(WriteHex(sString.getLength()+1)); - aRet->append(RtfAttributeOutput::WriteHex((sal_uInt8*)sString.getStr(), sString.getLength()+1)); - - return aRet.makeStringAndClear(); -} - void lcl_AppendSP( OStringBuffer& rBuffer, const char cName[], const ::rtl::OUString& rValue, diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index 14e59f31be70..4a13da432678 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -589,7 +589,6 @@ public: /// Writes binary data as a hex dump. static rtl::OString WriteHex(const sal_uInt8* pData, sal_uInt32 nSize, SvStream* pStream = 0, sal_uInt32 nLimit = 64); static rtl::OString WriteHex(sal_Int32 nNum); - static rtl::OString WriteHex(rtl::OString sString); }; #endif // _RTFATTRIBUTEOUTPUT_HXX_ |