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/TabBar.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/TabBar.cxx')
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 829f5f016cfb..d5196da235e4 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -34,13 +34,9 @@ #include <com/sun/star/graphic/XGraphicProvider.hpp> - using namespace css; using namespace css::uno; - - - namespace sfx2 { namespace sidebar { TabBar::TabBar ( @@ -66,12 +62,10 @@ TabBar::TabBar ( #endif } - TabBar::~TabBar (void) { } - void TabBar::Paint (const Rectangle& rUpdateArea) { Window::Paint(rUpdateArea); @@ -83,7 +77,6 @@ void TabBar::Paint (const Rectangle& rUpdateArea) Point(GetSizePixel().Width()-nHorizontalPadding, mnMenuSeparatorY)); } - sal_Int32 TabBar::GetDefaultWidth (void) { return Theme::GetInteger(Theme::Int_TabItemWidth) @@ -91,7 +84,6 @@ sal_Int32 TabBar::GetDefaultWidth (void) + Theme::GetInteger(Theme::Int_TabBarRightPadding); } - void TabBar::SetDecks ( const ResourceManager::DeckContextDescriptorContainer& rDecks) { @@ -136,7 +128,6 @@ void TabBar::SetDecks ( Layout(); } - void TabBar::UpdateButtonIcons (void) { Image aImage = Theme::GetImage(Theme::Image_TabBarMenu); @@ -171,7 +162,6 @@ void TabBar::UpdateButtonIcons (void) Invalidate(); } - void TabBar::Layout (void) { const SvBorder aPadding ( @@ -219,7 +209,6 @@ void TabBar::Layout (void) Invalidate(); } - void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId) { for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end()); @@ -233,7 +222,6 @@ void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId) } } - void TabBar::RemoveDeckHighlight () { for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end()); @@ -244,7 +232,6 @@ void TabBar::RemoveDeckHighlight () } } - void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent) { SetBackground(Theme::GetPaint(Theme::Paint_TabBarBackground).GetWallpaper()); @@ -253,14 +240,11 @@ void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent) Window::DataChanged(rDataChangedEvent); } - bool TabBar::Notify (NotifyEvent&) { return false; } - - RadioButton* TabBar::CreateTabItem (const DeckDescriptor& rDeckDescriptor) { RadioButton* pItem = ControlFactory::CreateTabItem(this); @@ -270,7 +254,6 @@ RadioButton* TabBar::CreateTabItem (const DeckDescriptor& rDeckDescriptor) return pItem; } - Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const { return Tools::GetImage( @@ -279,8 +262,6 @@ Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const mxFrame); } - - IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG) { try @@ -292,7 +273,6 @@ IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG) return 1; } - const ::rtl::OUString TabBar::GetDeckIdForIndex (const sal_Int32 nIndex) const { if (nIndex<0 || static_cast<size_t>(nIndex)>=maItems.size()) @@ -301,7 +281,6 @@ const ::rtl::OUString TabBar::GetDeckIdForIndex (const sal_Int32 nIndex) const return maItems[nIndex].msDeckId; } - void TabBar::ToggleHideFlag (const sal_Int32 nIndex) { if (nIndex<0 || static_cast<size_t>(nIndex)>=maItems.size()) @@ -316,7 +295,6 @@ void TabBar::ToggleHideFlag (const sal_Int32 nIndex) } } - void TabBar::RestoreHideFlags (void) { bool bNeedsLayout (false); @@ -334,7 +312,6 @@ void TabBar::RestoreHideFlags (void) Layout(); } - void TabBar::UpdateFocusManager (FocusManager& rFocusManager) { ::std::vector<Button*> aButtons; @@ -351,7 +328,6 @@ void TabBar::UpdateFocusManager (FocusManager& rFocusManager) rFocusManager.SetButtons(aButtons); } - IMPL_LINK(TabBar, OnToolboxClicked, void*, EMPTYARG) { if ( ! mpMenuButton) @@ -387,7 +363,6 @@ IMPL_LINK(TabBar, OnToolboxClicked, void*, EMPTYARG) return 0; } - } } // end of namespace sfx2::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |