summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authornccuong <cao.cuong.ngo@gmail.com>2013-03-04 15:25:02 +0100
committerEike Rathke <erack@redhat.com>2013-03-06 12:59:26 +0000
commita6b91730053fc61416716ae176081b91de52532b (patch)
tree192e578875f9abe82ca535e3cb794944bac9d9aa /UnoControls
parent6374ae0721a5e5da9ed1a477f9642feba01199a6 (diff)
fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/base/registercontrols.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/UnoControls/source/base/registercontrols.cxx b/UnoControls/source/base/registercontrols.cxx
index dfcdfb0d8f67..94df3e701ba1 100644
--- a/UnoControls/source/base/registercontrols.cxx
+++ b/UnoControls/source/base/registercontrols.cxx
@@ -122,12 +122,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL ctl_component_getFactory( const s
// Write no ";" at end of line and dont forget "else" ! (see macro)
//=============================================================================
IF_NAME_CREATECOMPONENTFACTORY_SINGLE( FrameControl )
- else
- IF_NAME_CREATECOMPONENTFACTORY_SINGLE( ProgressBar )
- else
- IF_NAME_CREATECOMPONENTFACTORY_SINGLE( ProgressMonitor )
- else
- IF_NAME_CREATECOMPONENTFACTORY_SINGLE( StatusIndicator )
+ else IF_NAME_CREATECOMPONENTFACTORY_SINGLE( ProgressBar )
+ else IF_NAME_CREATECOMPONENTFACTORY_SINGLE( ProgressMonitor )
+ else IF_NAME_CREATECOMPONENTFACTORY_SINGLE( StatusIndicator )
//=============================================================================
// Factory is valid - service was found.