summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/recovery
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-13 16:14:08 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:30 +0200
commitd9648d3567e60f4482984a25e2b78e8a2fae52e3 (patch)
tree0edfb9386344f4745704d6d3b3763a7ebccfe0fb /dbaccess/source/core/recovery
parent531c2dc791098d3d335abc0ddd055780fe3b7f2a (diff)
remove unnecessary sal_Unicode casts in DBACCESS module
Change-Id: I4c4ab5d672e994b1e8e3beac027d3f4e8f700714
Diffstat (limited to 'dbaccess/source/core/recovery')
-rw-r--r--dbaccess/source/core/recovery/dbdocrecovery.cxx8
-rw-r--r--dbaccess/source/core/recovery/storagetextstream.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx
index f3de5ebba01b..2708589c030b 100644
--- a/dbaccess/source/core/recovery/dbdocrecovery.cxx
+++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx
@@ -79,15 +79,15 @@ namespace dbaccess
static void lcl_getPersistentRepresentation( const MapStringToCompDesc::value_type& i_rComponentDesc, OUStringBuffer& o_rBuffer )
{
o_rBuffer.append( i_rComponentDesc.first );
- o_rBuffer.append( sal_Unicode( '=' ) );
+ o_rBuffer.append( '=' );
o_rBuffer.append( i_rComponentDesc.second.sName );
- o_rBuffer.append( sal_Unicode( ',' ) );
+ o_rBuffer.append( ',' );
o_rBuffer.append( sal_Unicode( i_rComponentDesc.second.bForEditing ? '1' : '0' ) );
}
static bool lcl_extractCompDesc( const OUString& i_rIniLine, OUString& o_rStorName, SubComponentDescriptor& o_rCompDesc )
{
- const sal_Int32 nEqualSignPos = i_rIniLine.indexOf( sal_Unicode( '=' ) );
+ const sal_Int32 nEqualSignPos = i_rIniLine.indexOf( '=' );
if ( nEqualSignPos < 1 )
{
OSL_FAIL( "lcl_extractCompDesc: invalid map file entry - unexpected pos of '='" );
@@ -95,7 +95,7 @@ namespace dbaccess
}
o_rStorName = i_rIniLine.copy( 0, nEqualSignPos );
- const sal_Int32 nCommaPos = i_rIniLine.lastIndexOf( sal_Unicode( ',' ) );
+ const sal_Int32 nCommaPos = i_rIniLine.lastIndexOf( ',' );
if ( nCommaPos != i_rIniLine.getLength() - 2 )
{
OSL_FAIL( "lcl_extractCompDesc: invalid map file entry - unexpected pos of ','" );
diff --git a/dbaccess/source/core/recovery/storagetextstream.cxx b/dbaccess/source/core/recovery/storagetextstream.cxx
index c835c2134977..05822b651eee 100644
--- a/dbaccess/source/core/recovery/storagetextstream.cxx
+++ b/dbaccess/source/core/recovery/storagetextstream.cxx
@@ -60,7 +60,7 @@ namespace dbaccess
static const OUString& lcl_getLineFeed()
{
- static const OUString s_sLineFeed( sal_Unicode( '\n' ) );
+ static const OUString s_sLineFeed( '\n' );
return s_sLineFeed;
}
}