summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-08 14:41:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-09 07:28:25 +0100
commit313744d4f23f242f5ee979d229fe394211ff7ffd (patch)
tree7c2e83e0eb5eb2b133c0eaa1a61bb179b554f14d /dbaccess
parentccb6b8967ce3d84bb141379e51a339544f753446 (diff)
loplugin:unusedmethods
Change-Id: I242f56f2bc5dc8fce6db1ba8f1f8269da4fec0fa Reviewed-on: https://gerrit.libreoffice.org/68938 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/opendoccontrols.cxx9
-rw-r--r--dbaccess/source/ui/inc/opendoccontrols.hxx1
2 files changed, 0 insertions, 10 deletions
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx
index 4b72452af67b..c3c15e36070d 100644
--- a/dbaccess/source/ui/control/opendoccontrols.cxx
+++ b/dbaccess/source/ui/control/opendoccontrols.cxx
@@ -196,15 +196,6 @@ namespace dbaui
return sURL;
}
- OUString OpenDocumentListBox::GetSelectedDocumentFilter() const
- {
- OUString sFilter;
- sal_Int32 nSelected = GetSelectedEntryPos();
- if ( LISTBOX_ENTRY_NOTFOUND != GetSelectedEntryPos() )
- sFilter = impl_getDocumentAtIndex( nSelected ).second;
- return sFilter;
- }
-
OpenDocumentListBox::StringPair OpenDocumentListBox::impl_getDocumentAtIndex( sal_uInt16 _nListIndex, bool _bSystemNotation ) const
{
MapIndexToStringPair::const_iterator pos = m_aURLs.find( _nListIndex );
diff --git a/dbaccess/source/ui/inc/opendoccontrols.hxx b/dbaccess/source/ui/inc/opendoccontrols.hxx
index a5d476616a8f..3e972ce36747 100644
--- a/dbaccess/source/ui/inc/opendoccontrols.hxx
+++ b/dbaccess/source/ui/inc/opendoccontrols.hxx
@@ -59,7 +59,6 @@ namespace dbaui
OpenDocumentListBox( vcl::Window* _pParent, const sal_Char* _pAsciiModuleName );
OUString GetSelectedDocumentURL() const;
- OUString GetSelectedDocumentFilter() const;
private:
virtual void RequestHelp( const HelpEvent& _rHEvt ) override;