summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-06-05 12:08:18 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-05 18:32:57 +0200
commit5e6ebfc35f4eab64a2ef2455771769314618e019 (patch)
treedb5b917c8107632d0900ff3e176bd44fcccf728c /sc/source/ui/sidebar
parente9cfaf1d29c66157b3bdc4bd4278cd3b5c90a29c (diff)
sidebar conversion tutorial: Remove explicit assignment of images.
This is taken care of by using the correct .uno: commands in the "action_name" part of the .ui. Change-Id: I7710816b72990c4c535da0491e75edad5bbf30b3
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.cxx14
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.hxx8
2 files changed, 0 insertions, 22 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index 8fd2ae9ee667..8d3a77c286a4 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -81,13 +81,6 @@ AlignmentPropertyPanel::AlignmentPropertyPanel(
maWrapTextControl(SID_ATTR_ALIGN_LINEBREAK, *pBindings, *this),
maAngleControl(SID_ATTR_ALIGN_DEGREES, *pBindings, *this),
maStackControl(SID_ATTR_ALIGN_STACKED, *pBindings, *this),
- maIMGAlignLeft(ScResId(IMG_ALIGN_LEFT)),
- maIMGAlignCenter(ScResId(IMG_ALIGN_CENTER)),
- maIMGAlignRight(ScResId(IMG_ALIGN_RIGHT)),
- maIMGAlignJust(ScResId(IMG_ALIGN_JUST)),
- maIMGAlignTop(ScResId(IMG_ALIGN_TOP)),
- maIMGAlignCenterV(ScResId(IMG_ALIGN_CENTER_V)),
- maIMGAlignBottom(ScResId(IMG_ALIGN_BOTTOM)),
meHorAlignState(SVX_HOR_JUSTIFY_STANDARD),
meVerAlignState(SVX_VER_JUSTIFY_STANDARD),
mbMultiDisable(false),
@@ -112,10 +105,6 @@ AlignmentPropertyPanel::~AlignmentPropertyPanel()
void AlignmentPropertyPanel::Initialize()
{
- mpTBHorizontal->SetItemImage(ID_SUBSTLEFT, maIMGAlignLeft);
- mpTBHorizontal->SetItemImage(ID_SUBSTCENTER, maIMGAlignCenter);
- mpTBHorizontal->SetItemImage(ID_SUBSTRIGHT, maIMGAlignRight);
- mpTBHorizontal->SetItemImage(ID_SUBSTJUSTIFY, maIMGAlignJust);
Size aTbxSize( mpTBHorizontal->CalcWindowSizePixel() );
mpTBHorizontal->SetOutputSizePixel( aTbxSize );
mpTBHorizontal->SetBackground(Wallpaper());
@@ -123,9 +112,6 @@ void AlignmentPropertyPanel::Initialize()
Link aLink = LINK(this, AlignmentPropertyPanel, TbxHorAlignSelectHdl);
mpTBHorizontal->SetSelectHdl ( aLink );
- mpTBVertical->SetItemImage(IID_VERT_TOP, maIMGAlignTop);
- mpTBVertical->SetItemImage(IID_VERT_CENTER, maIMGAlignCenterV);
- mpTBVertical->SetItemImage(IID_VERT_BOTTOM, maIMGAlignBottom);
Size aTbxSize2( mpTBVertical->CalcWindowSizePixel() );
mpTBVertical->SetOutputSizePixel( aTbxSize2 );
mpTBVertical->SetBackground(Wallpaper());
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
index eae2d2a85b5e..b2e44901fa20 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
@@ -78,14 +78,6 @@ private:
::sfx2::sidebar::ControllerItem maAngleControl;
::sfx2::sidebar::ControllerItem maStackControl;
- Image maIMGAlignLeft;
- Image maIMGAlignCenter;
- Image maIMGAlignRight;
- Image maIMGAlignJust;
- Image maIMGAlignTop;
- Image maIMGAlignCenterV;
- Image maIMGAlignBottom;
-
SvxCellHorJustify meHorAlignState;
SvxCellVerJustify meVerAlignState;