summaryrefslogtreecommitdiff
path: root/svtools/bmpmaker/bmp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-04 23:58:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-09 12:16:56 +0100
commit104261010aa5ccbb7df4a82a3a3cafcfb0591fa7 (patch)
treeb8db79d2707ff5925ad01dba8a41bd8ab6d66847 /svtools/bmpmaker/bmp.cxx
parent1a1e953ee33c213dc8b88dd96a69ca9fc5e42d50 (diff)
some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
Diffstat (limited to 'svtools/bmpmaker/bmp.cxx')
-rw-r--r--svtools/bmpmaker/bmp.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svtools/bmpmaker/bmp.cxx b/svtools/bmpmaker/bmp.cxx
index b33ebd889d2a..0dcce2c0e2c0 100644
--- a/svtools/bmpmaker/bmp.cxx
+++ b/svtools/bmpmaker/bmp.cxx
@@ -93,13 +93,13 @@ sal_Bool BmpApp::GetCommandOption( const ::std::vector< String >& rArgs, const S
for( int i = 0, nCount = rArgs.size(); ( i < nCount ) && !bRet; i++ )
{
- String aTestStr( '-' );
+ rtl::OUString aTestStr( '-' );
for( int n = 0; ( n < 2 ) && !bRet; n++ )
{
aTestStr += rSwitch;
- if( aTestStr.CompareIgnoreCaseToAscii( rArgs[ i ] ) == COMPARE_EQUAL )
+ if( aTestStr.equalsIgnoreAsciiCase( rArgs[ i ] ) )
{
bRet = sal_True;
@@ -110,7 +110,7 @@ sal_Bool BmpApp::GetCommandOption( const ::std::vector< String >& rArgs, const S
}
if( 0 == n )
- aTestStr = '/';
+ aTestStr = rtl::OUString('/');
}
}
@@ -125,13 +125,13 @@ sal_Bool BmpApp::GetCommandOptions( const ::std::vector< String >& rArgs, const
for( int i = 0, nCount = rArgs.size(); ( i < nCount ); i++ )
{
- String aTestStr( '-' );
+ rtl::OUString aTestStr( '-' );
for( int n = 0; ( n < 2 ) && !bRet; n++ )
{
aTestStr += rSwitch;
- if( aTestStr.CompareIgnoreCaseToAscii( rArgs[ i ] ) == COMPARE_EQUAL )
+ if( aTestStr.equalsIgnoreAsciiCase( rArgs[ i ] ) )
{
if( i < ( nCount - 1 ) )
rParams.push_back( rArgs[ i + 1 ] );
@@ -142,7 +142,7 @@ sal_Bool BmpApp::GetCommandOptions( const ::std::vector< String >& rArgs, const
}
if( 0 == n )
- aTestStr = '/';
+ aTestStr = rtl::OUString('/');
}
}
@@ -196,8 +196,8 @@ int BmpApp::Start( const ::std::vector< String >& rArgs )
memcpy( aLangInfo.maLangDir, aLangDir.getStr(), aLangDir.getLength() + 1 );
- GetCommandOption( rArgs, 'f', aOutputFileName );
- GetCommandOptions( rArgs, 'i', aInDirVector );
+ GetCommandOption( rArgs, rtl::OUString('f'), aOutputFileName );
+ GetCommandOptions( rArgs, rtl::OUString('i'), aInDirVector );
Create( aSrsName, aInDirVector, aOutName, aLangInfo );
}