[Libreoffice-commits] core.git: basctl/source
Stephan Bergmann
sbergman at redhat.com
Fri Oct 11 02:21:56 PDT 2013
basctl/source/basicide/baside2b.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 383ad54a25b97d4ae9c6fb76b92cb6fbaf8f1f0f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Oct 11 11:21:33 2013 +0200
-Werror,-Wunused-variable
Change-Id: Iac999c157d0d3fdb737bd2d92240e252cfb05333
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 8699ea3..4738327 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 )
More information about the Libreoffice-commits
mailing list