diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-11 11:21:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-11 11:21:33 +0200 |
commit | 383ad54a25b97d4ae9c6fb76b92cb6fbaf8f1f0f (patch) | |
tree | 550fe02e3eacd7194875d6bb5abe2861d9ce4c54 /basctl | |
parent | 5645564d9cf20bb54accceb5b6bcf4990e05f476 (diff) |
-Werror,-Wunused-variable
Change-Id: Iac999c157d0d3fdb737bd2d92240e252cfb05333
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 8699ea308019..473832792997 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2419,8 +2419,7 @@ void WatchTreeListBox::UpdateWatches( bool bBasicStopped ) while ( pEntry ) { WatchItem* pItem = (WatchItem*)pEntry->GetUserData(); - OUString aVName( pItem->maName ); - DBG_ASSERT( !aVName.isEmpty(), "Var? - Must not be empty!" ); + DBG_ASSERT( !pItem->maName.isEmpty(), "Var? - Must not be empty!" ); OUString aWatchStr; OUString aTypeStr; if ( pCurMethod ) |