summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-09-29 19:24:44 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-10-02 16:03:02 +0000
commit5050dfc73f194d1d59222cac72e69a917655d816 (patch)
treeb3fad05bc7c248a82a8b405ae1182b35fd3b8f42 /sw/source/ui/index
parent52f5b6340863f2c80cd4e4ae7a2d1db3f8ed29f1 (diff)
fdo#62475 - remove visual noise and fix existing comments
Conflicts: sw/source/ui/index/cnttab.cxx sw/source/ui/misc/outline.cxx sw/source/ui/uiview/view2.cxx Change-Id: Ib75355808599401f8c0a8a626ce034f1699c9104 Reviewed-on: https://gerrit.libreoffice.org/6085 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx24
1 files changed, 6 insertions, 18 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 091fb231e8d5..a7c0f4ff71dc 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -1898,9 +1898,7 @@ SwTOXEntryTabPage::SwTOXEntryTabPage(Window* pParent, const SfxItemSet& rAttrSet
m_pSecondKeyLB->SelectEntryPos(0);
m_pThirdKeyLB->SelectEntryPos(0);
}
-/* --------------------------------------------------
- pVoid is used as signal to change all levels of the example
- --------------------------------------------------*/
+// pVoid is used as signal to change all levels of the example
IMPL_LINK(SwTOXEntryTabPage, ModifyHdl, void*, pVoid)
{
UpdateDescriptor();
@@ -2163,11 +2161,9 @@ void SwTOXEntryTabPage::PreTokenButtonRemoved(const SwFormToken& rToken)
sal_uInt16 nPos = m_pAuthFieldsLB->InsertEntry(sTemp);
m_pAuthFieldsLB->SetEntryData(nPos, (void*)(sal_uIntPtr)(nData));
}
-/*-----------------------------------------------------------------------
-This function inizializes the default value in the Token
-put here the UI dependent initializations
- -----------------------------------------------------------------------*/
+// This function inizializes the default value in the Token
+// put here the UI dependent initializations
IMPL_LINK(SwTOXEntryTabPage, InsertTokenHdl, PushButton*, pBtn)
{
String sText;
@@ -3234,11 +3230,8 @@ String SwTokenWindow::GetPattern() const
return sRet;
}
-/* --------------------------------------------------
- Description: Check if a control of the specified
- TokenType is already contained in the list
- --------------------------------------------------*/
+// Check if a control of the specified TokenType is already contained in the list
sal_Bool SwTokenWindow::Contains(FormTokenType eSearchFor) const
{
bool bRet = false;
@@ -3565,9 +3558,7 @@ IMPL_LINK( SwTOXStylesTabPage, EditStyleHdl, Button *, pBtn )
return 0;
}
-/*--------------------------------------------------------------------
- Description: allocate templates
- --------------------------------------------------------------------*/
+// allocate templates
IMPL_LINK_NOARG(SwTOXStylesTabPage, AssignHdl)
{
sal_uInt16 nLevPos = m_pLevelLB->GetSelectEntryPos();
@@ -3624,9 +3615,7 @@ IMPL_LINK_NOARG_INLINE_START(SwTOXStylesTabPage, DoubleClickHdl)
}
IMPL_LINK_NOARG_INLINE_END(SwTOXStylesTabPage, DoubleClickHdl)
-/*--------------------------------------------------------------------
- Description: enable only when selected
- --------------------------------------------------------------------*/
+// enable only when selected
IMPL_LINK_NOARG(SwTOXStylesTabPage, EnableSelectHdl)
{
m_pStdBT->Enable(m_pLevelLB->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND);
@@ -3687,7 +3676,6 @@ SwEntryBrowseBox::SwEntryBrowseBox(Window* pParent, VclBuilderContainer* pBuilde
xController = new ::svt::EditCellController(&aCellEdit);
xCheckController = new ::svt::CheckBoxCellController(&aCellCheckBox);
- //////////////////////////////////////////////////////////////////////
// HACK: BrowseBox doesn't invalidate its children, how it should be.
// That's why WB_CLIPCHILDREN is reset in order to enforce the
// children' invalidation