[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Julien Nabet
serval2412 at yahoo.fr
Wed Jun 5 23:31:57 PDT 2013
include/sfx2/sidebar/ContextChangeBroadcaster.hxx | 1 -
sfx2/source/sidebar/ContextChangeBroadcaster.cxx | 5 +----
2 files changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 11c00f1fdd63a4c9a011f1f2d0ca66945013f39b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Jun 6 08:31:12 2013 +0200
Fix -Werror,-Wunused-private-field
Change-Id: Idcba9e9bc6210250a37950a2b927b9b74cc57c4f
diff --git a/include/sfx2/sidebar/ContextChangeBroadcaster.hxx b/include/sfx2/sidebar/ContextChangeBroadcaster.hxx
index 0869631..aba7404 100644
--- a/include/sfx2/sidebar/ContextChangeBroadcaster.hxx
+++ b/include/sfx2/sidebar/ContextChangeBroadcaster.hxx
@@ -42,7 +42,6 @@ public:
private:
rtl::OUString msContextName;
- bool mbIsContextActive;
void BroadcastContextChange (
const cssu::Reference<css::frame::XFrame>& rxFrame,
diff --git a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
index c5cd093..a66d25b 100644
--- a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
+++ b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
@@ -31,8 +31,7 @@ namespace sfx2 { namespace sidebar {
ContextChangeBroadcaster::ContextChangeBroadcaster (void)
- : msContextName(),
- mbIsContextActive(false)
+ : msContextName()
{
}
@@ -47,8 +46,6 @@ ContextChangeBroadcaster::~ContextChangeBroadcaster (void)
void ContextChangeBroadcaster::Initialize (const ::rtl::OUString& rsContextName)
{
- OSL_ASSERT( ! mbIsContextActive);
-
msContextName = rsContextName;
}
More information about the Libreoffice-commits
mailing list