summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-11 11:21:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-11 11:21:33 +0200
commit383ad54a25b97d4ae9c6fb76b92cb6fbaf8f1f0f (patch)
tree550fe02e3eacd7194875d6bb5abe2861d9ce4c54
parent5645564d9cf20bb54accceb5b6bcf4990e05f476 (diff)
-Werror,-Wunused-variable
Change-Id: Iac999c157d0d3fdb737bd2d92240e252cfb05333
-rw-r--r--basctl/source/basicide/baside2b.cxx3
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 )