From d366c9b20ec86f3fe521812a0c22def3bfd1f05e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Nov 2013 08:16:35 +0200 Subject: remove unnecessary sal_Unicode casts in various places Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec --- sfx2/source/appl/newhelp.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 93f0c3206376..bcef1d2c7a7f 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -598,7 +598,7 @@ namespace sfx2 { #define INSERT_DATA( j ) \ if ( aAnchorList[j].getLength() > 0 ) \ { \ - aData.append( aRefList[j] ).append( sal_Unicode('#') ).append( aAnchorList[j] ); \ + aData.append( aRefList[j] ).append( '#' ).append( aAnchorList[j] ); \ aIndexCB.SetEntryData( nPos, NEW_ENTRY( aData.makeStringAndClear(), insert ) ); \ } \ else \ @@ -613,7 +613,7 @@ void IndexTabPage_Impl::InitializeIndex() // By now more than 256 equal entries are not allowed sal_Unicode append[256]; for( int k = 0; k < 256; ++k ) - append[k] = sal_Unicode( ' ' ); + append[k] = ' '; sfx2::KeywordInfo aInfo; aIndexCB.SetUpdateMode( sal_False ); @@ -664,7 +664,7 @@ void IndexTabPage_Impl::InitializeIndex() DBG_ASSERT( aRefList.getLength() == aAnchorList.getLength(),"reference list and title list of different length" ); - insert = ( ( ndx = aKeywordPair.indexOf( sal_Unicode( ';' ) ) ) == -1 ? sal_False : sal_True ); + insert = ( ( ndx = aKeywordPair.indexOf( ';' ) ) == -1 ? sal_False : sal_True ); if ( insert ) { @@ -695,9 +695,9 @@ void IndexTabPage_Impl::InitializeIndex() { aData .append( aKeywordPair ) - .append( sal_Unicode(' ') ) - .append( sal_Unicode('-') ) - .append( sal_Unicode(' ') ) + .append( ' ' ) + .append( '-' ) + .append( ' ' ) .append( aTitleList[j] ); aTempString = aData.makeStringAndClear(); -- cgit