summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-03-30 09:36:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-03-30 12:21:40 +0000
commitda56de9ac4824eb365af20b351719395e725be39 (patch)
treef19ad159f5e12b9e62b2ee50f39016819b7a7c5c /shell
parent8d1a56c206e5c2ed6c331049198bb8ebc6176171 (diff)
remove type decorations on char literals
they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/all/xml_parser.cxx2
-rw-r--r--shell/source/win32/SysShExec.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index 6f466477aaed..4214a2a4d194 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -34,7 +34,7 @@ namespace /* private */
/* Extracts the local part of tag without
namespace decoration e.g. meta:creator -> creator */
- const XML_Char COLON = (XML_Char)':';
+ const XML_Char COLON = ':';
const XML_Char* get_local_name(const XML_Char* rawname)
{
diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx
index 9e5fac4c9ee2..274f000f05bb 100644
--- a/shell/source/win32/SysShExec.cxx
+++ b/shell/source/win32/SysShExec.cxx
@@ -175,7 +175,7 @@ namespace
const OUString JUMP_MARK_HTM(".htm#");
const OUString JUMP_MARK_HTML(".html#");
- const sal_Unicode HASH_MARK = (sal_Unicode)'#';
+ const sal_Unicode HASH_MARK = '#';
bool has_jump_mark(const OUString& system_path, sal_Int32* jmp_mark_start = nullptr)
{