summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y
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 /vcl/unx/gtk/a11y
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 'vcl/unx/gtk/a11y')
-rw-r--r--vcl/unx/gtk/a11y/atkaction.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atktextattributes.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/gtk/a11y/atkaction.cxx b/vcl/unx/gtk/a11y/atkaction.cxx
index 98a85e94d77d..ad8e3a789038 100644
--- a/vcl/unx/gtk/a11y/atkaction.cxx
+++ b/vcl/unx/gtk/a11y/atkaction.cxx
@@ -235,7 +235,7 @@ action_wrapper_get_keybinding (AtkAction *action,
appendKeyStrokes( aRet, xBinding->getAccessibleKeyBinding( n ) );
if( n < 2 )
- aRet.append( (sal_Char) ';' );
+ aRet.append( ';' );
}
// !! FIXME !! remember keystroke in wrapper object ?
diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx
index bf4ae6f28d32..1ee48d456c17 100644
--- a/vcl/unx/gtk/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk/a11y/atktextattributes.cxx
@@ -927,7 +927,7 @@ TabStopList2String( const uno::Any& rAny, bool default_tabs )
{
sal_Int32 indexOfTab = 0;
sal_Int32 numberOfTabs = theTabStops.getLength();
- sal_Unicode lastFillChar = (sal_Unicode) ' ';
+ sal_Unicode lastFillChar = ' ';
for( ; indexOfTab < numberOfTabs; ++indexOfTab )
{
@@ -965,19 +965,19 @@ TabStopList2String( const uno::Any& rAny, bool default_tabs )
lastFillChar = theTabStops[indexOfTab].FillChar;
switch (lastFillChar)
{
- case (sal_Unicode) ' ':
+ case ' ':
lead_char = "blank ";
break;
- case (sal_Unicode) '.':
+ case '.':
lead_char = "dotted ";
break;
- case (sal_Unicode) '-':
+ case '-':
lead_char = "dashed ";
break;
- case (sal_Unicode) '_':
+ case '_':
lead_char = "lined ";
break;