Kaydet (Commit) 63389fd1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-function

Change-Id: Ic8692444519af1d5d3532b2cd348fe3194ab47d4
üst e9e134dc
...@@ -867,23 +867,6 @@ static inline sal_Int32 getFirstLineBreak( const OUString & str ) throw () ...@@ -867,23 +867,6 @@ static inline sal_Int32 getFirstLineBreak( const OUString & str ) throw ()
return -1; 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 : class SAXWriter :
public WeakImplHelper2< public WeakImplHelper2<
XWriter, XWriter,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment