From d366c9b20ec86f3fe521812a0c22def3bfd1f05e Mon Sep 17 00:00:00 2001
From: Noel Grandin <noel@peralex.com>
Date: Thu, 14 Nov 2013 08:16:35 +0200
Subject: remove unnecessary sal_Unicode casts in various places

Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
---
 editeng/source/items/bulitem.cxx  | 2 +-
 editeng/source/items/flditem.cxx  | 4 ++--
 editeng/source/items/svxfont.cxx  | 2 +-
 editeng/source/items/xmlcnitm.cxx | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'editeng/source/items')

diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index 5e1e37f71665..1f23708e6219 100644
--- a/editeng/source/items/bulitem.cxx
+++ b/editeng/source/items/bulitem.cxx
@@ -222,7 +222,7 @@ void SvxBulletItem::SetDefaults_Impl()
     nStart          = 1;
     nStyle          = BS_123;
     nJustify        = BJ_HLEFT | BJ_VCENTER;
-    cSymbol         = sal_Unicode(' ');
+    cSymbol         = ' ';
     nScale          = 75;
 }
 
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index 1394c072ab14..8eb506a90a49 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -165,7 +165,7 @@ SvxFieldData* SvxFieldData::Create(const uno::Reference<text::XTextContent>& xTe
                     if (!aPresentation.isEmpty())
                         aContent = aPresentation;
 
-                    sal_Int32 nPos = aContent.lastIndexOf(sal_Unicode(' '), 0);
+                    sal_Int32 nPos = aContent.lastIndexOf(' ', 0);
                     if (nPos > 0)
                     {
                         aFirstName = aContent.copy(0, nPos);
@@ -1255,7 +1255,7 @@ OUString SvxDateTimeField::GetFormatted(
         OUStringBuffer aBuf(aRet);
 
         if (!aRet.isEmpty())
-            aBuf.append(sal_Unicode(' '));
+            aBuf.append(' ');
 
         aBuf.append(
             SvxExtTimeField::GetFormatted(rTime, eTimeFormat, rFormatter, eLanguage));
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index 40f0420a6746..cd379cf06202 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -28,7 +28,7 @@
 #include <editeng/svxfont.hxx>
 #include <editeng/escapementitem.hxx>
 
-const sal_Unicode CH_BLANK = sal_Unicode(' ');  // ' ' Space character
+const sal_Unicode CH_BLANK = ' ';  // ' ' Space character
 
 
 SvxFont::SvxFont()
diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx
index d63487b33aae..8cd6de2fa38e 100644
--- a/editeng/source/items/xmlcnitm.cxx
+++ b/editeng/source/items/xmlcnitm.cxx
@@ -132,7 +132,7 @@ bool SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, sal
                     return sal_False;
 
                 pData = (AttributeData*)aAny.getValue();
-                sal_Int32 pos = aName.indexOf( sal_Unicode(':') );
+                sal_Int32 pos = aName.indexOf( ':' );
                 if( pos != -1 )
                 {
                     const OUString aPrefix( aName.copy( 0, pos ));
-- 
cgit