summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-07-23 15:12:15 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-07-23 15:12:44 +0100
commit20ac67f06bc1a21a52e0843de3139d3d6133e4de (patch)
tree9b248a455dc0f8d13d2b086fbdc2a7bae57ff82b /basctl
parent0f6101cfef4c2e45d9f1f1b3a61ef94799e4526b (diff)
WaE: misc. fixes.
Change-Id: I6cab01b0b82f7b82fff617715c5af45d23c536fe
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx1
-rw-r--r--basctl/source/basicide/baside2b.cxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 0c91e85f3dd1..696d6034c5d2 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -772,7 +772,6 @@ void ModulWindow::BasicAddWatch()
aWatchStr = GetEditView()->GetSelected();
pLayout->GetWatchWindow().AddWatch( aWatchStr );
pLayout->GetWatchWindow().UpdateWatches();
- bInserted = sal_True;
}
}
}
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index d10859c1ae4d..3682d72d015b 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2006,6 +2006,7 @@ sal_Bool WatchTreeListBox::ImplBasicEntryEdited( SvLBoxEntry* pEntry, const Stri
bError = sal_True;
SbxBase::ResetError();
}
+ (void)bError; // used to Beep.
UpdateWatches();