summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-08 09:12:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-08 09:12:27 +0000
commit849a2471bd649b252648fa4e43be91dab4d9bdc5 (patch)
treedf146e6687298ab0b9c4eb2c21004ae436009e7e /sax/source
parent2cae4ff166ad5ad51db49d6b0fab86b2c8090fb8 (diff)
update unused list
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/converter.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 698dea826ba2..8d573e2e3f64 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1787,22 +1787,6 @@ sal_Int32 Converter::decodeBase64SomeChars(
return nCharsDecoded;
}
-void Converter::clearUndefinedChars(rtl::OUString& rTarget, const rtl::OUString& rSource)
-{
- sal_uInt32 nLength(rSource.getLength());
- rtl::OUStringBuffer sBuffer(nLength);
- for (sal_uInt32 i = 0; i < nLength; i++)
- {
- sal_Unicode cChar = rSource[i];
- if (!(cChar < 0x0020) ||
- (cChar == 0x0009) || // TAB
- (cChar == 0x000A) || // LF
- (cChar == 0x000D)) // legal character
- sBuffer.append(cChar);
- }
- rTarget = sBuffer.makeStringAndClear();
-}
-
double Converter::GetConversionFactor(::rtl::OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit)
{
double fRetval(1.0);