summaryrefslogtreecommitdiff
path: root/rsc/source/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-27 08:21:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-28 09:55:02 +0000
commit3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec (patch)
tree18600b1b78ed5ede7f7068a98fe3fe7b6962b311 /rsc/source/tools
parent48221d6a2bf4c327b6cadcdc65169997f7d7408d (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'rsc/source/tools')
-rw-r--r--rsc/source/tools/rscdef.cxx2
-rw-r--r--rsc/source/tools/rsctools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index 77a0b0de85f4..93d9144942a8 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -854,7 +854,7 @@ void RscFileTab :: DeleteFileContext( sal_uLong lFileKey ){
|* RscFileTab::NewCodeFile()
|*
*************************************************************************/
-sal_uLong RscFileTab :: NewCodeFile( const ByteString & rName )
+sal_uLong RscFileTab :: NewCodeFile( const rtl::OString& rName )
{
sal_uLong lKey;
RscFile * pFName;
diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx
index ff7c68b6e760..c4546077f87b 100644
--- a/rsc/source/tools/rsctools.cxx
+++ b/rsc/source/tools/rsctools.cxx
@@ -190,7 +190,7 @@ ByteString OutputFile ( ByteString aInput, const char * pExt )
UniString aExt( pExt, RTL_TEXTENCODING_ASCII_US );
aFileName.SetExtension( aExt );
- return ByteString( aFileName.GetFull(), RTL_TEXTENCODING_ASCII_US );
+ return rtl::OUStringToOString(aFileName.GetFull(), RTL_TEXTENCODING_ASCII_US);
}
/*************************************************************************