summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-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 );