diff options
author | gamebusterz <gamebusterz2@gmail.com> | 2015-02-21 00:46:20 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-02-20 21:25:49 +0000 |
commit | 1d85cf3504f5dcbbf0ae017eee47fc5a302a2739 (patch) | |
tree | 65d578a83fb0e00b4485247344072912f87ef81f /sfx2/source/sidebar/ContextChangeBroadcaster.cxx | |
parent | 5bd8dcd45cb37b093e526c929ff9e3f382b8a758 (diff) |
tdf Removed redundant blank lines in sfx2/source/sidebar (Now one line gap)
Change-Id: I603967833df03c1073b7bcac86da59b28a2835f0
Reviewed-on: https://gerrit.libreoffice.org/14569
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sfx2/source/sidebar/ContextChangeBroadcaster.cxx')
-rw-r--r-- | sfx2/source/sidebar/ContextChangeBroadcaster.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx index 3153a58f4295..ea761f0bcf58 100644 --- a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx +++ b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx @@ -24,40 +24,33 @@ #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> - using ::rtl::OUString; using namespace css; using namespace css::uno; namespace sfx2 { namespace sidebar { - ContextChangeBroadcaster::ContextChangeBroadcaster (void) : msContextName(), mbIsBroadcasterEnabled(true) { } - ContextChangeBroadcaster::~ContextChangeBroadcaster (void) { } - - void ContextChangeBroadcaster::Initialize (const ::rtl::OUString& rsContextName) { msContextName = rsContextName; } - void ContextChangeBroadcaster::Activate (const css::uno::Reference<css::frame::XFrame>& rxFrame) { if (msContextName.getLength() > 0) BroadcastContextChange(rxFrame, GetModuleName(rxFrame), msContextName); } - void ContextChangeBroadcaster::Deactivate (const css::uno::Reference<css::frame::XFrame>& rxFrame) { if (msContextName.getLength() > 0) @@ -69,7 +62,6 @@ void ContextChangeBroadcaster::Deactivate (const css::uno::Reference<css::frame: } } - bool ContextChangeBroadcaster::SetBroadcasterEnabled (const bool bIsEnabled) { const bool bWasEnabled (mbIsBroadcasterEnabled); @@ -77,7 +69,6 @@ bool ContextChangeBroadcaster::SetBroadcasterEnabled (const bool bIsEnabled) return bWasEnabled; } - void ContextChangeBroadcaster::BroadcastContextChange ( const css::uno::Reference<css::frame::XFrame>& rxFrame, const ::rtl::OUString& rsModuleName, @@ -108,7 +99,6 @@ void ContextChangeBroadcaster::BroadcastContextChange ( xMultiplexer->broadcastContextChangeEvent(aEvent, rxFrame->getController()); } - OUString ContextChangeBroadcaster::GetModuleName (const css::uno::Reference<css::frame::XFrame>& rxFrame) { if ( ! rxFrame.is() || ! rxFrame->getController().is()) @@ -126,7 +116,6 @@ OUString ContextChangeBroadcaster::GetModuleName (const css::uno::Reference<css: return OUString(); } - } } // end of namespace ::sd::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |