diff options
author | Guillaume Poussel <gpoussel@gmail.com> | 2011-01-06 20:29:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-07 11:06:02 +0000 |
commit | 865bef974dbe82eda780bb28516d83982ae07ed8 (patch) | |
tree | 295b2ecd32008baab0b82760172a04449b76a505 /dbaccess/source/ui/control | |
parent | 1fe3737d3d16f228a3668214d5b09ddc71c6e4a5 (diff) |
cppcheck cleanliness
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r-- | dbaccess/source/ui/control/tabletree.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 0e7d8d8aff66..9503c88d9746 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -282,8 +282,6 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn try { - // the root entry saying "all objects" - SvLBoxEntry* pAllObjects = NULL; if (haveVirtualRoot()) { String sRootEntryText; @@ -298,7 +296,7 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn sRootEntryText = String(ModuleRes(STR_ALL_VIEWS)); else sRootEntryText = String(ModuleRes(STR_ALL_TABLES_AND_VIEWS)); - pAllObjects = InsertEntry( sRootEntryText, NULL, FALSE, LIST_APPEND, reinterpret_cast< void* >( DatabaseObjectContainer::TABLES ) ); + InsertEntry( sRootEntryText, NULL, FALSE, LIST_APPEND, reinterpret_cast< void* >( DatabaseObjectContainer::TABLES ) ); } if ( _rTables.empty() ) |