[Libreoffice-commits] .: sw/source unusedcode.easy
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Aug 5 10:30:34 PDT 2012
sw/source/filter/ww8/rtfattributeoutput.cxx | 10 ----------
sw/source/filter/ww8/rtfattributeoutput.hxx | 1 -
unusedcode.easy | 1 -
3 files changed, 12 deletions(-)
New commits:
commit a76dac1fb62823c357ad8f2bd789483b7ea7badd
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Aug 5 19:28:40 2012 +0200
Bin OString RtfAttributeOutput::WriteHex (unusedcode.easy)
Change-Id: I6c76d43319aec669982a9694e7f98e5ae1d1a4de
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index a02d407..de19745 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 14e59f3..4a13da4 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_
diff --git a/unusedcode.easy b/unusedcode.easy
index 2a0f9b0..b0b79a2 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,6 +1,5 @@
FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
PopupMenu::SetSelectedEntry(unsigned short)
-RtfAttributeOutput::WriteHex(rtl::OString)
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
ScCompressedArray<int, unsigned char>::GetEntryCount() const
More information about the Libreoffice-commits
mailing list