summaryrefslogtreecommitdiff
path: root/rsc/source/prj
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-01 23:31:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-06 10:33:04 +0000
commitcd676159ca49756549fa81b29caf77a805cb4a5e (patch)
treeeae9e14a9dfe2085dd9d0da39c008b6f076d9feb /rsc/source/prj
parent73a395cdc7d3ad802182a470c799720307ed408e (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'rsc/source/prj')
-rw-r--r--rsc/source/prj/start.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index 3952622fa0fb..aeddeb767621 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -167,7 +167,7 @@ static sal_Bool CallRsc2( RscStrList * pInputList,
RscPtrPtr * pCmdLine )
{
int nRet;
- ByteString* pString;
+ rtl::OString* pString;
RscVerbosity eVerbosity = RscVerbosityNormal;
RscPtrPtr aNewCmdL;
@@ -205,7 +205,7 @@ static sal_Bool CallRsc2( RscStrList * pInputList,
for ( size_t i = 0, n = pInputList->size(); i < n; ++i )
{
pString = (*pInputList)[ i ];
- aNewCmdL.Append( rsc_strdup( pString->GetBuffer() ) );
+ aNewCmdL.Append( rsc_strdup( pString->getStr() ) );
};
if ( eVerbosity >= RscVerbosityVerbose )
@@ -244,7 +244,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
char ** ppStr;
RscPtrPtr aCmdLine; // Kommandozeile
sal_uInt32 i;
- ByteString* pString;
+ rtl::OString* pString;
pStr = ::ResponseFile( &aCmdLine, argv, argc );
if( pStr )
@@ -287,7 +287,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
else
{
// Eingabedatei
- aInputList.push_back( new ByteString( *ppStr ) );
+ aInputList.push_back( new rtl::OString(*ppStr) );
}
ppStr++;
i++;
@@ -321,7 +321,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
bError = sal_True;
break;
}
- aTmpList.push_back( new ByteString( aTmpName ) );
+ aTmpList.push_back( new rtl::OString(aTmpName) );
};
};
@@ -338,7 +338,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
};
for ( size_t k = 0, n = aTmpList.size(); k < n; ++k )
- unlink( aTmpList[ k ]->GetBuffer() );
+ unlink( aTmpList[ k ]->getStr() );
return( bError );
}