summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-14 08:16:35 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:32 +0200
commitd366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch)
tree4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /sfx2
parentd2fa59e4025050c9b668ecff379d668f0db52639 (diff)
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/newhelp.cxx12
1 files changed, 6 insertions, 6 deletions
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();