summaryrefslogtreecommitdiffstats
path: root/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx')
-rw-r--r--binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx b/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
index ad6494509..15918f095 100644
--- a/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
+++ b/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
@@ -216,7 +216,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/ else
/*N*/ {
/*N*/ // Non-unicode strings are always stored with UTF8 encoding
-/*N*/ return ByteString( aString, RTL_TEXTENCODING_UTF8 ).Len() + 5;
+/*N*/ return rtl::OUStringToOString(aString, RTL_TEXTENCODING_UTF8).getLength() + 5;
/*N*/ }
/*N*/ }