summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/TabBar.cxx
diff options
context:
space:
mode:
authorgamebusterz <gamebusterz2@gmail.com>2015-02-20 02:46:58 +0530
committerMichael Meeks <michael.meeks@collabora.com>2015-02-20 21:25:17 +0000
commit5bd8dcd45cb37b093e526c929ff9e3f382b8a758 (patch)
treee9e93b53d509a04a1548b6da8cca868a5351964b /sfx2/source/sidebar/TabBar.cxx
parent1fcaf8a37a7133f07e5b9a18c4fadf17fe914f6d (diff)
tdf#12345 Removed redundant newlines in the code
Change-Id: Id3d8b6732caf58c70315db6e706338f7dac458c2 Reviewed-on: https://gerrit.libreoffice.org/14567 Tested-by: Jenkins <ci@libreoffice.org> 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.cxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 563b5feb12c8..829f5f016cfb 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -67,15 +67,11 @@ TabBar::TabBar (
}
-
-
TabBar::~TabBar (void)
{
}
-
-
void TabBar::Paint (const Rectangle& rUpdateArea)
{
Window::Paint(rUpdateArea);
@@ -88,8 +84,6 @@ void TabBar::Paint (const Rectangle& rUpdateArea)
}
-
-
sal_Int32 TabBar::GetDefaultWidth (void)
{
return Theme::GetInteger(Theme::Int_TabItemWidth)
@@ -98,8 +92,6 @@ sal_Int32 TabBar::GetDefaultWidth (void)
}
-
-
void TabBar::SetDecks (
const ResourceManager::DeckContextDescriptorContainer& rDecks)
{
@@ -114,7 +106,6 @@ void TabBar::SetDecks (
}
maItems.clear();
}
-
maItems.resize(rDecks.size());
sal_Int32 nIndex (0);
for (ResourceManager::DeckContextDescriptorContainer::const_iterator
@@ -146,8 +137,6 @@ void TabBar::SetDecks (
}
-
-
void TabBar::UpdateButtonIcons (void)
{
Image aImage = Theme::GetImage(Theme::Image_TabBarMenu);
@@ -183,8 +172,6 @@ void TabBar::UpdateButtonIcons (void)
}
-
-
void TabBar::Layout (void)
{
const SvBorder aPadding (
@@ -233,8 +220,6 @@ void TabBar::Layout (void)
}
-
-
void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId)
{
for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end());
@@ -249,8 +234,6 @@ void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId)
}
-
-
void TabBar::RemoveDeckHighlight ()
{
for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end());
@@ -262,8 +245,6 @@ void TabBar::RemoveDeckHighlight ()
}
-
-
void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent)
{
SetBackground(Theme::GetPaint(Theme::Paint_TabBarBackground).GetWallpaper());
@@ -273,8 +254,6 @@ void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent)
}
-
-
bool TabBar::Notify (NotifyEvent&)
{
return false;
@@ -282,7 +261,6 @@ bool TabBar::Notify (NotifyEvent&)
-
RadioButton* TabBar::CreateTabItem (const DeckDescriptor& rDeckDescriptor)
{
RadioButton* pItem = ControlFactory::CreateTabItem(this);
@@ -293,7 +271,6 @@ RadioButton* TabBar::CreateTabItem (const DeckDescriptor& rDeckDescriptor)
}
-
Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const
{
return Tools::GetImage(
@@ -304,8 +281,6 @@ Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const
-
-
IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG)
{
try
@@ -318,8 +293,6 @@ IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG)
}
-
-
const ::rtl::OUString TabBar::GetDeckIdForIndex (const sal_Int32 nIndex) const
{
if (nIndex<0 || static_cast<size_t>(nIndex)>=maItems.size())
@@ -329,8 +302,6 @@ const ::rtl::OUString TabBar::GetDeckIdForIndex (const sal_Int32 nIndex) const
}
-
-
void TabBar::ToggleHideFlag (const sal_Int32 nIndex)
{
if (nIndex<0 || static_cast<size_t>(nIndex)>=maItems.size())
@@ -346,8 +317,6 @@ void TabBar::ToggleHideFlag (const sal_Int32 nIndex)
}
-
-
void TabBar::RestoreHideFlags (void)
{
bool bNeedsLayout (false);
@@ -366,8 +335,6 @@ void TabBar::RestoreHideFlags (void)
}
-
-
void TabBar::UpdateFocusManager (FocusManager& rFocusManager)
{
::std::vector<Button*> aButtons;
@@ -385,8 +352,6 @@ void TabBar::UpdateFocusManager (FocusManager& rFocusManager)
}
-
-
IMPL_LINK(TabBar, OnToolboxClicked, void*, EMPTYARG)
{
if ( ! mpMenuButton)
@@ -423,7 +388,6 @@ IMPL_LINK(TabBar, OnToolboxClicked, void*, EMPTYARG)
}
-
} } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */