summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-08 10:39:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-08 18:57:02 +0200
commitc8b7a833c8f195facf225d062adc762a07ea55b9 (patch)
tree251b11197a25ca5beebbed2338ba34de2133773a /dbaccess/source
parenta5ada62f564b90cf211929baf7694f477a53a445 (diff)
loplugin:unusedmethods
Change-Id: I58819edd0965ff52c3fc6c20d84bc5951a79bbe2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100381 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/inc/JoinExchange.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableWindow.hxx8
-rw-r--r--dbaccess/source/ui/querydesign/JoinExchange.cxx6
-rw-r--r--dbaccess/source/ui/querydesign/TableWindow.cxx17
4 files changed, 0 insertions, 33 deletions
diff --git a/dbaccess/source/ui/inc/JoinExchange.hxx b/dbaccess/source/ui/inc/JoinExchange.hxx
index 2412c64c365f..253ee0ccbdaa 100644
--- a/dbaccess/source/ui/inc/JoinExchange.hxx
+++ b/dbaccess/source/ui/inc/JoinExchange.hxx
@@ -52,8 +52,6 @@ namespace dbaui
static css::uno::Sequence< sal_Int8 > getUnoTunnelId();
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& _rIdentifier ) override;
- void StartDrag( vcl::Window* pWindow, sal_Int8 nDragSourceActions, IDragTransferableListener* _pListener );
-
static OJoinExchangeData GetSourceDescription(const css::uno::Reference< css::datatransfer::XTransferable >& _rxObject);
static bool isFormatAvailable( const DataFlavorExVector& _rFormats ,SotClipboardFormatId _nSlotID=SotClipboardFormatId::SBA_JOIN);
diff --git a/dbaccess/source/ui/inc/TableWindow.hxx b/dbaccess/source/ui/inc/TableWindow.hxx
index 83baf38e53fd..f45020de008f 100644
--- a/dbaccess/source/ui/inc/TableWindow.hxx
+++ b/dbaccess/source/ui/inc/TableWindow.hxx
@@ -93,14 +93,6 @@ namespace dbaui
virtual void OnEntryDoubleClicked(weld::TreeIter& /*rEntry*/) { }
// called from the DoubleClickHdl of the ListBox
- /** HandleKeyInput tries to handle the KeyEvent. Movement or deletion
- @param rEvt
- The KeyEvent
- @return
- <TRUE/> when the table could handle the KeyEvent.
- */
- bool HandleKeyInput( const KeyEvent& rEvt );
-
/** delete the user data with the equal type as created within createUserData
@param _pUserData
The user data store in the listbox entries. Created with a call to createUserData.
diff --git a/dbaccess/source/ui/querydesign/JoinExchange.cxx b/dbaccess/source/ui/querydesign/JoinExchange.cxx
index 7aec24766901..1f1b235c4a3b 100644
--- a/dbaccess/source/ui/querydesign/JoinExchange.cxx
+++ b/dbaccess/source/ui/querydesign/JoinExchange.cxx
@@ -44,12 +44,6 @@ namespace dbaui
{
}
- void OJoinExchObj::StartDrag( vcl::Window* _pWindow, sal_Int8 _nDragSourceActions, IDragTransferableListener* _pListener )
- {
- m_pDragListener = _pListener;
- TransferDataContainer::StartDrag(_pWindow, _nDragSourceActions);
- }
-
void OJoinExchObj::DragFinished( sal_Int8 /*nDropAction*/ )
{
if (m_pDragListener)
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx
index cdf27c775608..f7ec40c33518 100644
--- a/dbaccess/source/ui/querydesign/TableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindow.cxx
@@ -493,23 +493,6 @@ void OTableWindow::Remove()
pTabWinCont->Invalidate();
}
-bool OTableWindow::HandleKeyInput( const KeyEvent& rEvt )
-{
- const vcl::KeyCode& rCode = rEvt.GetKeyCode();
- sal_uInt16 nCode = rCode.GetCode();
- bool bShift = rCode.IsShift();
- bool bCtrl = rCode.IsMod1();
-
- bool bHandle = false;
-
- if( !bCtrl && !bShift && (nCode==KEY_DELETE) )
- {
- Remove();
- bHandle = true;
- }
- return bHandle;
-}
-
bool OTableWindow::ExistsAConn() const
{
return getTableView()->ExistsAConn(this);