summaryrefslogtreecommitdiff
path: root/rsc/source/tools
diff options
context:
space:
mode:
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);
}
/*************************************************************************