summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdibrow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-13 16:32:09 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:31 +0200
commitd2fa59e4025050c9b668ecff379d668f0db52639 (patch)
tree50d536ea9310cb3c6abbbf8b8716fbae6adebda5 /svx/source/svdraw/svdibrow.cxx
parentc22ac891a3fa99908f0dcce730a83c34e7e9d7fa (diff)
remove unnecessary sal_Unicode casts in SVX module
Change-Id: I5d39af3bda3f1197fd1d706e7ef8d28b58d4851a
Diffstat (limited to 'svx/source/svdraw/svdibrow.cxx')
-rw-r--r--svx/source/svdraw/svdibrow.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index ee8682f397fc..393186ec9bbe 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -1166,9 +1166,9 @@ IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse)
sal_uInt16 nSepLen=1;
long nLongX = aNewText.toInt32();
long nLongY=0;
- sal_Int32 nPos = aNewText.indexOf(sal_Unicode('/'));
- if (nPos==-1) nPos=aNewText.indexOf(sal_Unicode(':'));
- if (nPos==-1) nPos=aNewText.indexOf(sal_Unicode(' '));
+ sal_Int32 nPos = aNewText.indexOf('/');
+ if (nPos==-1) nPos=aNewText.indexOf(':');
+ if (nPos==-1) nPos=aNewText.indexOf(' ');
if (nPos==-1) { nPos=aNewText.indexOf(".."); if (nPos!=-1) nSepLen=2; }
if (nPos!=01)
{
@@ -1227,7 +1227,7 @@ IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse)
case ITEM_FONTHEIGHT: {
sal_uIntPtr nHgt=0;
sal_uInt16 nProp=100;
- if (aNewText.indexOf(sal_Unicode('%')) != -1) {
+ if (aNewText.indexOf('%') != -1) {
nProp=(sal_uInt16)nLongVal;
} else {
nHgt=nLongVal;
@@ -1236,7 +1236,7 @@ IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse)
} break;
case ITEM_FONTWIDTH: {
sal_uInt16 nProp=100;
- if (aNewText.indexOf(sal_Unicode('%')) != -1) {
+ if (aNewText.indexOf('%') != -1) {
nProp=(sal_uInt16)nLongVal;
}
((SvxCharScaleWidthItem*)pNewItem)->SetValue(nProp);