diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-01-03 15:40:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-06 11:29:45 +0100 |
commit | 744903b8c8c5a31d304a3191869b7bd76000f36c (patch) | |
tree | eff6a31e195c21eee7f87297ca95abdc1df8f3c2 /vcl | |
parent | afa6a774936c34b09b37ab8539193ac529681798 (diff) |
Removed redundant semicolons
Change-Id: Ife14b8c3f7d121deb390deb5f405dd42d3016acf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86156
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/osx/a11yfocustracker.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/salinst.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/salvtables.cxx | 6 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/edit.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/vcl/osx/a11yfocustracker.cxx b/vcl/osx/a11yfocustracker.cxx index b62c27edfbc7..057169a3016d 100644 --- a/vcl/osx/a11yfocustracker.cxx +++ b/vcl/osx/a11yfocustracker.cxx @@ -85,7 +85,7 @@ void AquaA11yFocusTracker::WindowEventHandler(void * pThis, VclSimpleEvent& rEve break; default: break; - }; + } } AquaA11yFocusTracker::AquaA11yFocusTracker() : diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 6b5c177bc755..c1b11ebfaa58 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -475,7 +475,7 @@ void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent ) default: OSL_FAIL( "unhandled NSApplicationDefined event" ); break; - }; + } } bool AquaSalInstance::RunInMainYield( bool bHandleAllCurrentEvents ) diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 15630fe70503..cb6f6d5f0087 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -723,12 +723,12 @@ public: virtual void set_stack_background() override { - set_background(m_xWidget->GetSettings().GetStyleSettings().GetWindowColor());; + set_background(m_xWidget->GetSettings().GetStyleSettings().GetWindowColor()); } virtual void set_highlight_background() override { - set_background(m_xWidget->GetSettings().GetStyleSettings().GetHighlightColor());; + set_background(m_xWidget->GetSettings().GetStyleSettings().GetHighlightColor()); } SystemWindow* getSystemWindow() @@ -1033,7 +1033,7 @@ public: auto aPopup = m_aMenus.find(nItemId); if (aPopup != m_aMenus.end()) { - return PopupMenu::GetActivePopupMenu() == aPopup->second;; + return PopupMenu::GetActivePopupMenu() == aPopup->second; } return false; diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index cf8a9c98bcb0..f295c634543c 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -950,7 +950,7 @@ IMPL_STATIC_LINK( Application, PostEventHandler, void*, pCallData, void ) nEvent = SalEvent::NONE; pEventData = nullptr; break; - }; + } if( pData->mpWin && pData->mpWin->mpWindowImpl->mpFrameWindow.get() && pEventData ) ImplWindowFrameProc( pData->mpWin->mpWindowImpl->mpFrameWindow.get(), nEvent, pEventData ); diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 4525eb630613..34b92941a587 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1536,7 +1536,7 @@ bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt ) bGoEnd = true;break; default: break; - }; + } // range is checked in ImplSetSelection ... if ( bGoLeft && aSel.Max() ) diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 8211c6069c78..63cbe782d435 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -4251,7 +4251,7 @@ void VclBuilder::set_response(const OString& sID, short nResponse) default: assert(nResponse >= 100 && "keep non-canned responses in range 100+ to avoid collision with vcl RET_*"); break; - }; + } for (const auto & child : m_aChildren) { diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 9f4a33456a4e..4b0d02493448 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -3786,7 +3786,7 @@ bool ToolBox::EventNotify( NotifyEvent& rNEvt ) } default: break; - }; + } } else if( rNEvt.GetType() == MouseNotifyEvent::GETFOCUS ) { diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 6fb3911f9aee..96f2bdc0e253 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -771,7 +771,7 @@ PPDParser::PPDParser( const OUString& rFile ) : case PPDKey::SetupType::JCLSetup: pSetupType = "JCLSetup";break; case PPDKey::SetupType::AnySetup: pSetupType = "AnySetup";break; default: break; - }; + } SAL_INFO("vcl.unx.print", "\t\"" << pKey->getKey() << "\" (" << pKey->countValues() << "values) OrderDependency: " << pKey->m_nOrderDependency << pSetupType ); @@ -787,7 +787,7 @@ PPDParser::PPDParser( const OUString& rFile ) : case eSymbol: pVType = "symbol";break; case eNo: pVType = "no";break; default: break; - }; + } SAL_INFO("vcl.unx.print", "\t\t" << (pValue == pKey->m_pDefaultValue ? "(Default:) " : "") << "option: \"" << pValue->m_aOption |