diff options
author | Noel Grandin <noel@peralex.com> | 2016-10-05 12:34:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-10-05 12:34:55 +0200 |
commit | 1e3996ce83b786fc61cedda0ec8f9a9ad358f032 (patch) | |
tree | ed42ef842cc466f2796bb2056846831037761d57 /dbaccess/source/ui | |
parent | b51ea041dbcda1428fb5bfb6a5e8d8092fbc9226 (diff) |
loplugin:unnecessaryoverride in dbaccess
Change-Id: I458092403faa46f80957a55b48374678e196de11
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 25 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppController.hxx | 8 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/sbagrid.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/querycontroller.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/sbagrid.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/QTableWindow.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/QTableWindow.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/querycontroller.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/textconnectionsettings_uno.cxx | 7 |
13 files changed, 0 insertions, 75 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 9aa1a837a469..7b134ef4769e 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -2281,31 +2281,6 @@ void OApplicationController::onDeleteEntry() executeChecked(nId,Sequence<PropertyValue>()); } -void OApplicationController::executeUnChecked(sal_uInt16 _nCommandId, const Sequence< PropertyValue>& aArgs) -{ - OGenericUnoController::executeUnChecked( _nCommandId, aArgs ); -} - -void OApplicationController::executeChecked(sal_uInt16 _nCommandId, const Sequence< PropertyValue>& aArgs) -{ - OGenericUnoController::executeChecked( _nCommandId, aArgs ); -} - -bool OApplicationController::isCommandEnabled(sal_uInt16 _nCommandId) const -{ - return OGenericUnoController::isCommandEnabled( _nCommandId ); -} - -bool OApplicationController::isCommandEnabled( const OUString& _rCompleteCommandURL ) const -{ - return OGenericUnoController::isCommandEnabled( _rCompleteCommandURL ); -} - -Reference< XController > OApplicationController::getXController() throw( RuntimeException ) -{ - return OGenericUnoController::getXController(); -} - VclPtr<PopupMenu> OApplicationController::getContextMenu( Control& /*_rControl*/ ) const { return VclPtr<PopupMenu>::Create( ModuleRes( RID_MENU_APP_EDIT ) ); diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index 928a46e8aca9..ded00698318d 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -512,15 +512,7 @@ namespace dbaui void containerFound( const css::uno::Reference< css::container::XContainer >& _xContainer); // IController - using OGenericUnoController::executeUnChecked; - virtual void executeUnChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override; - using OGenericUnoController::executeChecked; - virtual void executeChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override; - virtual bool isCommandEnabled(sal_uInt16 _nCommandId) const override; - virtual bool isCommandEnabled( const OUString& _rCompleteCommandURL ) const override; virtual bool isDataSourceReadOnly() const override; - virtual css::uno::Reference< css::frame::XController > - getXController() throw( css::uno::RuntimeException ) override; // IControlActionListener overridables virtual bool requestQuickHelp( const SvTreeListEntry* _pEntry, OUString& _rText ) const override; diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 7092450fb83b..983ab27d7a07 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -925,11 +925,6 @@ void SbaGridControl::Select() m_pMasterListener->SelectionChanged(); } -void SbaGridControl::CursorMoved() -{ - FmGridControl::CursorMoved(); -} - void SbaGridControl::ActivateCell(long nRow, sal_uInt16 nCol, bool bSetCellFocus /*= sal_True*/ ) { FmGridControl::ActivateCell(nRow, nCol, bSetCellFocus); diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx index 729acc566df7..ca7b62e71f68 100644 --- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx +++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx @@ -722,11 +722,6 @@ using namespace ::com::sun::star; } - void OSpreadSheetConnectionPageSetup::implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) - { - OConnectionTabPageSetup::implInitControls(_rSet, _bSaveValue); - } - bool OSpreadSheetConnectionPageSetup::FillItemSet( SfxItemSet* _rSet ) { bool bChangedSomething = OConnectionTabPageSetup::FillItemSet(_rSet); diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx index 3a4c168b4dfc..cbdb3e273e4e 100644 --- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx +++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx @@ -48,11 +48,8 @@ namespace dbaui protected: VclPtr<CheckBox> m_pPasswordrequired; - protected: - virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override; virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList) override; virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList) override; - }; // OTextConnectionPage diff --git a/dbaccess/source/ui/inc/querycontroller.hxx b/dbaccess/source/ui/inc/querycontroller.hxx index 966f4f16a027..1d99b4c4eb2c 100644 --- a/dbaccess/source/ui/inc/querycontroller.hxx +++ b/dbaccess/source/ui/inc/querycontroller.hxx @@ -191,10 +191,6 @@ namespace dbaui virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; // OPropertySetHelper - virtual void SAL_CALL setFastPropertyValue_NoBroadcast( - sal_Int32 nHandle, - const css::uno::Any& rValue - ) throw (css::uno::Exception, std::exception ) override; virtual void SAL_CALL getFastPropertyValue( css::uno::Any& rValue, sal_Int32 nHandle diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx index f7feedcbc2b3..5a79761dc2e5 100644 --- a/dbaccess/source/ui/inc/sbagrid.hxx +++ b/dbaccess/source/ui/inc/sbagrid.hxx @@ -261,7 +261,6 @@ namespace dbaui virtual void StartDrag( sal_Int8 _nAction, const Point& _rPosPixel ) override; // BrowseBox overridables - virtual void CursorMoved() override; virtual sal_Int8 AcceptDrop( const BrowserAcceptDropEvent& rEvt ) override; virtual sal_Int8 ExecuteDrop( const BrowserExecuteDropEvent& rEvt ) override; virtual void MouseButtonDown( const BrowserMouseEvent& rMEvt) override; diff --git a/dbaccess/source/ui/querydesign/QTableWindow.cxx b/dbaccess/source/ui/querydesign/QTableWindow.cxx index 041c4d0d0f7e..6f5ae57a7f35 100644 --- a/dbaccess/source/ui/querydesign/QTableWindow.cxx +++ b/dbaccess/source/ui/querydesign/QTableWindow.cxx @@ -184,9 +184,4 @@ bool OQueryTableWindow::ExistsAVisitedConn() const return static_cast<const OQueryTableView*>(getTableView())->ExistsAVisitedConn(this); } -void OQueryTableWindow::KeyInput( const KeyEvent& rEvt ) -{ - OTableWindow::KeyInput( rEvt ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/ui/querydesign/QTableWindow.hxx b/dbaccess/source/ui/querydesign/QTableWindow.hxx index e9cb775783cd..e9ac4e63c4d6 100644 --- a/dbaccess/source/ui/querydesign/QTableWindow.hxx +++ b/dbaccess/source/ui/querydesign/QTableWindow.hxx @@ -50,7 +50,6 @@ namespace dbaui virtual OUString GetName() const override { return GetWinName(); } protected: - virtual void KeyInput( const KeyEvent& rEvt ) override; virtual void OnEntryDoubleClicked(SvTreeListEntry* pEntry) override; // is called from DoubleClickHdl of the ListBox diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index bd91b53a3db8..60e6ea3b62ec 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -1849,11 +1849,6 @@ void OSelectionBrowseBox::AddOrder( const OTableFieldDescRef& rInfo, const EOrde } } -void OSelectionBrowseBox::ArrangeControls(sal_uInt16& nX, sal_uInt16 nY) -{ - EditBrowseBox::ArrangeControls(nX, nY); -} - bool OSelectionBrowseBox::Save() { bool bRet = true; diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx index d11d45798faa..4fad23f3af48 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx @@ -192,7 +192,6 @@ namespace dbaui virtual void MouseButtonUp( const BrowserMouseEvent& rEvt ) override; virtual void KeyInput( const KeyEvent& rEvt ) override; virtual void Command(const CommandEvent& rEvt) override; - virtual void ArrangeControls(sal_uInt16& nX, sal_uInt16 nY) override; virtual ::svt::CellController* GetController(long nRow, sal_uInt16 nCol) override; virtual void InitController(::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol) override; diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 499aefb19894..cf07fa1ef03d 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -365,11 +365,6 @@ Reference< XPropertySetInfo > SAL_CALL OQueryController::getPropertySetInfo() th return xInfo; } -void SAL_CALL OQueryController::setFastPropertyValue_NoBroadcast( sal_Int32 i_nHandle, const Any& i_rValue ) throw ( Exception, std::exception ) -{ - OPropertyContainer::setFastPropertyValue_NoBroadcast( i_nHandle, i_rValue ); -} - void SAL_CALL OQueryController::getFastPropertyValue( Any& o_rValue, sal_Int32 i_nHandle ) const { switch ( i_nHandle ) diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index 746c16ad8176..7db87b8d2fd1 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -102,8 +102,6 @@ namespace dbaui protected: // OGenericUnoDialog overridables virtual VclPtr<Dialog> createDialog( vcl::Window* _pParent ) override; - virtual void implInitialize( const css::uno::Any& _rValue ) override; - protected: using OTextConnectionSettingsDialog_BASE::getFastPropertyValue; }; @@ -206,11 +204,6 @@ namespace dbaui return VclPtr<TextConnectionSettingsDialog>::Create( _pParent, *m_pDatasourceItems ); } - void OTextConnectionSettingsDialog::implInitialize(const Any& _rValue) - { - OTextConnectionSettingsDialog_BASE::implInitialize( _rValue ); - } - void SAL_CALL OTextConnectionSettingsDialog::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) throw(Exception, std::exception) { PropertyValues::const_iterator pos = m_aPropertyValues.find( _nHandle ); |