diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-13 15:03:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:29 +0200 |
commit | 15113ea855baab1f8319a7125cec90d203904cb7 (patch) | |
tree | 73d86eab424567cc5faa21dbb69d7937466c65f7 /sc/source/ui/app/inputhdl.cxx | |
parent | 39c8da8c86decbe3443a786ad445a18b0078daa3 (diff) |
remove unnecessary sal_Unicode casts in SC module
Change-Id: Iee7688ea60b4d45d3e6725afd46e9cbb5ebe26c5
Diffstat (limited to 'sc/source/ui/app/inputhdl.cxx')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 26d16f18467c..ad51f493ce89 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -185,7 +185,7 @@ void removeChars(OUString& rStr, sal_Unicode c) for (sal_Int32 i = 0, n = aBuf.getLength(); i < n; ++i) { if (aBuf[i] == c) - aBuf[i] = sal_Unicode(' '); + aBuf[i] = ' '; } rStr = aBuf.makeStringAndClear(); } @@ -386,13 +386,13 @@ inline OUString GetEditText(EditEngine* pEng) static void lcl_RemoveTabs(OUString& rStr) { - removeChars(rStr, sal_Unicode('\t')); + removeChars(rStr, '\t'); } static void lcl_RemoveLineEnd(OUString& rStr) { rStr = convertLineEnd(rStr, LINEEND_LF); - removeChars(rStr, sal_Unicode('\n')); + removeChars(rStr, '\n'); } static sal_Int32 lcl_MatchParenthesis( const OUString& rStr, xub_StrLen nPos ) |