summaryrefslogtreecommitdiff
path: root/sax/inc/xml2utf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/inc/xml2utf.hxx')
-rw-r--r--sax/inc/xml2utf.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sax/inc/xml2utf.hxx b/sax/inc/xml2utf.hxx
index bbbfd41b67ca..b9ffee34ee5f 100644
--- a/sax/inc/xml2utf.hxx
+++ b/sax/inc/xml2utf.hxx
@@ -56,6 +56,10 @@ public:
Unicode2TextConverter( rtl_TextEncoding encoding );
~Unicode2TextConverter();
+ inline ::com::sun::star::uno::Sequence<sal_Int8> convert( const OUString &s )
+ {
+ return convert( s.getStr() , s.getLength() );
+ }
::com::sun::star::uno::Sequence<sal_Int8> convert( const sal_Unicode * , sal_Int32 nLength );
bool canContinue() { return m_bCanContinue; }