summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-18 14:09:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 07:58:15 +0200
commite61e4e56994c22221dcc0e9f4c2cb62fd63ac823 (patch)
treed38359c4e9a3de7112075244d7013907ce135d4f /accessibility
parentba80f637b82ef5df7c650ec301ca9ebb5f678f44 (diff)
clang-tidy readability-misleading-indentation
Change-Id: I4673fc7c694924b41d048a1918ddb8b0e0af1f79 Reviewed-on: https://gerrit.libreoffice.org/61935 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/AccessibleGridControlBase.cxx18
-rw-r--r--accessibility/source/extended/accessiblelistbox.cxx2
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx2
3 files changed, 11 insertions, 11 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlBase.cxx b/accessibility/source/extended/AccessibleGridControlBase.cxx
index daa93e64db65..dbf25022ca35 100644
--- a/accessibility/source/extended/AccessibleGridControlBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlBase.cxx
@@ -398,15 +398,15 @@ sal_Int32 SAL_CALL AccessibleGridControlBase::getForeground( )
{
if ( pInst->IsControlForeground() )
nColor = pInst->GetControlForeground();
- else
- {
- vcl::Font aFont;
- if ( pInst->IsControlFont() )
- aFont = pInst->GetControlFont();
else
- aFont = pInst->GetFont();
- nColor = aFont.GetColor();
- }
+ {
+ vcl::Font aFont;
+ if ( pInst->IsControlFont() )
+ aFont = pInst->GetControlFont();
+ else
+ aFont = pInst->GetFont();
+ nColor = aFont.GetColor();
+ }
}
return sal_Int32(nColor);
}
@@ -422,7 +422,7 @@ sal_Int32 SAL_CALL AccessibleGridControlBase::getBackground( )
{
if ( pInst->IsControlBackground() )
nColor = pInst->GetControlBackground();
- else
+ else
nColor = pInst->GetBackground().GetColor();
}
return sal_Int32(nColor);
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx
index 0f194f0d404a..0ef5168141a5 100644
--- a/accessibility/source/extended/accessiblelistbox.cxx
+++ b/accessibility/source/extended/accessiblelistbox.cxx
@@ -384,7 +384,7 @@ namespace accessibility
{
if( bHasButtons )
nCase = 2;
- else
+ else
nCase = 3;
}
return nCase;
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index 943047213a1c..8e11b4587e10 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -385,7 +385,7 @@ namespace accessibility
{
if( bHasButtons )
nCase = 2;
- else
+ else
nCase = 3;
}
return nCase;