summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-06-05 18:02:09 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-05 18:32:58 +0200
commitb3de4693ed6880f5a488dae6483959713ad1601c (patch)
treea5fc8a382530e3173d66772b7912dd30ca6b6447 /sc/source/ui/sidebar
parent07b0ad4fa63e2a5606587370da4b60e6b1ddfa39 (diff)
sidebar conversion tutorial: Cleanup - remove calls of SetOutputSizePixel().
Change-Id: I942c52488e038dd3b91296596dd2ea7b75c54eb2
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index 3b5c8b63774a..b571b4f658d7 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -99,17 +99,9 @@ AlignmentPropertyPanel::~AlignmentPropertyPanel()
void AlignmentPropertyPanel::Initialize()
{
- Size aTbxSize( mpTBHorizontal->CalcWindowSizePixel() );
- mpTBHorizontal->SetOutputSizePixel( aTbxSize );
- mpTBHorizontal->SetBackground(Wallpaper());
- mpTBHorizontal->SetPaintTransparent(true);
Link aLink = LINK(this, AlignmentPropertyPanel, TbxHorAlignSelectHdl);
mpTBHorizontal->SetSelectHdl ( aLink );
- Size aTbxSize2( mpTBVertical->CalcWindowSizePixel() );
- mpTBVertical->SetOutputSizePixel( aTbxSize2 );
- mpTBVertical->SetBackground(Wallpaper());
- mpTBVertical->SetPaintTransparent(true);
aLink = LINK(this, AlignmentPropertyPanel, TbxVerAlignSelectHdl);
mpTBVertical->SetSelectHdl ( aLink );