summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-06-05 09:40:11 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-05 18:32:57 +0200
commitd17d8da64b2a9589d3194a370e3e39c647aa28a2 (patch)
treebe33743b7f4cf0f0182bf86ccb85ac810120d8b2 /sc/source/ui/sidebar
parent9e8869d8c9659ead95bd1c90e9e75d7726bdc96c (diff)
sidebar conversion tutorial: Get rid of ToolBox backgound(s).
In the header files, they are Windows, with Background in the name; in the .cxx, they are created using CreateToolBoxBackground() function. Change-Id: If24db0c4a59b702f31481a4018c8c19383d01216
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.cxx2
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.hxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index 0ba24366334d..affafa310de1 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -52,11 +52,9 @@ AlignmentPropertyPanel::AlignmentPropertyPanel(
: Control(
pParent,
ScResId(RID_PROPERTYPANEL_SC_ALIGNMENT)),
- mpTBHorizontalBackground(ControlFactory::CreateToolBoxBackground(this)),
mpTBHorizontal(ControlFactory::CreateToolBox(
mpTBHorizontalBackground.get(),
ScResId(TBX_HORIZONTAL_ALIGNMENT))),
- mpTBVerticalBackground(ControlFactory::CreateToolBoxBackground(this)),
mpTBVertical(ControlFactory::CreateToolBox(
mpTBVerticalBackground.get(),
ScResId(TBX_VERTICAL_ALIGN))),
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
index 13742aa9c2e5..b600affc1759 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
@@ -59,9 +59,7 @@ public:
private:
//ui controls
- ::boost::scoped_ptr<Window> mpTBHorizontalBackground;
::boost::scoped_ptr< ToolBox > mpTBHorizontal;
- ::boost::scoped_ptr<Window> mpTBVerticalBackground;
::boost::scoped_ptr< ToolBox > mpTBVertical;
::boost::scoped_ptr< FixedText > mpFTLeftIndent;
::boost::scoped_ptr< MetricField > mpMFLeftIndent;