summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-20 14:23:33 +0200
committerNoel Grandin <noel@peralex.com>2014-01-07 09:43:37 +0200
commit82625bb98e256b83351328d3bf2a14e3dd244eef (patch)
tree9b661850ae5df9ea27fcac063cfe61862046c8d1 /svx
parent347af397cafa97cfa7d5027f83fff784ca04a397 (diff)
remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/databaselocationinput.cxx2
-rw-r--r--svx/source/form/fmshimp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx
index 50266e8c069c..1661cd8f5370 100644
--- a/svx/source/form/databaselocationinput.cxx
+++ b/svx/source/form/databaselocationinput.cxx
@@ -104,7 +104,7 @@ namespace svx
)
{
aExtensionList.append( *pExtension );
- aExtensionList.append( (sal_Unicode)';' );
+ aExtensionList.append( ';' );
}
m_rLocationInput.SetFilter( aExtensionList.makeStringAndClear() );
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 66a67eec3a96..94d4c2e8fad7 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -2967,7 +2967,7 @@ void FmXFormShell::impl_collectFormSearchContexts_nothrow( const Reference< XInt
// the prefix for the next level
aNextLevelPrefix = _rCurrentLevelPrefix;
if ( !_rCurrentLevelPrefix.isEmpty() )
- aNextLevelPrefix.append( (sal_Unicode)'/' );
+ aNextLevelPrefix.append( '/' );
aNextLevelPrefix.append( sCurrentFormName );
// remember both the form and it's "display name"