diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:32 +0200 |
commit | d366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch) | |
tree | 4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /sd/source/ui/unoidl/unopage.cxx | |
parent | d2fa59e4025050c9b668ecff379d668f0db52639 (diff) |
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'sd/source/ui/unoidl/unopage.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 185daab2a77d..9ad34730d968 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -1516,7 +1516,7 @@ OUString SdGenericDrawPage::getBookmarkURL() const { const OUString aBookmarkName( SdDrawPage::getPageApiNameFromUiName( static_cast<SdPage*>(SvxFmDrawPage::mpPage)->GetBookmarkName() ) ); aRet.append( aFileName ); - aRet.append( (sal_Unicode)'#' ); + aRet.append( '#' ); aRet.append( aBookmarkName ); } } @@ -1529,7 +1529,7 @@ void SdGenericDrawPage::setBookmarkURL( OUString& rURL ) { if( SvxFmDrawPage::mpPage ) { - sal_Int32 nIndex = rURL.indexOf( (sal_Unicode)'#' ); + sal_Int32 nIndex = rURL.indexOf( '#' ); if( nIndex != -1 ) { const OUString aFileName( rURL.copy( 0, nIndex ) ); @@ -2198,7 +2198,7 @@ OUString getUiNameFromPageApiNameImpl( const OUString& rApiName ) sal_Int32 nChar; for( nChar = 0; nChar < nChars; nChar++, pString++ ) { - if((*pString < sal_Unicode('0')) || (*pString > sal_Unicode('9'))) + if((*pString < '0') || (*pString > '9')) { // found a non number character, so this is not the default // name for this page @@ -2211,7 +2211,7 @@ OUString getUiNameFromPageApiNameImpl( const OUString& rApiName ) { OUStringBuffer sBuffer; sBuffer.append( SD_RESSTR(STR_PAGE) ); - sBuffer.append( sal_Unicode( ' ' ) ); + sBuffer.append( ' ' ); sBuffer.append( aNumber ); return sBuffer.makeStringAndClear(); } |