summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 12:19:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 14:50:16 +0200
commit3df141b2084d3abc1587ef24d2b371b779bb3d50 (patch)
tree2d24947c36901ec68ad0be2d85fd55d4542e1006 /dbaccess
parent7811a0e581ca34f59daf4210c568f818d8c9dfdd (diff)
loplugin:unusedmethods
Change-Id: Ie90e53583484ee4f378ec92634adf3be7cd9ecbb Reviewed-on: https://gerrit.libreoffice.org/70650 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx17
-rw-r--r--dbaccess/source/ui/inc/marktree.hxx3
-rw-r--r--dbaccess/source/ui/inc/tabletree.hxx41
3 files changed, 0 insertions, 61 deletions
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 9a4add20afaa..3d3dc35f3af5 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -479,28 +479,11 @@ void TableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConne
m_xTreeView->make_sorted();
}
-bool OTableTreeListBox::isWildcardChecked(SvTreeListEntry* _pEntry)
-{
- if (_pEntry)
- {
- OBoldListboxString* pTextItem = static_cast<OBoldListboxString*>(_pEntry->GetFirstItem(SvLBoxItemType::String));
- if (pTextItem)
- return pTextItem->isEmphasized();
- }
- return false;
-}
-
bool TableTreeListBox::isWildcardChecked(weld::TreeIter& rEntry)
{
return m_xTreeView->get_text_emphasis(rEntry, m_nTextColumn);
}
-void OTableTreeListBox::checkWildcard(SvTreeListEntry* _pEntry)
-{
- SetCheckButtonState(_pEntry, SvButtonState::Checked);
- checkedButton_noBroadcast(_pEntry);
-}
-
void TableTreeListBox::checkWildcard(weld::TreeIter& rEntry)
{
if (!m_bShowToggles)
diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx
index 0711870574a4..cc9b09c96133 100644
--- a/dbaccess/source/ui/inc/marktree.hxx
+++ b/dbaccess/source/ui/inc/marktree.hxx
@@ -46,9 +46,6 @@ public:
virtual void CheckButtonHdl() override;
void CheckButtons(); // make the button states consistent (bottom-up)
- /// the handler given is called whenever the check state of one or more items changed
- void SetCheckHandler(const Link<void*,void>& _rHdl) { m_aCheckButtonHandler = _rHdl; }
-
protected:
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& _rRect) override;
virtual void checkedButton_noBroadcast(SvTreeListEntry* _pEntry);
diff --git a/dbaccess/source/ui/inc/tabletree.hxx b/dbaccess/source/ui/inc/tabletree.hxx
index 27eedbda7575..8afc1ad37468 100644
--- a/dbaccess/source/ui/inc/tabletree.hxx
+++ b/dbaccess/source/ui/inc/tabletree.hxx
@@ -48,13 +48,9 @@ class OTableTreeListBox final : public OMarkableTreeListBox
public:
OTableTreeListBox(vcl::Window* pParent, WinBits nWinStyle);
- void init() { m_bVirtualRoot = true; }
-
typedef std::pair< OUString, bool > TTableViewName;
typedef std::vector< TTableViewName > TNames;
- void suppressEmptyFolders() { m_bNoEmptyFolders = true; }
-
/** call when HiContrast change.
*/
void notifyHiContrastChanged();
@@ -109,18 +105,6 @@ public:
SvTreeListEntry* getAllObjectsEntry() const;
- /** does a wildcard check of the given entry
- <p>There are two different 'checked' states: If the user checks all children of an entry, this is different
- from checking the entry itself. The second is called 'wildcard' checking, 'cause in the resulting
- table filter it's represented by a wildcard.</p>
- */
- void checkWildcard(SvTreeListEntry* _pEntry);
-
- /** determine if the given entry is 'wildcard checked'
- @see checkWildcard
- */
- static bool isWildcardChecked(SvTreeListEntry* pEntry);
-
private:
virtual void InitEntry(SvTreeListEntry* _pEntry, const OUString& _rString, const Image& _rCollapsedBitmap, const Image& _rExpandedBitmap, SvLBoxButtonKind _eButtonKind) override;
@@ -184,10 +168,6 @@ public:
void SuppressEmptyFolders() { m_bNoEmptyFolders = true; }
void DisableCheckButtons();
- /** determines whether the given entry denotes a tables folder
- */
- static bool isFolderEntry( const SvTreeListEntry* _pEntry );
-
/** fill the table list with the tables belonging to the connection described by the parameters
@param _rxConnection
the connection, which must support the service com.sun.star.sdb.Connection
@@ -211,27 +191,6 @@ public:
const css::uno::Sequence< OUString>& _rViews
);
- /** returns a NamedDatabaseObject record which describes the given entry
- */
- css::sdb::application::NamedDatabaseObject
- describeObject( SvTreeListEntry* _pEntry );
-
- /** to be used if a foreign instance added a table
- */
- SvTreeListEntry* addedTable( const OUString& _rName );
-
- /** to be used if a foreign instance removed a table
- */
- void removedTable( const OUString& _rName );
-
- /** returns the fully qualified name of a table entry
- @param _pEntry
- the entry whose name is to be obtained. Must not denote a folder entry.
- */
- OUString getQualifiedTableName( SvTreeListEntry* _pEntry ) const;
-
- SvTreeListEntry* getEntryByQualifiedName( const OUString& _rName );
-
std::unique_ptr<weld::TreeIter> getAllObjectsEntry() const;
/** does a wildcard check of the given entry