summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-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 )