summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /sc/source/ui/miscdlgs
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx6
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx66
-rw-r--r--sc/source/ui/miscdlgs/autofmt.cxx50
-rw-r--r--sc/source/ui/miscdlgs/crnrdlg.cxx6
-rw-r--r--sc/source/ui/miscdlgs/datafdlg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/delcldlg.cxx4
-rw-r--r--sc/source/ui/miscdlgs/delcodlg.cxx12
-rw-r--r--sc/source/ui/miscdlgs/filldlg.cxx22
-rw-r--r--sc/source/ui/miscdlgs/groupdlg.cxx6
-rw-r--r--sc/source/ui/miscdlgs/highred.cxx6
-rw-r--r--sc/source/ui/miscdlgs/inscldlg.cxx4
-rw-r--r--sc/source/ui/miscdlgs/inscodlg.cxx12
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.cxx30
-rw-r--r--sc/source/ui/miscdlgs/lbseldlg.cxx6
-rw-r--r--sc/source/ui/miscdlgs/mtrindlg.cxx8
-rw-r--r--sc/source/ui/miscdlgs/mvtabdlg.cxx12
-rw-r--r--sc/source/ui/miscdlgs/optsolver.cxx38
-rw-r--r--sc/source/ui/miscdlgs/redcom.cxx2
-rw-r--r--sc/source/ui/miscdlgs/scuiautofmt.cxx24
-rw-r--r--sc/source/ui/miscdlgs/shtabdlg.cxx8
-rw-r--r--sc/source/ui/miscdlgs/simpref.cxx22
-rw-r--r--sc/source/ui/miscdlgs/solveroptions.cxx8
-rw-r--r--sc/source/ui/miscdlgs/solverutil.cxx2
-rw-r--r--sc/source/ui/miscdlgs/solvrdlg.cxx22
-rw-r--r--sc/source/ui/miscdlgs/tabbgcolordlg.cxx4
-rw-r--r--sc/source/ui/miscdlgs/tabopdlg.cxx22
-rw-r--r--sc/source/ui/miscdlgs/textdlgs.cxx8
-rw-r--r--sc/source/ui/miscdlgs/warnbox.cxx2
28 files changed, 207 insertions, 207 deletions
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 49f3da52b960..547cb9ea8b0e 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -54,7 +54,7 @@
//============================================================================
// class ScRedlinData
-//----------------------------------------------------------------------------
+
ScRedlinData::ScRedlinData()
:RedlinData()
{
@@ -81,7 +81,7 @@ ScRedlinData::~ScRedlinData()
//============================================================================
// class ScAcceptChgDlg
-//----------------------------------------------------------------------------
+
ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScViewData* ptrViewData)
: SfxModelessDialog(pB, pCW, pParent,
@@ -1827,7 +1827,7 @@ void ScAcceptChgDlg::Initialize(SfxChildWinInfo *pInfo)
}
}
-//-------------------------------------------------------------------------
+
void ScAcceptChgDlg::FillInfo(SfxChildWinInfo& rInfo) const
{
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 2dcb9cf10f3e..7d874cce6690 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -64,7 +64,7 @@ ScFormulaReferenceHelper::ScFormulaReferenceHelper(IAnyRefDialog* _pDlg,SfxBindi
ScInputOptions aInputOption=SC_MOD()->GetInputOptions();
bEnableColorRef=aInputOption.GetRangeFinder();
}
-// -----------------------------------------------------------------------------
+
ScFormulaReferenceHelper::~ScFormulaReferenceHelper()
{
if (bAccInserted)
@@ -79,7 +79,7 @@ ScFormulaReferenceHelper::~ScFormulaReferenceHelper()
if ( pInputHdl )
pInputHdl->ResetDelayTimer(); // stop the timer for disabling the input line
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::enableInput( bool bEnable )
{
TypeId aType(TYPE(ScDocShell));
@@ -115,7 +115,7 @@ void ScFormulaReferenceHelper::enableInput( bool bEnable )
pDocShell = (ScDocShell*)SfxObjectShell::GetNext(*pDocShell, &aType);
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::ShowSimpleReference(const OUString& rStr)
{
if( bEnableColorRef )
@@ -144,7 +144,7 @@ void ScFormulaReferenceHelper::ShowSimpleReference(const OUString& rStr)
}
}
}
-// -----------------------------------------------------------------------------
+
bool ScFormulaReferenceHelper::ParseWithNames( ScRangeList& rRanges, const OUString& rStr, ScDocument* pDoc )
{
bool bError = false;
@@ -175,7 +175,7 @@ bool ScFormulaReferenceHelper::ParseWithNames( ScRangeList& rRanges, const OUStr
return !bError;
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::ShowFormulaReference(const OUString& rStr)
{
if( bEnableColorRef)
@@ -231,7 +231,7 @@ void ScFormulaReferenceHelper::ShowFormulaReference(const OUString& rStr)
}
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::HideReference( bool bDoneRefMode )
{
ScViewData* pViewData=ScDocShell::GetViewData();
@@ -252,7 +252,7 @@ void ScFormulaReferenceHelper::HideReference( bool bDoneRefMode )
bHighlightRef=false;
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::ShowReference(const OUString& rStr)
{
if( bEnableColorRef )
@@ -276,7 +276,7 @@ void ScFormulaReferenceHelper::ShowReference(const OUString& rStr)
}
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton )
{
if( !pRefEdit && pEdit )
@@ -309,7 +309,7 @@ void ScFormulaReferenceHelper::ReleaseFocus( formula::RefEdit* pEdit, formula::R
}
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::Init()
{
ScViewData* pViewData=ScDocShell::GetViewData(); //! use pScViewShell?
@@ -328,7 +328,7 @@ void ScFormulaReferenceHelper::Init()
nRefTab = nTab;
}
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK( ScFormulaReferenceHelper, AccelSelectHdl, Accelerator *, pSelAccel )
{
if ( !pSelAccel )
@@ -443,7 +443,7 @@ namespace
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton )
{
if (!pRefEdit)
@@ -589,7 +589,7 @@ void ScFormulaReferenceHelper::RefInputStart( formula::RefEdit* pEdit, formula::
}
}
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton )
{
if( pEdit )
@@ -609,7 +609,7 @@ void ScFormulaReferenceHelper::ToggleCollapsed( formula::RefEdit* pEdit, formula
}
}
}
-// -----------------------------------------------------------------------------
+
bool ScFormulaReferenceHelper::DoClose( sal_uInt16 nId )
{
SfxApplication* pSfxApp = SFX_APP();
@@ -672,7 +672,7 @@ void ScFormulaReferenceHelper::SetDispatcherLock( bool bLock )
// that view's dispatcher is locked when trying to create the dialog
// for that view (ScTabViewShell::CreateRefDialog)
}
-// -----------------------------------------------------------------------------
+
void ScFormulaReferenceHelper::ViewShellChanged()
{
enableInput( false );
@@ -715,7 +715,7 @@ void ScFormulaReferenceHelper::EnableSpreadsheets(bool bFlag, bool bChildren)
}
}
-//----------------------------------------------------------------------------
+
@@ -750,7 +750,7 @@ static void lcl_InvalidateWindows()
pDocShell = (ScDocShell*)SfxObjectShell::GetNext(*pDocShell, &aType);
}
}
-//----------------------------------------------------------------------------
+
static void lcl_HideAllReferences()
{
@@ -766,7 +766,7 @@ static void lcl_HideAllReferences()
//============================================================================
//The class of ScAnyRefDlg is rewritten by PengYunQuan for Validity Cell Range Picker
// class ScRefHandler
-//----------------------------------------------------------------------------
+
ScRefHandler::ScRefHandler( Window &rWindow, SfxBindings* pB, bool bBindRef ):
m_rWindow( rWindow ),
@@ -833,7 +833,7 @@ bool ScRefHandler::EnterRefMode()
return m_bInRefMode = true;
}
-//----------------------------------------------------------------------------
+
ScRefHandler::~ScRefHandler()
{
@@ -860,7 +860,7 @@ bool ScRefHandler::LeaveRefMode()
return true;
}
-//----------------------------------------------------------------------------
+
void ScRefHandler::SwitchToDocument()
{
@@ -890,7 +890,7 @@ void ScRefHandler::SwitchToDocument()
}
}
-//----------------------------------------------------------------------------
+
bool ScRefHandler::IsDocAllowed(SfxObjectShell* pDocSh) const // pDocSh may be 0
{
@@ -903,14 +903,14 @@ bool ScRefHandler::IsDocAllowed(SfxObjectShell* pDocSh) const // pDocSh may be
return ( aDocName.isEmpty() || aDocName == aCmpName );
}
-//----------------------------------------------------------------------------
+
bool ScRefHandler::IsRefInputMode() const
{
return m_rWindow.IsVisible(); // nur wer sichtbar ist kann auch Referenzen bekommen
}
-//----------------------------------------------------------------------------
+
bool ScRefHandler::DoClose( sal_uInt16 nId )
{
@@ -923,21 +923,21 @@ void ScRefHandler::SetDispatcherLock( bool bLock )
m_aHelper.SetDispatcherLock( bLock );
}
-//----------------------------------------------------------------------------
+
void ScRefHandler::ViewShellChanged()
{
m_aHelper.ViewShellChanged();
}
-//----------------------------------------------------------------------------
+
void ScRefHandler::AddRefEntry()
{
// wenn nicht ueberladen, gibt es keine Mehrfach-Referenzen
}
-//----------------------------------------------------------------------------
+
bool ScRefHandler::IsTableLocked() const
{
@@ -946,12 +946,12 @@ bool ScRefHandler::IsTableLocked() const
return false;
}
-//----------------------------------------------------------------------------
+
//
// RefInputStart/Done: Zoom-In (AutoHide) auf einzelnes Feld
// (per Button oder Bewegung)
//
-//----------------------------------------------------------------------------
+
void ScRefHandler::RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton )
{
@@ -1005,33 +1005,33 @@ IMPL_LINK_NOARG(ScRefHandler, UpdateFocusHdl)
}
return 0;
}
-// -----------------------------------------------------------------------------
+
bool ScRefHandler::ParseWithNames( ScRangeList& rRanges, const OUString& rStr, ScDocument* pDoc )
{
return m_aHelper.ParseWithNames( rRanges, rStr, pDoc );
}
-// -----------------------------------------------------------------------------
+
void ScRefHandler::HideReference( bool bDoneRefMode )
{
m_aHelper.HideReference( bDoneRefMode );
}
-// -----------------------------------------------------------------------------
+
void ScRefHandler::ShowReference(const OUString& rStr)
{
m_aHelper.ShowReference(rStr);
}
-// -----------------------------------------------------------------------------
+
void ScRefHandler::ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton )
{
m_aHelper.ReleaseFocus( pEdit,pButton );
}
-//----------------------------------------------------------------------------
+
void ScRefHandler::RefInputDone( bool bForced )
{
m_aHelper.RefInputDone( bForced );
}
-//-------------------------------------------------------------------------------
+
ScRefHdlModalImpl::ScRefHdlModalImpl(Window* pParent, const OString& rID,
const OUString& rUIXMLDescription)
diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx
index 9dec29a779c6..1d3bc2874a0c 100644
--- a/sc/source/ui/miscdlgs/autofmt.cxx
+++ b/sc/source/ui/miscdlgs/autofmt.cxx
@@ -81,14 +81,14 @@ ScAutoFmtPreview::ScAutoFmtPreview( Window* pParent, const ResId& rRes, ScDocume
Init();
}
-//------------------------------------------------------------------------
+
ScAutoFmtPreview::~ScAutoFmtPreview()
{
delete pNumFmt;
}
-//------------------------------------------------------------------------
+
static void lcl_SetFontProperties(
Font& rFont,
@@ -152,7 +152,7 @@ rFont.MethodName( Value ); rCJKFont.MethodName( Value ); rCTLFont.MethodName( Va
}
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScAutoFmtPreview::GetFormatIndex( size_t nCol, size_t nRow ) const
{
@@ -179,15 +179,15 @@ const SvxLineItem& ScAutoFmtPreview::GetDiagItem( size_t nCol, size_t nRow, bool
return *static_cast< const SvxLineItem* >( pCurData->GetItem( GetFormatIndex( nCol, nRow ), bTLBR ? ATTR_BORDER_TLBR : ATTR_BORDER_BLTR ) );
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
{
if ( pCurData )
{
- //------------------------
+
// Ausgabe des Zelltextes:
- //------------------------
+
OUString cellString;
sal_Bool bNumFormat = pCurData->GetIncludeValueFormat();
@@ -253,9 +253,9 @@ void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
SvxHorJustifyItem aHorJustifyItem( SVX_HOR_JUSTIFY_STANDARD, ATTR_HOR_JUSTIFY );
SvxCellHorJustify eJustification;
- //-------------
+
// Ausrichtung:
- //-------------
+
eJustification = mbRTL ? SVX_HOR_JUSTIFY_RIGHT : bJustify ?
(SvxCellHorJustify)(((const SvxHorJustifyItem*)pCurData->GetItem( nFmtIndex, ATTR_HOR_JUSTIFY ))->GetValue()) :
SVX_HOR_JUSTIFY_STANDARD;
@@ -306,14 +306,14 @@ void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
- aStrSize.Width()
- FRAME_OFFSET );
- //-----------------------------
+
// vertikal (immer zentrieren):
- //-----------------------------
+
aPos.Y() += (mnRowHeight - (sal_uInt16)aStrSize.Height()) / 2;
- //-----------
+
// horizontal
- //-----------
+
if ( eJustification != SVX_HOR_JUSTIFY_STANDARD )
{
sal_uInt16 nHorPos = (sal_uInt16)
@@ -340,9 +340,9 @@ void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
}
else
{
- //---------------------
+
// Standardausrichtung:
- //---------------------
+
if ( (nCol == 0) || (nRow == 0) )
{
// Text-Label links oder Summe linksbuendig
@@ -355,16 +355,16 @@ void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
}
}
- //-------------------------------
+
aScriptedText.DrawText( aPos );
- //-------------------------------
+
}
}
}
#undef FRAME_OFFSET
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::DrawStrings()
{
@@ -373,7 +373,7 @@ void ScAutoFmtPreview::DrawStrings()
DrawString( nCol, nRow );
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::DrawBackground()
{
@@ -396,7 +396,7 @@ void ScAutoFmtPreview::DrawBackground()
}
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::PaintCells()
{
@@ -415,7 +415,7 @@ void ScAutoFmtPreview::PaintCells()
}
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::Init()
{
@@ -436,7 +436,7 @@ void ScAutoFmtPreview::Init()
mbRTL = pDoc->IsLayoutRTL( nCurrentTab );
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::CalcCellArray( bool bFitWidthP )
{
@@ -452,7 +452,7 @@ void ScAutoFmtPreview::CalcCellArray( bool bFitWidthP )
aPrvSize.Height() = maArray.GetHeight() + 4;
}
-//------------------------------------------------------------------------
+
inline void lclSetStyleFromBorder( svx::frame::Style& rStyle, const ::editeng::SvxBorderLine* pBorder )
{
@@ -488,7 +488,7 @@ void ScAutoFmtPreview::CalcLineMap()
}
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::NotifyChange( ScAutoFormatData* pNewData )
{
@@ -508,7 +508,7 @@ void ScAutoFmtPreview::NotifyChange( ScAutoFormatData* pNewData )
DoPaint( Rectangle( Point(0,0), GetSizePixel() ) );
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::DoPaint( const Rectangle& /* rRect */ )
{
@@ -540,7 +540,7 @@ void ScAutoFmtPreview::DoPaint( const Rectangle& /* rRect */ )
aVD.SetDrawMode( nOldDrawMode );
}
-//------------------------------------------------------------------------
+
void ScAutoFmtPreview::Paint( const Rectangle& rRect )
{
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index e0c53ea02492..8d7eecbe01cd 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -478,7 +478,7 @@ void ScColRowNameRangesDlg::SetActive()
void ScColRowNameRangesDlg::UpdateNames()
{
pLbRange->SetUpdateMode( false );
- //-----------------------------------------------------------
+
pLbRange->Clear();
aRangeMap.clear();
pEdAssign->SetText( EMPTY_OUSTRING );
@@ -590,7 +590,7 @@ void ScColRowNameRangesDlg::UpdateNames()
}
delete [] ppSortArray;
}
- //-----------------------------------------------------------
+
pLbRange->SetUpdateMode( true );
pLbRange->Invalidate();
}
@@ -666,7 +666,7 @@ bool ScColRowNameRangesDlg::IsRefInputMode() const
return (pEdActive != NULL);
}
-//------------------------------------------------------------------------
+
// Handler:
// ========
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index 62fcaafa7187..94ea4e734932 100644
--- a/sc/source/ui/miscdlgs/datafdlg.cxx
+++ b/sc/source/ui/miscdlgs/datafdlg.cxx
@@ -9,7 +9,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------
+
#include "datafdlg.hxx"
#include "scresid.hxx"
diff --git a/sc/source/ui/miscdlgs/delcldlg.cxx b/sc/source/ui/miscdlgs/delcldlg.cxx
index f93a040b153a..0f5cc7dce2a2 100644
--- a/sc/source/ui/miscdlgs/delcldlg.cxx
+++ b/sc/source/ui/miscdlgs/delcldlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "delcldlg.hxx"
#include "scresid.hxx"
@@ -65,7 +65,7 @@ ScDeleteCellDlg::ScDeleteCellDlg(Window* pParent, bool bDisallowCellMove)
}
}
-//------------------------------------------------------------------------
+
DelCellCmd ScDeleteCellDlg::GetDelCellCmd() const
{
diff --git a/sc/source/ui/miscdlgs/delcodlg.cxx b/sc/source/ui/miscdlgs/delcodlg.cxx
index cb9d15d7fb85..deb5e2d58a2b 100644
--- a/sc/source/ui/miscdlgs/delcodlg.cxx
+++ b/sc/source/ui/miscdlgs/delcodlg.cxx
@@ -19,7 +19,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------
+
#include "delcodlg.hxx"
#include "scresid.hxx"
@@ -33,7 +33,7 @@ sal_uInt16 ScDeleteContentsDlg::nPreviousChecks = (IDF_DATETIME | IDF_STRING
IDF_NOTE | IDF_FORMULA |
IDF_VALUE);
-//-----------------------------------------------------------------------
+
ScDeleteContentsDlg::ScDeleteContentsDlg( Window* pParent,
sal_uInt16 nCheckDefaults ) :
@@ -78,7 +78,7 @@ ScDeleteContentsDlg::ScDeleteContentsDlg( Window* pParent,
aBtnDelAll->SetClickHdl( LINK( this, ScDeleteContentsDlg, DelAllHdl ) );
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScDeleteContentsDlg::GetDelContentsCmdBits() const
{
@@ -106,7 +106,7 @@ sal_uInt16 ScDeleteContentsDlg::GetDelContentsCmdBits() const
: ScDeleteContentsDlg::nPreviousChecks );
}
-//------------------------------------------------------------------------
+
void ScDeleteContentsDlg::DisableChecks( bool bDelAllChecked )
{
@@ -135,7 +135,7 @@ void ScDeleteContentsDlg::DisableChecks( bool bDelAllChecked )
}
}
-//------------------------------------------------------------------------
+
void ScDeleteContentsDlg::DisableObjects()
{
@@ -144,7 +144,7 @@ void ScDeleteContentsDlg::DisableObjects()
aBtnDelObjects->Disable();
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(ScDeleteContentsDlg, DelAllHdl)
{
diff --git a/sc/source/ui/miscdlgs/filldlg.cxx b/sc/source/ui/miscdlgs/filldlg.cxx
index 1e28222655f5..409498d92996 100644
--- a/sc/source/ui/miscdlgs/filldlg.cxx
+++ b/sc/source/ui/miscdlgs/filldlg.cxx
@@ -22,7 +22,7 @@
-//----------------------------------------------------------------------------
+
#include <svl/zforlist.hxx>
#include <vcl/msgbox.hxx>
@@ -42,7 +42,7 @@
//============================================================================
// class ScFillSeriesDlg
-//----------------------------------------------------------------------------
+
ScFillSeriesDlg::ScFillSeriesDlg( Window* pParent,
ScDocument& rDocument,
@@ -88,13 +88,13 @@ ScFillSeriesDlg::ScFillSeriesDlg( Window* pParent,
}
-//----------------------------------------------------------------------------
+
ScFillSeriesDlg::~ScFillSeriesDlg()
{
}
-//----------------------------------------------------------------------------
+
void ScFillSeriesDlg::SetEdStartValEnabled(bool bFlag)
{
@@ -111,7 +111,7 @@ void ScFillSeriesDlg::SetEdStartValEnabled(bool bFlag)
}
}
-//----------------------------------------------------------------------------
+
void ScFillSeriesDlg::Init( sal_uInt16 nPossDir )
{
@@ -200,7 +200,7 @@ void ScFillSeriesDlg::Init( sal_uInt16 nPossDir )
}
-//----------------------------------------------------------------------------
+
bool ScFillSeriesDlg::CheckStartVal()
{
@@ -221,7 +221,7 @@ bool ScFillSeriesDlg::CheckStartVal()
}
-//----------------------------------------------------------------------------
+
bool ScFillSeriesDlg::CheckIncrementVal()
{
@@ -232,7 +232,7 @@ bool ScFillSeriesDlg::CheckIncrementVal()
}
-//----------------------------------------------------------------------------
+
bool ScFillSeriesDlg::CheckEndVal()
{
@@ -253,9 +253,9 @@ bool ScFillSeriesDlg::CheckEndVal()
}
-//----------------------------------------------------------------------------
+
// Handler:
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFillSeriesDlg, DisableHdl, Button *, pBtn )
{
@@ -294,7 +294,7 @@ IMPL_LINK( ScFillSeriesDlg, DisableHdl, Button *, pBtn )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScFillSeriesDlg, OKHdl)
{
diff --git a/sc/source/ui/miscdlgs/groupdlg.cxx b/sc/source/ui/miscdlgs/groupdlg.cxx
index acaecbf58a6d..f5689f338bdf 100644
--- a/sc/source/ui/miscdlgs/groupdlg.cxx
+++ b/sc/source/ui/miscdlgs/groupdlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "groupdlg.hxx"
#include "scresid.hxx"
@@ -50,14 +50,14 @@ ScGroupDlg::ScGroupDlg(Window* pParent, bool bUngroup, bool bRows)
m_pBtnRows->GrabFocus();
}
-//------------------------------------------------------------------------
+
bool ScGroupDlg::GetColsChecked() const
{
return m_pBtnCols->IsChecked();
}
-//------------------------------------------------------------------------
+
ScGroupDlg::~ScGroupDlg()
{
diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index aa915d4d1a15..58b32da9dd70 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -39,7 +39,7 @@
//============================================================================
// class ScHighlightChgDlg
-//----------------------------------------------------------------------------
+
ScHighlightChgDlg::ScHighlightChgDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScViewData* ptrViewData)
: ScAnyRefDlg(pB, pCW, pParent, "ShowChangesDialog",
@@ -133,7 +133,7 @@ void ScHighlightChgDlg::Init()
HighlightHandle(m_pHighlightBox);
}
-//----------------------------------------------------------------------------
+
// Uebergabe eines mit der Maus selektierten Tabellenbereiches, der dann als
// neue Selektion im Referenz-Edit angezeigt wird.
@@ -149,7 +149,7 @@ void ScHighlightChgDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
}
-//----------------------------------------------------------------------------
+
bool ScHighlightChgDlg::Close()
{
return DoClose( ScHighlightChgDlgWrapper::GetChildWindowId() );
diff --git a/sc/source/ui/miscdlgs/inscldlg.cxx b/sc/source/ui/miscdlgs/inscldlg.cxx
index 0d522c80224f..ac7760f6bf2c 100644
--- a/sc/source/ui/miscdlgs/inscldlg.cxx
+++ b/sc/source/ui/miscdlgs/inscldlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "inscldlg.hxx"
#include "scresid.hxx"
@@ -66,7 +66,7 @@ ScInsertCellDlg::ScInsertCellDlg( Window* pParent,sal_Bool bDisallowCellMove) :
}
}
-//------------------------------------------------------------------------
+
InsCellCmd ScInsertCellDlg::GetInsCellCmd() const
{
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx
index 5213cad3f49a..3c979b539e74 100644
--- a/sc/source/ui/miscdlgs/inscodlg.cxx
+++ b/sc/source/ui/miscdlgs/inscodlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "inscodlg.hxx"
#include "scresid.hxx"
@@ -37,7 +37,7 @@ sal_uInt16 ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_NOFUNC;
sal_uInt16 ScInsertContentsDlg::nPreviousChecks2 = 0;
sal_uInt16 ScInsertContentsDlg::nPreviousMoveMode = INS_NONE; // enum InsCellCmd
-//-----------------------------------------------------------------------
+
ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent,
sal_uInt16 nCheckDefaults,
@@ -124,7 +124,7 @@ ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent,
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScInsertContentsDlg::GetInsContentsCmdBits() const
{
@@ -152,7 +152,7 @@ sal_uInt16 ScInsertContentsDlg::GetInsContentsCmdBits() const
: ScInsertContentsDlg::nPreviousChecks );
}
-//------------------------------------------------------------------------
+
InsCellCmd ScInsertContentsDlg::GetMoveMode()
{
@@ -164,7 +164,7 @@ InsCellCmd ScInsertContentsDlg::GetMoveMode()
return INS_NONE;
}
-//------------------------------------------------------------------------
+
void ScInsertContentsDlg::DisableChecks( bool bInsAllChecked )
{
@@ -285,7 +285,7 @@ void ScInsertContentsDlg::SetCellShiftDisabled( int nDisable )
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScInsertContentsDlg, InsAllHdl)
{
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx
index 86367d7c49b5..ade61782d536 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include <sfx2/app.hxx>
#include <sfx2/docfile.hxx>
@@ -71,7 +71,7 @@ ScInsertTableDlg::ScInsertTableDlg( Window* pParent, ScViewData& rData, SCTAB nT
Init_Impl( bFromFile );
}
-//------------------------------------------------------------------------
+
ScInsertTableDlg::~ScInsertTableDlg()
{
@@ -80,7 +80,7 @@ ScInsertTableDlg::~ScInsertTableDlg()
delete pDocInserter;
}
-//------------------------------------------------------------------------
+
void ScInsertTableDlg::Init_Impl( bool bFromFile )
{
@@ -130,7 +130,7 @@ void ScInsertTableDlg::Init_Impl( bool bFromFile )
}
}
-//------------------------------------------------------------------------
+
short ScInsertTableDlg::Execute()
{
@@ -146,7 +146,7 @@ short ScInsertTableDlg::Execute()
return nRet;
}
-//------------------------------------------------------------------------
+
void ScInsertTableDlg::SetNewTable_Impl()
{
@@ -167,7 +167,7 @@ void ScInsertTableDlg::SetNewTable_Impl()
}
}
-//------------------------------------------------------------------------
+
void ScInsertTableDlg::SetFromTo_Impl()
{
@@ -184,7 +184,7 @@ void ScInsertTableDlg::SetFromTo_Impl()
}
}
-//------------------------------------------------------------------------
+
void ScInsertTableDlg::FillTables_Impl( ScDocument* pSrcDoc )
{
@@ -209,7 +209,7 @@ void ScInsertTableDlg::FillTables_Impl( ScDocument* pSrcDoc )
m_pLbTables->SelectEntryPos(0);
}
-//------------------------------------------------------------------------
+
const OUString* ScInsertTableDlg::GetFirstTable( sal_uInt16* pN )
{
@@ -232,7 +232,7 @@ const OUString* ScInsertTableDlg::GetFirstTable( sal_uInt16* pN )
return pStr;
}
-//------------------------------------------------------------------------
+
const OUString* ScInsertTableDlg::GetNextTable( sal_uInt16* pN )
{
@@ -251,9 +251,9 @@ const OUString* ScInsertTableDlg::GetNextTable( sal_uInt16* pN )
}
-//------------------------------------------------------------------------
+
// Handler:
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScInsertTableDlg, CountHdl_Impl)
{
@@ -277,7 +277,7 @@ IMPL_LINK_NOARG(ScInsertTableDlg, CountHdl_Impl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScInsertTableDlg, ChoiceHdl_Impl)
{
if ( m_pBtnNew->IsChecked() )
@@ -289,7 +289,7 @@ IMPL_LINK_NOARG(ScInsertTableDlg, ChoiceHdl_Impl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScInsertTableDlg, BrowseHdl_Impl)
{
@@ -301,7 +301,7 @@ IMPL_LINK_NOARG(ScInsertTableDlg, BrowseHdl_Impl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScInsertTableDlg, SelectHdl_Impl)
{
@@ -309,7 +309,7 @@ IMPL_LINK_NOARG(ScInsertTableDlg, SelectHdl_Impl)
return 0;
}
-//------------------------------------------------------------------------
+
void ScInsertTableDlg::DoEnable_Impl()
{
diff --git a/sc/source/ui/miscdlgs/lbseldlg.cxx b/sc/source/ui/miscdlgs/lbseldlg.cxx
index 2ed54313ccaf..71bb8561f00a 100644
--- a/sc/source/ui/miscdlgs/lbseldlg.cxx
+++ b/sc/source/ui/miscdlgs/lbseldlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include <vcl/msgbox.hxx>
@@ -48,14 +48,14 @@ ScSelEntryDlg::ScSelEntryDlg(Window* pParent, const std::vector<OUString> &rEnt
m_pLb->SelectEntryPos( 0 );
}
-//------------------------------------------------------------------------
+
OUString ScSelEntryDlg::GetSelectEntry() const
{
return m_pLb->GetSelectEntry();
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(ScSelEntryDlg, DblClkHdl)
{
diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx
index 0dcf2b283767..99bcb8ced250 100644
--- a/sc/source/ui/miscdlgs/mtrindlg.cxx
+++ b/sc/source/ui/miscdlgs/mtrindlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "mtrindlg.hxx"
#include "scresid.hxx"
@@ -66,7 +66,7 @@ ScMetricInputDlg::ScMetricInputDlg( Window* pParent,
m_pBtnDefVal->Check( nCurrentValue == nDefaultValue );
}
-//------------------------------------------------------------------------
+
long ScMetricInputDlg::GetInputValue( FieldUnit eUnit ) const
{
@@ -92,7 +92,7 @@ long ScMetricInputDlg::GetInputValue( FieldUnit eUnit ) const
return sal::static_int_cast<long>( m_pEdValue->Denormalize( m_pEdValue->GetValue( eUnit ) ) );
}
-//------------------------------------------------------------------------
+
// Handler:
IMPL_LINK_NOARG(ScMetricInputDlg, SetDefValHdl)
@@ -107,7 +107,7 @@ IMPL_LINK_NOARG(ScMetricInputDlg, SetDefValHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(ScMetricInputDlg, ModifyHdl)
{
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx
index 32c75cee5fe0..9e7bda9667ed 100644
--- a/sc/source/ui/miscdlgs/mvtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include <vcl/msgbox.hxx>
@@ -70,13 +70,13 @@ ScMoveTableDlg::ScMoveTableDlg(Window* pParent, const OUString& rDefault)
Init();
}
-//------------------------------------------------------------------------
+
ScMoveTableDlg::~ScMoveTableDlg()
{
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScMoveTableDlg::GetSelectedDocument () const { return nDocument; }
@@ -214,7 +214,7 @@ bool ScMoveTableDlg::IsCurrentDocSelected() const
return pLbDoc->GetSelectEntryPos() == mnCurrentDocPos;
}
-//------------------------------------------------------------------------
+
void ScMoveTableDlg::Init()
{
@@ -230,7 +230,7 @@ void ScMoveTableDlg::Init()
SelHdl( pLbDoc );
}
-//------------------------------------------------------------------------
+
void ScMoveTableDlg::InitDocListBox()
{
@@ -271,7 +271,7 @@ void ScMoveTableDlg::InitDocListBox()
pLbDoc->SelectEntryPos( nSelPos );
}
-//------------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScMoveTableDlg, CheckBtnHdl, void *, pBtn )
diff --git a/sc/source/ui/miscdlgs/optsolver.cxx b/sc/source/ui/miscdlgs/optsolver.cxx
index df8fb341c65d..a8f50292ccca 100644
--- a/sc/source/ui/miscdlgs/optsolver.cxx
+++ b/sc/source/ui/miscdlgs/optsolver.cxx
@@ -65,7 +65,7 @@ void ScSolverProgressDialog::SetTimeLimit( sal_Int32 nSeconds )
m_pFtTime->SetText( aNew );
}
-//----------------------------------------------------------------------------
+
ScSolverNoSolutionDialog::ScSolverNoSolutionDialog( Window* pParent, const OUString& rErrorText )
: ModalDialog(pParent, "NoSolutionDialog", "modules/scalc/ui/nosolutiondialog.ui")
@@ -74,7 +74,7 @@ ScSolverNoSolutionDialog::ScSolverNoSolutionDialog( Window* pParent, const OUStr
m_pFtErrorText->SetText(rErrorText);
}
-//----------------------------------------------------------------------------
+
ScSolverSuccessDialog::ScSolverSuccessDialog( Window* pParent, const OUString& rSolution )
: ModalDialog(pParent, "SolverSuccessDialog", "modules/scalc/ui/solversuccessdialog.ui")
@@ -97,7 +97,7 @@ IMPL_LINK( ScSolverSuccessDialog, ClickHdl, PushButton*, pBtn )
return 0;
}
-//----------------------------------------------------------------------------
+
ScCursorRefEdit::ScCursorRefEdit( Window* pParent, Window *pLabel )
: formula::RefEdit( pParent, pLabel )
@@ -132,7 +132,7 @@ void ScCursorRefEdit::KeyInput( const KeyEvent& rKEvt )
formula::RefEdit::KeyInput( rKEvt );
}
-//----------------------------------------------------------------------------
+
ScOptSolverSave::ScOptSolverSave( const OUString& rObjective, bool bMax, bool bMin, bool bValue,
const OUString& rTarget, const OUString& rVariable,
@@ -153,7 +153,7 @@ ScOptSolverSave::ScOptSolverSave( const OUString& rObjective, bool bMax, bool bM
//============================================================================
// class ScOptSolverDlg
-//----------------------------------------------------------------------------
+
ScOptSolverDlg::ScOptSolverDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScDocShell* pDocSh, ScAddress aCursorPos )
@@ -275,13 +275,13 @@ ScOptSolverDlg::ScOptSolverDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pP
Init( aCursorPos );
}
-//----------------------------------------------------------------------------
+
ScOptSolverDlg::~ScOptSolverDlg()
{
}
-//----------------------------------------------------------------------------
+
void ScOptSolverDlg::Init(const ScAddress& rCursorPos)
{
@@ -390,7 +390,7 @@ void ScOptSolverDlg::Init(const ScAddress& rCursorPos)
mpEdActive = m_pEdObjectiveCell;
}
-//----------------------------------------------------------------------------
+
void ScOptSolverDlg::ReadConditions()
{
@@ -449,14 +449,14 @@ void ScOptSolverDlg::EnableButtons()
}
}
-//----------------------------------------------------------------------------
+
bool ScOptSolverDlg::Close()
{
return DoClose( ScOptSolverDlgWrapper::GetChildWindowId() );
}
-//----------------------------------------------------------------------------
+
void ScOptSolverDlg::SetActive()
{
@@ -473,7 +473,7 @@ void ScOptSolverDlg::SetActive()
RefInputDone();
}
-//----------------------------------------------------------------------------
+
void ScOptSolverDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
{
@@ -526,14 +526,14 @@ void ScOptSolverDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
}
-//----------------------------------------------------------------------------
+
bool ScOptSolverDlg::IsRefInputMode() const
{
return mpEdActive != NULL;
}
-//----------------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScOptSolverDlg, BtnHdl, PushButton*, pBtn )
@@ -581,7 +581,7 @@ IMPL_LINK( ScOptSolverDlg, BtnHdl, PushButton*, pBtn )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScOptSolverDlg, GetFocusHdl, Control*, pCtrl )
{
@@ -612,7 +612,7 @@ IMPL_LINK( ScOptSolverDlg, GetFocusHdl, Control*, pCtrl )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScOptSolverDlg, LoseFocusHdl)
{
@@ -620,7 +620,7 @@ IMPL_LINK_NOARG(ScOptSolverDlg, LoseFocusHdl)
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScOptSolverDlg, DelBtnHdl, PushButton*, pBtn )
{
@@ -650,7 +650,7 @@ IMPL_LINK( ScOptSolverDlg, DelBtnHdl, PushButton*, pBtn )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScOptSolverDlg, TargetModifyHdl)
{
@@ -751,7 +751,7 @@ IMPL_LINK( ScOptSolverDlg, CursorDownHdl, ScCursorRefEdit*, pEdit )
return 0;
}
-//----------------------------------------------------------------------------
+
void ScOptSolverDlg::ShowError( bool bCondition, formula::RefEdit* pFocus )
{
@@ -764,7 +764,7 @@ void ScOptSolverDlg::ShowError( bool bCondition, formula::RefEdit* pFocus )
}
}
-//----------------------------------------------------------------------------
+
bool ScOptSolverDlg::ParseRef( ScRange& rRange, const OUString& rInput, bool bAllowRange )
{
diff --git a/sc/source/ui/miscdlgs/redcom.cxx b/sc/source/ui/miscdlgs/redcom.cxx
index 04650ada93e9..c738ba3a8593 100644
--- a/sc/source/ui/miscdlgs/redcom.cxx
+++ b/sc/source/ui/miscdlgs/redcom.cxx
@@ -25,7 +25,7 @@
#include "tabvwsh.hxx"
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
-//------------------------------------------------------------------------
+
ScRedComDialog::ScRedComDialog( Window* pParent, const SfxItemSet& rCoreSet,
ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext)
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx
index 489317c7fd69..4b1d4fa7f3c2 100644
--- a/sc/source/ui/miscdlgs/scuiautofmt.cxx
+++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "scitems.hxx"
#include <svx/algitem.hxx>
@@ -99,14 +99,14 @@ ScAutoFormatDlg::ScAutoFormatDlg( Window* pParent,
FreeResource();
}
-//------------------------------------------------------------------------
+
ScAutoFormatDlg::~ScAutoFormatDlg()
{
delete pWndPreview;
}
-//------------------------------------------------------------------------
+
void ScAutoFormatDlg::Init()
{
@@ -155,7 +155,7 @@ void ScAutoFormatDlg::Init()
}
}
-//------------------------------------------------------------------------
+
void ScAutoFormatDlg::UpdateChecks()
{
@@ -169,9 +169,9 @@ void ScAutoFormatDlg::UpdateChecks()
aBtnAdjust .Check( pData->GetIncludeWidthHeight() );
}
-//------------------------------------------------------------------------
+
// Handler:
-//---------
+
IMPL_LINK( ScAutoFormatDlg, CloseHdl, PushButton *, pBtn )
{
@@ -185,7 +185,7 @@ IMPL_LINK( ScAutoFormatDlg, CloseHdl, PushButton *, pBtn )
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(ScAutoFormatDlg, DblClkHdl)
{
@@ -197,7 +197,7 @@ IMPL_LINK_NOARG_INLINE_START(ScAutoFormatDlg, DblClkHdl)
}
IMPL_LINK_NOARG_INLINE_END(ScAutoFormatDlg, DblClkHdl)
-//------------------------------------------------------------------------
+
IMPL_LINK( ScAutoFormatDlg, CheckHdl, Button *, pBtn )
{
@@ -228,7 +228,7 @@ IMPL_LINK( ScAutoFormatDlg, CheckHdl, Button *, pBtn )
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScAutoFormatDlg, AddHdl)
{
@@ -302,7 +302,7 @@ IMPL_LINK_NOARG(ScAutoFormatDlg, AddHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScAutoFormatDlg, RemoveHdl)
{
@@ -427,7 +427,7 @@ IMPL_LINK_NOARG(ScAutoFormatDlg, RenameHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScAutoFormatDlg, SelFmtHdl)
{
@@ -451,7 +451,7 @@ IMPL_LINK_NOARG(ScAutoFormatDlg, SelFmtHdl)
return 0;
}
-//------------------------------------------------------------------------
+
OUString ScAutoFormatDlg::GetCurrFormatName()
{
diff --git a/sc/source/ui/miscdlgs/shtabdlg.cxx b/sc/source/ui/miscdlgs/shtabdlg.cxx
index 247b50dee34d..7a1f93d39f13 100644
--- a/sc/source/ui/miscdlgs/shtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/shtabdlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include <vcl/msgbox.hxx>
@@ -45,7 +45,7 @@ ScShowTabDlg::ScShowTabDlg(Window* pParent)
m_pLb->SetDoubleClickHdl( LINK( this, ScShowTabDlg, DblClkHdl ) );
}
-//------------------------------------------------------------------------
+
void ScShowTabDlg::SetDescription(
const OUString& rTitle, const OUString& rFixedText,
@@ -64,7 +64,7 @@ void ScShowTabDlg::Insert( const OUString& rString, bool bSelected )
m_pLb->SelectEntryPos( m_pLb->GetEntryCount() - 1 );
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScShowTabDlg::GetSelectEntryCount() const
{
@@ -81,7 +81,7 @@ sal_uInt16 ScShowTabDlg::GetSelectEntryPos(sal_uInt16 nPos) const
return m_pLb->GetSelectEntryPos(nPos);
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(ScShowTabDlg, DblClkHdl)
{
diff --git a/sc/source/ui/miscdlgs/simpref.cxx b/sc/source/ui/miscdlgs/simpref.cxx
index f44668da4134..e9ab70bb22cc 100644
--- a/sc/source/ui/miscdlgs/simpref.cxx
+++ b/sc/source/ui/miscdlgs/simpref.cxx
@@ -61,26 +61,26 @@ ScSimpleRefDlg::ScSimpleRefDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pPa
SetDispatcherLock( true ); // Modal-Modus einschalten
}
-//----------------------------------------------------------------------------
+
ScSimpleRefDlg::~ScSimpleRefDlg()
{
SetDispatcherLock( false ); // Modal-Modus einschalten
}
-//----------------------------------------------------------------------------
+
void ScSimpleRefDlg::FillInfo(SfxChildWinInfo& rWinInfo) const
{
ScAnyRefDlg::FillInfo(rWinInfo);
rWinInfo.bVisible=bAutoReOpen;
}
-//----------------------------------------------------------------------------
+
void ScSimpleRefDlg::SetRefString(const OUString &rStr)
{
m_pEdAssign->SetText(rStr);
}
-//----------------------------------------------------------------------------
+
void ScSimpleRefDlg::Init()
{
m_pBtnOk->SetClickHdl ( LINK( this, ScSimpleRefDlg, OkBtnHdl ) );
@@ -88,7 +88,7 @@ void ScSimpleRefDlg::Init()
bCloseFlag=false;
}
-//----------------------------------------------------------------------------
+
// Uebergabe eines mit der Maus selektierten Tabellenbereiches, der dann als
// neue Selektion im Referenz-Fenster angezeigt wird.
void ScSimpleRefDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
@@ -126,14 +126,14 @@ void ScSimpleRefDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
-//----------------------------------------------------------------------------
+
bool ScSimpleRefDlg::Close()
{
CancelBtnHdl(m_pBtnCancel);
return true;
}
-//------------------------------------------------------------------------
+
void ScSimpleRefDlg::SetActive()
{
m_pEdAssign->GrabFocus();
@@ -144,7 +144,7 @@ void ScSimpleRefDlg::SetActive()
RefInputDone();
}
-//------------------------------------------------------------------------
+
bool ScSimpleRefDlg::IsRefInputMode() const
{
return true;
@@ -193,7 +193,7 @@ void ScSimpleRefDlg::RefInputDone( bool bForced)
if ( (bForced || bCloseOnButtonUp) && bCloseFlag )
OkBtnHdl(m_pBtnOk);
}
-//------------------------------------------------------------------------
+
// Handler:
// ========
IMPL_LINK_NOARG(ScSimpleRefDlg, OkBtnHdl)
@@ -207,7 +207,7 @@ IMPL_LINK_NOARG(ScSimpleRefDlg, OkBtnHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScSimpleRefDlg, CancelBtnHdl)
{
bAutoReOpen=false;
@@ -221,6 +221,6 @@ IMPL_LINK_NOARG(ScSimpleRefDlg, CancelBtnHdl)
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx b/sc/source/ui/miscdlgs/solveroptions.cxx
index 6e9acc0dd917..76ed6391f3ce 100644
--- a/sc/source/ui/miscdlgs/solveroptions.cxx
+++ b/sc/source/ui/miscdlgs/solveroptions.cxx
@@ -55,7 +55,7 @@ struct ScSolverOptionsEntry
}
};
-//------------------------------------------------------------------
+
class ScSolverOptionsString : public SvLBoxString
{
@@ -106,7 +106,7 @@ void ScSolverOptionsString::Paint( const Point& rPos, SvTreeListBox& rDev, const
rDev.SetFont( aOldFont );
}
-//------------------------------------------------------------------
+
ScSolverOptionsDialog::ScSolverOptionsDialog( Window* pParent,
const uno::Sequence<OUString>& rImplNames,
@@ -392,7 +392,7 @@ IMPL_LINK_NOARG(ScSolverOptionsDialog, SettingsSelHdl)
return 0;
}
-//------------------------------------------------------------------
+
ScSolverIntegerDialog::ScSolverIntegerDialog(Window * pParent)
: ModalDialog( pParent, "IntegerDialog",
@@ -422,7 +422,7 @@ sal_Int32 ScSolverIntegerDialog::GetValue() const
return (sal_Int32) nValue;
}
-//------------------------------------------------------------------
+
ScSolverValueDialog::ScSolverValueDialog( Window * pParent )
: ModalDialog( pParent, "DoubleDialog",
diff --git a/sc/source/ui/miscdlgs/solverutil.cxx b/sc/source/ui/miscdlgs/solverutil.cxx
index 57dddbe7b751..a8f401d4b210 100644
--- a/sc/source/ui/miscdlgs/solverutil.cxx
+++ b/sc/source/ui/miscdlgs/solverutil.cxx
@@ -33,7 +33,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------
+
#define SCSOLVER_SERVICE "com.sun.star.sheet.Solver"
diff --git a/sc/source/ui/miscdlgs/solvrdlg.cxx b/sc/source/ui/miscdlgs/solvrdlg.cxx
index 6762b599a028..7999bd8b2c09 100644
--- a/sc/source/ui/miscdlgs/solvrdlg.cxx
+++ b/sc/source/ui/miscdlgs/solvrdlg.cxx
@@ -74,13 +74,13 @@ ScSolverDlg::ScSolverDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
Init();
}
-//----------------------------------------------------------------------------
+
ScSolverDlg::~ScSolverDlg()
{
}
-//----------------------------------------------------------------------------
+
void ScSolverDlg::Init()
{
@@ -107,14 +107,14 @@ void ScSolverDlg::Init()
pEdActive = m_pEdFormulaCell;
}
-//----------------------------------------------------------------------------
+
bool ScSolverDlg::Close()
{
return DoClose( ScSolverDlgWrapper::GetChildWindowId() );
}
-//----------------------------------------------------------------------------
+
void ScSolverDlg::SetActive()
{
@@ -131,7 +131,7 @@ void ScSolverDlg::SetActive()
RefInputDone();
}
-//----------------------------------------------------------------------------
+
void ScSolverDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
{
@@ -155,7 +155,7 @@ void ScSolverDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
}
-//----------------------------------------------------------------------------
+
void ScSolverDlg::RaiseError( ScSolverErr eError )
{
@@ -183,14 +183,14 @@ void ScSolverDlg::RaiseError( ScSolverErr eError )
}
}
-//----------------------------------------------------------------------------
+
bool ScSolverDlg::IsRefInputMode() const
{
return pEdActive != NULL;
}
-//----------------------------------------------------------------------------
+
bool ScSolverDlg::CheckTargetValue( const OUString& rStrVal )
{
@@ -200,7 +200,7 @@ bool ScSolverDlg::CheckTargetValue( const OUString& rStrVal )
return pDoc->GetFormatTable()->IsNumberFormat( rStrVal, n1, n2 );
}
-//----------------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScSolverDlg, BtnHdl, PushButton*, pBtn )
@@ -261,7 +261,7 @@ IMPL_LINK( ScSolverDlg, BtnHdl, PushButton*, pBtn )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScSolverDlg, GetFocusHdl, Control*, pCtrl )
{
@@ -281,7 +281,7 @@ IMPL_LINK( ScSolverDlg, GetFocusHdl, Control*, pCtrl )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScSolverDlg, LoseFocusHdl)
{
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
index e19317a9bf37..26000471746e 100644
--- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
+++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
@@ -20,7 +20,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------
+
#include "tabbgcolordlg.hxx"
#include "scresid.hxx"
@@ -65,7 +65,7 @@ ScTabBgColorDlg::ScTabBgColorDlg(Window* pParent, const OUString& rTitle,
m_pBtnOk->SetClickHdl( HDL(TabBgColorOKHdl_Impl) );
}
-//------------------------------------------------------------------------
+
void ScTabBgColorDlg::GetSelectedColor( Color& rColor ) const
{
diff --git a/sc/source/ui/miscdlgs/tabopdlg.cxx b/sc/source/ui/miscdlgs/tabopdlg.cxx
index 67c08135fdd6..5c74f8e76b4f 100644
--- a/sc/source/ui/miscdlgs/tabopdlg.cxx
+++ b/sc/source/ui/miscdlgs/tabopdlg.cxx
@@ -33,7 +33,7 @@
//============================================================================
// class ScTabOpDlg
-//----------------------------------------------------------------------------
+
ScTabOpDlg::ScTabOpDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScDocument* pDocument,
@@ -77,14 +77,14 @@ ScTabOpDlg::ScTabOpDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
Init();
}
-//----------------------------------------------------------------------------
+
ScTabOpDlg::~ScTabOpDlg()
{
Hide();
}
-//----------------------------------------------------------------------------
+
void ScTabOpDlg::Init()
{
@@ -114,14 +114,14 @@ void ScTabOpDlg::Init()
//SFX_APPWINDOW->Enable();
}
-//----------------------------------------------------------------------------
+
bool ScTabOpDlg::Close()
{
return DoClose( ScTabOpDlgWrapper::GetChildWindowId() );
}
-//----------------------------------------------------------------------------
+
void ScTabOpDlg::SetActive()
{
@@ -137,7 +137,7 @@ void ScTabOpDlg::SetActive()
RefInputDone();
}
-//----------------------------------------------------------------------------
+
void ScTabOpDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
{
@@ -174,7 +174,7 @@ void ScTabOpDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
}
-//----------------------------------------------------------------------------
+
void ScTabOpDlg::RaiseError( ScTabOpErr eError )
{
@@ -223,7 +223,7 @@ void ScTabOpDlg::RaiseError( ScTabOpErr eError )
pEd->GrabFocus();
}
-//----------------------------------------------------------------------------
+
static sal_Bool lcl_Parse( const OUString& rString, ScDocument* pDoc, SCTAB nCurTab,
ScRefAddress& rStart, ScRefAddress& rEnd )
@@ -240,7 +240,7 @@ static sal_Bool lcl_Parse( const OUString& rString, ScDocument* pDoc, SCTAB nCur
return bRet;
}
-//----------------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScTabOpDlg, BtnHdl, PushButton*, pBtn )
@@ -323,7 +323,7 @@ IMPL_LINK( ScTabOpDlg, BtnHdl, PushButton*, pBtn )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScTabOpDlg, GetFocusHdl, Control*, pCtrl )
{
@@ -342,7 +342,7 @@ IMPL_LINK( ScTabOpDlg, GetFocusHdl, Control*, pCtrl )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScTabOpDlg, LoseFocusHdl)
{
diff --git a/sc/source/ui/miscdlgs/textdlgs.cxx b/sc/source/ui/miscdlgs/textdlgs.cxx
index 3b19249be091..27f505a9ac7e 100644
--- a/sc/source/ui/miscdlgs/textdlgs.cxx
+++ b/sc/source/ui/miscdlgs/textdlgs.cxx
@@ -30,7 +30,7 @@
#include "sc.hrc"
#include <svl/intitem.hxx>
#include <svx/flagsdef.hxx>
-// -----------------------------------------------------------------------
+
ScCharDlg::ScCharDlg( Window* pParent, const SfxItemSet* pAttr,
const SfxObjectShell* pDocShell )
@@ -45,7 +45,7 @@ ScCharDlg::ScCharDlg( Window* pParent, const SfxItemSet* pAttr,
AddTabPage("position", RID_SVXPAGE_CHAR_POSITION);
}
-// -----------------------------------------------------------------------
+
void ScCharDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
{
@@ -65,7 +65,7 @@ void ScCharDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
}
}
-// -----------------------------------------------------------------------
+
ScParagraphDlg::ScParagraphDlg(Window* pParent, const SfxItemSet* pAttr)
: SfxTabDialog(pParent, "ParagraphDialog",
@@ -82,7 +82,7 @@ ScParagraphDlg::ScParagraphDlg(Window* pParent, const SfxItemSet* pAttr)
m_nTabPageId = AddTabPage("labelTP_TABULATOR", RID_SVXPAGE_TABULATOR);
}
-// -----------------------------------------------------------------------
+
void ScParagraphDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
{
diff --git a/sc/source/ui/miscdlgs/warnbox.cxx b/sc/source/ui/miscdlgs/warnbox.cxx
index 166e8123897f..606e4d113c11 100644
--- a/sc/source/ui/miscdlgs/warnbox.cxx
+++ b/sc/source/ui/miscdlgs/warnbox.cxx
@@ -58,7 +58,7 @@ void ScCbWarningBox::DisableDialog()
}
-// ----------------------------------------------------------------------------
+
ScReplaceWarnBox::ScReplaceWarnBox( Window* pParent ) :
ScCbWarningBox( pParent, OUString( ScResId( STR_REPLCELLSWARN ) ), true )