summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:58:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-03 11:04:44 -0600
commit84862db95a5e22b9ef89baa2a8a5deeffefbdef6 (patch)
tree2682cf093a4a5d513bdedaee8298525c9b57ef6f /sc/source/ui/sidebar
parent7801c94bffdabe669601d23e86f2f2a41447902d (diff)
Remove visual noise from sc
Conflicts: sc/source/ui/inc/docfunc.hxx Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8 Reviewed-on: https://gerrit.libreoffice.org/8301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.cxx44
-rw-r--r--sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx44
-rw-r--r--sc/source/ui/sidebar/CellAppearancePropertyPanel.src10
-rw-r--r--sc/source/ui/sidebar/CellBorderStyleControl.cxx2
4 files changed, 50 insertions, 50 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index a00819222c89..256fd3aaccf5 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -44,12 +44,12 @@ const char UNO_ALIGNRIGHT[] = ".uno:AlignRight";
const char UNO_ALIGNTOP[] = ".uno:AlignTop";
const char UNO_ALIGNVCENTER[] = ".uno:AlignVCenter";
-//////////////////////////////////////////////////////////////////////////////
+
// namespace open
namespace sc { namespace sidebar {
-//////////////////////////////////////////////////////////////////////////////
+
AlignmentPropertyPanel::AlignmentPropertyPanel(
Window* pParent,
@@ -87,13 +87,13 @@ AlignmentPropertyPanel::AlignmentPropertyPanel(
mpFtRotate->SetBackground(Wallpaper());
}
-//////////////////////////////////////////////////////////////////////////////
+
AlignmentPropertyPanel::~AlignmentPropertyPanel()
{
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::Initialize()
{
@@ -146,7 +146,7 @@ void AlignmentPropertyPanel::Initialize()
#endif
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK( AlignmentPropertyPanel, AngleModifiedHdl, void *, EMPTYARG )
{
@@ -168,7 +168,7 @@ IMPL_LINK( AlignmentPropertyPanel, AngleModifiedHdl, void *, EMPTYARG )
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK( AlignmentPropertyPanel, RotationHdl, void *, EMPTYARG )
{
@@ -181,7 +181,7 @@ IMPL_LINK( AlignmentPropertyPanel, RotationHdl, void *, EMPTYARG )
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK( AlignmentPropertyPanel, ClickStackHdl, void *, EMPTYARG )
{
@@ -192,7 +192,7 @@ IMPL_LINK( AlignmentPropertyPanel, ClickStackHdl, void *, EMPTYARG )
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(AlignmentPropertyPanel, TbxHorAlignSelectHdl, ToolBox*, pToolBox)
{
@@ -232,7 +232,7 @@ IMPL_LINK(AlignmentPropertyPanel, TbxHorAlignSelectHdl, ToolBox*, pToolBox)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(AlignmentPropertyPanel, TbxVerAlignSelectHdl, ToolBox*, pToolBox)
{
@@ -265,7 +265,7 @@ IMPL_LINK(AlignmentPropertyPanel, TbxVerAlignSelectHdl, ToolBox*, pToolBox)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(AlignmentPropertyPanel, MFLeftIndentMdyHdl, void*, EMPTYARG)
{
@@ -277,7 +277,7 @@ IMPL_LINK(AlignmentPropertyPanel, MFLeftIndentMdyHdl, void*, EMPTYARG)
return( 0L );
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(AlignmentPropertyPanel, CBOXMergnCellClkHdl, void*, EMPTYARG)
{
@@ -296,7 +296,7 @@ IMPL_LINK(AlignmentPropertyPanel, CBOXMergnCellClkHdl, void*, EMPTYARG)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(AlignmentPropertyPanel, CBOXWrapTextClkHdl, void*, EMPTYARG)
{
@@ -306,7 +306,7 @@ IMPL_LINK(AlignmentPropertyPanel, CBOXWrapTextClkHdl, void*, EMPTYARG)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
AlignmentPropertyPanel* AlignmentPropertyPanel::Create (
Window* pParent,
@@ -326,7 +326,7 @@ AlignmentPropertyPanel* AlignmentPropertyPanel::Create (
pBindings);
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::DataChanged(
const DataChangedEvent& rEvent)
@@ -334,7 +334,7 @@ void AlignmentPropertyPanel::DataChanged(
(void)rEvent;
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::HandleContextChange(
const ::sfx2::sidebar::EnumContext aContext)
@@ -352,7 +352,7 @@ void AlignmentPropertyPanel::HandleContextChange(
// todo
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::NotifyItemUpdate(
sal_uInt16 nSID,
@@ -520,14 +520,14 @@ void AlignmentPropertyPanel::NotifyItemUpdate(
}
}
-//////////////////////////////////////////////////////////////////////////////
+
SfxBindings* AlignmentPropertyPanel::GetBindings()
{
return mpBindings;
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::FormatDegrees(double& dTmp)
{
@@ -537,7 +537,7 @@ void AlignmentPropertyPanel::FormatDegrees(double& dTmp)
dTmp = 359;
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::UpdateHorAlign()
{
@@ -589,7 +589,7 @@ void AlignmentPropertyPanel::UpdateHorAlign()
}
}
-//////////////////////////////////////////////////////////////////////////////
+
void AlignmentPropertyPanel::UpdateVerAlign()
{
@@ -610,12 +610,12 @@ void AlignmentPropertyPanel::UpdateVerAlign()
}
}
-//////////////////////////////////////////////////////////////////////////////
+
// namespace close
}} // end of namespace ::sc::sidebar
-//////////////////////////////////////////////////////////////////////////////
+
// eof
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
index 6149faba9245..2ebc5bfc964c 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
@@ -52,7 +52,7 @@ const char UNO_SETBORDERSTYLE[] = ".uno:SetBorderStyle";
const char UNO_LINESTYLE[] = ".uno:LineStyle";
const char UNO_FRAMELINECOLOR[] = ".uno:FrameLineColor";
-//////////////////////////////////////////////////////////////////////////////
+
// helpers
namespace
@@ -63,12 +63,12 @@ namespace
}
} // end of anonymous namespace
-//////////////////////////////////////////////////////////////////////////////
+
// namespace open
namespace sc { namespace sidebar {
-//////////////////////////////////////////////////////////////////////////////
+
svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateFillColorPopupControl(svx::sidebar::PopupContainer* pParent)
{
@@ -94,7 +94,7 @@ void CellAppearancePropertyPanel::SetFillColor(
maBackColor = aColor;
}
-//////////////////////////////////////////////////////////////////////////////
+
svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateLineColorPopupControl(svx::sidebar::PopupContainer* pParent)
{
@@ -118,7 +118,7 @@ void CellAppearancePropertyPanel::SetLineColor(
maLineColor = aColor;
}
-//////////////////////////////////////////////////////////////////////////////
+
svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellLineStylePopupControl(svx::sidebar::PopupContainer* pParent)
{
@@ -133,7 +133,7 @@ void CellAppearancePropertyPanel::EndCellLineStylePopupMode(void)
}
}
-//////////////////////////////////////////////////////////////////////////////
+
svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellBorderStylePopupControl(svx::sidebar::PopupContainer* pParent)
{
@@ -148,7 +148,7 @@ void CellAppearancePropertyPanel::EndCellBorderStylePopupMode(void)
}
}
-//////////////////////////////////////////////////////////////////////////////
+
CellAppearancePropertyPanel::CellAppearancePropertyPanel(
Window* pParent,
@@ -230,13 +230,13 @@ CellAppearancePropertyPanel::CellAppearancePropertyPanel(
Initialize();
}
-//////////////////////////////////////////////////////////////////////////////
+
CellAppearancePropertyPanel::~CellAppearancePropertyPanel()
{
}
-//////////////////////////////////////////////////////////////////////////////
+
void CellAppearancePropertyPanel::Initialize()
{
@@ -275,7 +275,7 @@ void CellAppearancePropertyPanel::Initialize()
mpTBLineStyle->SetAccessibleRelationLabeledBy(mpTBLineStyle);
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(CellAppearancePropertyPanel, TbxBKColorSelectHdl, ToolBox*, pToolBox)
{
@@ -289,7 +289,7 @@ IMPL_LINK(CellAppearancePropertyPanel, TbxBKColorSelectHdl, ToolBox*, pToolBox)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(CellAppearancePropertyPanel, TbxLineColorSelectHdl, ToolBox*, pToolBox)
{
@@ -303,7 +303,7 @@ IMPL_LINK(CellAppearancePropertyPanel, TbxLineColorSelectHdl, ToolBox*, pToolBox
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(CellAppearancePropertyPanel, TbxCellBorderSelectHdl, ToolBox*, pToolBox)
{
@@ -328,7 +328,7 @@ IMPL_LINK(CellAppearancePropertyPanel, TbxCellBorderSelectHdl, ToolBox*, pToolBo
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(CellAppearancePropertyPanel, TbxLineStyleSelectHdl, ToolBox*, pToolBox)
{
@@ -354,7 +354,7 @@ IMPL_LINK(CellAppearancePropertyPanel, TbxLineStyleSelectHdl, ToolBox*, pToolBox
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
IMPL_LINK(CellAppearancePropertyPanel, CBOXGridShowClkHdl, void*, EMPTYARG)
{
@@ -364,7 +364,7 @@ IMPL_LINK(CellAppearancePropertyPanel, CBOXGridShowClkHdl, void*, EMPTYARG)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+
CellAppearancePropertyPanel* CellAppearancePropertyPanel::Create (
Window* pParent,
@@ -384,7 +384,7 @@ CellAppearancePropertyPanel* CellAppearancePropertyPanel::Create (
pBindings);
}
-//////////////////////////////////////////////////////////////////////////////
+
void CellAppearancePropertyPanel::DataChanged(
const DataChangedEvent& rEvent)
@@ -392,7 +392,7 @@ void CellAppearancePropertyPanel::DataChanged(
(void)rEvent;
}
-//////////////////////////////////////////////////////////////////////////////
+
void CellAppearancePropertyPanel::HandleContextChange(
const ::sfx2::sidebar::EnumContext aContext)
@@ -410,7 +410,7 @@ void CellAppearancePropertyPanel::HandleContextChange(
// todo
}
-//////////////////////////////////////////////////////////////////////////////
+
void CellAppearancePropertyPanel::NotifyItemUpdate(
sal_uInt16 nSID,
@@ -690,14 +690,14 @@ void CellAppearancePropertyPanel::NotifyItemUpdate(
}
}
-//////////////////////////////////////////////////////////////////////////////
+
SfxBindings* CellAppearancePropertyPanel::GetBindings()
{
return mpBindings;
}
-//////////////////////////////////////////////////////////////////////////////
+
void CellAppearancePropertyPanel::SetStyleIcon()
{
@@ -828,12 +828,12 @@ void CellAppearancePropertyPanel::UpdateControlState()
}
}
-//////////////////////////////////////////////////////////////////////////////
+
// namespace close
}} // end of namespace ::sc::sidebar
-//////////////////////////////////////////////////////////////////////////////
+
// eof
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.src b/sc/source/ui/sidebar/CellAppearancePropertyPanel.src
index 4542e4cb184f..838cac4ebfe0 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.src
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.src
@@ -31,7 +31,7 @@
#define PB_BORDER_MOREBTN 57
#define POPUPPANEL_MARGIN_SMALL_PIXEL 8
-//////////////////////////////////////////////////////////////////////////////
+
Image IMG_CELL_BORDER
{
@@ -75,7 +75,7 @@ Image IMG_LINE_STYLE9
ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_750.png";};
};
-//////////////////////////////////////////////////////////////////////////////
+
// fill color popup
Control RID_POPUPPANEL_CELLAPPEARANCE_FILLCOLOR
@@ -101,7 +101,7 @@ Control RID_POPUPPANEL_CELLAPPEARANCE_FILLCOLOR
};
};
-//////////////////////////////////////////////////////////////////////////////
+
// line color popup
Control RID_POPUPPANEL_CELLAPPEARANCE_LINECOLOR
@@ -122,7 +122,7 @@ Control RID_POPUPPANEL_CELLAPPEARANCE_LINECOLOR
};
};
-//////////////////////////////////////////////////////////////////////////////
+
// cell line style popup
Control RID_POPUPPANEL_APPEARANCE_CELL_LINESTYLE
@@ -158,7 +158,7 @@ Control RID_POPUPPANEL_APPEARANCE_CELL_LINESTYLE
};
};
-//////////////////////////////////////////////////////////////////////////////
+
// cell border style popup
Control RID_POPUPPANEL_APPEARANCE_CELL_BORDERSTYLE
diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.cxx b/sc/source/ui/sidebar/CellBorderStyleControl.cxx
index 88f3883bae6b..2d0ec3d17645 100644
--- a/sc/source/ui/sidebar/CellBorderStyleControl.cxx
+++ b/sc/source/ui/sidebar/CellBorderStyleControl.cxx
@@ -214,7 +214,7 @@ IMPL_LINK(CellBorderStyleControl, TB2SelectHdl, ToolBox *, pToolBox)
nValidFlags |= FRM_VALID_LEFT;
break;
case TBI_BORDER2_RIGHT:
- //
+
if(!Application::GetSettings().GetLayoutRTL())
{
pRight = &theDefLine;