summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Panel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/Panel.cxx')
-rw-r--r--sfx2/source/sidebar/Panel.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx
index 769f8cc513ba..f7666e794599 100644
--- a/sfx2/source/sidebar/Panel.cxx
+++ b/sfx2/source/sidebar/Panel.cxx
@@ -38,11 +38,9 @@
#include <boost/bind.hpp>
-
using namespace css;
using namespace css::uno;
-
namespace sfx2 { namespace sidebar {
Panel::Panel (
@@ -71,14 +69,11 @@ Panel::Panel (
#endif
}
-
Panel::~Panel (void)
{
Dispose();
}
-
-
void Panel::Dispose (void)
{
mxPanelComponent = NULL;
@@ -99,14 +94,11 @@ void Panel::Dispose (void)
mpTitleBar.reset();
}
-
PanelTitleBar* Panel::GetTitleBar (void) const
{
return mpTitleBar.get();
}
-
-
void Panel::SetUIElement (const Reference<ui::XUIElement>& rxElement)
{
mxElement = rxElement;
@@ -116,7 +108,6 @@ void Panel::SetUIElement (const Reference<ui::XUIElement>& rxElement)
}
}
-
void Panel::SetExpanded (const bool bIsExpanded)
{
if (mbIsExpanded != bIsExpanded)
@@ -132,21 +123,16 @@ void Panel::SetExpanded (const bool bIsExpanded)
}
}
-
-
bool Panel::HasIdPredicate (const ::rtl::OUString& rsId) const
{
return msPanelId.equals(rsId);
}
-
-
void Panel::Paint (const Rectangle& rUpdateArea)
{
Window::Paint(rUpdateArea);
}
-
void Panel::Resize (void)
{
Window::Resize();
@@ -165,21 +151,17 @@ void Panel::Resize (void)
}
}
-
void Panel::Activate (void)
{
Window::Activate();
}
-
void Panel::DataChanged (const DataChangedEvent& rEvent)
{
(void)rEvent;
SetBackground(Theme::GetPaint(Theme::Paint_PanelBackground).GetWallpaper());
}
-
-
Reference<awt::XWindow> Panel::GetElementWindow (void)
{
if (mxElement.is())
@@ -192,7 +174,6 @@ Reference<awt::XWindow> Panel::GetElementWindow (void)
return NULL;
}
-
} } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */