summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-30 16:57:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 16:49:27 +0200
commit63389fd12c7bea6f8153c0e595ade0cef4d83ef5 (patch)
treec970276b47ce3b9fc3f3674ff3189fcf3dc90a6a /sax
parente9e134dc214088230206a4f8f46e53b686ae6a7f (diff)
-Werror,-Wunused-function
Change-Id: Ic8692444519af1d5d3532b2cd348fe3194ab47d4
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index f49b8c2bc1fb..567b2380b40d 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -867,23 +867,6 @@ static inline sal_Int32 getFirstLineBreak( const OUString & str ) throw ()
return -1;
}
-/** returns position of last ascii 10 within sequence, -1 when no 10 in string.
- */
-static inline sal_Int32 getLastLineBreak( const Sequence<sal_Int8> & seq) throw ()
-{
- const sal_Int8 *pSource = seq.getConstArray();
- sal_Int32 nLen = seq.getLength();
-
- for( int n = nLen-1; n >= 0 ; n -- )
- {
- if( LINEFEED == pSource[n] ) {
- return n;
- }
- }
- return -1;
-}
-
-
class SAXWriter :
public WeakImplHelper2<
XWriter,