summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/Accessibility/AccessibilityHints.cxx24
-rw-r--r--sc/source/ui/Accessibility/AccessibleCsvControl.cxx6
-rw-r--r--sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessibleEditObject.cxx12
-rw-r--r--sc/source/ui/app/client.cxx2
-rw-r--r--sc/source/ui/app/drwtrans.cxx6
-rw-r--r--sc/source/ui/app/inputhdl.cxx20
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/app/lnktrans.cxx2
-rw-r--r--sc/source/ui/app/msgpool.cxx4
-rw-r--r--sc/source/ui/app/scdll.cxx6
-rw-r--r--sc/source/ui/app/scmod.cxx44
-rw-r--r--sc/source/ui/app/seltrans.cxx6
-rw-r--r--sc/source/ui/app/transobj.cxx6
-rw-r--r--sc/source/ui/app/uiitems.cxx134
-rw-r--r--sc/source/ui/attrdlg/attrdlg.cxx6
-rw-r--r--sc/source/ui/attrdlg/tabpages.cxx14
-rw-r--r--sc/source/ui/cctrl/cbuttonw.cxx10
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx8
-rw-r--r--sc/source/ui/cctrl/popmenu.cxx2
-rw-r--r--sc/source/ui/cctrl/tbinsert.cxx6
-rw-r--r--sc/source/ui/cctrl/tbzoomsliderctrl.cxx34
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/csvsplits.cxx4
-rw-r--r--sc/source/ui/dbgui/dapidata.cxx6
-rw-r--r--sc/source/ui/dbgui/dapitype.cxx6
-rw-r--r--sc/source/ui/dbgui/dbnamdlg.cxx38
-rw-r--r--sc/source/ui/dbgui/dpgroupdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/fieldwnd.cxx4
-rw-r--r--sc/source/ui/dbgui/filtdlg.cxx34
-rw-r--r--sc/source/ui/dbgui/foptmgr.cxx20
-rw-r--r--sc/source/ui/dbgui/imoptdlg.cxx6
-rw-r--r--sc/source/ui/dbgui/pfiltdlg.cxx22
-rw-r--r--sc/source/ui/dbgui/pvfundlg.cxx2
-rw-r--r--sc/source/ui/dbgui/scendlg.cxx6
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx6
-rw-r--r--sc/source/ui/dbgui/scuiimoptdlg.cxx12
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx24
-rw-r--r--sc/source/ui/dbgui/sortkeydlg.cxx12
-rw-r--r--sc/source/ui/dbgui/subtdlg.cxx2
-rw-r--r--sc/source/ui/dbgui/textimportoptions.cxx2
-rw-r--r--sc/source/ui/dbgui/tpsort.cxx50
-rw-r--r--sc/source/ui/dbgui/tpsubt.cxx50
-rw-r--r--sc/source/ui/dbgui/validate.cxx32
-rw-r--r--sc/source/ui/docshell/arealink.cxx2
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx10
-rw-r--r--sc/source/ui/docshell/dbdocimp.cxx4
-rw-r--r--sc/source/ui/docshell/docfunc.cxx46
-rw-r--r--sc/source/ui/docshell/docsh.cxx14
-rw-r--r--sc/source/ui/docshell/docsh2.cxx12
-rw-r--r--sc/source/ui/docshell/docsh3.cxx18
-rw-r--r--sc/source/ui/docshell/docsh4.cxx24
-rw-r--r--sc/source/ui/docshell/docsh5.cxx2
-rw-r--r--sc/source/ui/docshell/docsh6.cxx2
-rw-r--r--sc/source/ui/docshell/docsh7.cxx2
-rw-r--r--sc/source/ui/docshell/docsh8.cxx6
-rw-r--r--sc/source/ui/docshell/editable.cxx4
-rw-r--r--sc/source/ui/docshell/externalrefmgr.cxx10
-rw-r--r--sc/source/ui/docshell/olinefun.cxx12
-rw-r--r--sc/source/ui/docshell/pntlock.cxx2
-rw-r--r--sc/source/ui/docshell/servobj.cxx2
-rw-r--r--sc/source/ui/docshell/sizedev.cxx2
-rw-r--r--sc/source/ui/docshell/tablink.cxx2
-rw-r--r--sc/source/ui/docshell/tpstat.cxx8
-rw-r--r--sc/source/ui/drawfunc/drawsh.cxx2
-rw-r--r--sc/source/ui/drawfunc/drawsh2.cxx2
-rw-r--r--sc/source/ui/drawfunc/drawsh4.cxx2
-rw-r--r--sc/source/ui/drawfunc/drawsh5.cxx8
-rw-r--r--sc/source/ui/drawfunc/drtxtob1.cxx2
-rw-r--r--sc/source/ui/drawfunc/drtxtob2.cxx2
-rw-r--r--sc/source/ui/drawfunc/fuconcustomshape.cxx2
-rw-r--r--sc/source/ui/drawfunc/fuconrec.cxx2
-rw-r--r--sc/source/ui/drawfunc/fuconstr.cxx2
-rw-r--r--sc/source/ui/drawfunc/fuins1.cxx6
-rw-r--r--sc/source/ui/drawfunc/fuins2.cxx6
-rw-r--r--sc/source/ui/drawfunc/fumark.cxx2
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx4
-rw-r--r--sc/source/ui/drawfunc/fusel2.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext2.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx4
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx6
-rw-r--r--sc/source/ui/formdlg/formdata.cxx2
-rw-r--r--sc/source/ui/formdlg/formula.cxx2
-rw-r--r--sc/source/ui/formdlg/privsplt.cxx4
-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
-rw-r--r--sc/source/ui/namedlg/namepast.cxx6
-rw-r--r--sc/source/ui/navipi/navcitem.cxx4
-rw-r--r--sc/source/ui/navipi/navipi.cxx114
-rw-r--r--sc/source/ui/navipi/scenwnd.cxx6
-rw-r--r--sc/source/ui/optdlg/opredlin.cxx4
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx18
-rw-r--r--sc/source/ui/optdlg/tpformula.cxx2
-rw-r--r--sc/source/ui/optdlg/tpprint.cxx6
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx52
-rw-r--r--sc/source/ui/optdlg/tpview.cxx4
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx70
-rw-r--r--sc/source/ui/pagedlg/hfedtdlg.cxx6
-rw-r--r--sc/source/ui/pagedlg/scuitphfedit.cxx20
-rw-r--r--sc/source/ui/pagedlg/tphf.cxx28
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx30
-rw-r--r--sc/source/ui/styleui/styledlg.cxx6
-rw-r--r--sc/source/ui/undo/areasave.cxx2
-rw-r--r--sc/source/ui/undo/undodat.cxx2
-rw-r--r--sc/source/ui/undo/undostyl.cxx8
-rw-r--r--sc/source/ui/unoobj/addruno.cxx2
-rw-r--r--sc/source/ui/unoobj/afmtuno.cxx16
-rw-r--r--sc/source/ui/unoobj/appluno.cxx18
-rw-r--r--sc/source/ui/unoobj/celllistsource.cxx42
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx42
-rw-r--r--sc/source/ui/unoobj/cellvaluebinding.cxx46
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx8
-rw-r--r--sc/source/ui/unoobj/chartuno.cxx10
-rw-r--r--sc/source/ui/unoobj/confuno.cxx2
-rw-r--r--sc/source/ui/unoobj/convuno.cxx2
-rw-r--r--sc/source/ui/unoobj/cursuno.cxx4
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx30
-rw-r--r--sc/source/ui/unoobj/datauno.cxx32
-rw-r--r--sc/source/ui/unoobj/defltuno.cxx6
-rw-r--r--sc/source/ui/unoobj/dispuno.cxx8
-rw-r--r--sc/source/ui/unoobj/docuno.cxx18
-rw-r--r--sc/source/ui/unoobj/drdefuno.cxx2
-rw-r--r--sc/source/ui/unoobj/editsrc.cxx8
-rw-r--r--sc/source/ui/unoobj/eventuno.cxx4
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx4
-rw-r--r--sc/source/ui/unoobj/filtuno.cxx6
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx16
-rw-r--r--sc/source/ui/unoobj/forbiuno.cxx2
-rw-r--r--sc/source/ui/unoobj/funcuno.cxx12
-rw-r--r--sc/source/ui/unoobj/linkuno.cxx16
-rw-r--r--sc/source/ui/unoobj/listenercalls.cxx2
-rw-r--r--sc/source/ui/unoobj/miscuno.cxx12
-rw-r--r--sc/source/ui/unoobj/nameuno.cxx16
-rw-r--r--sc/source/ui/unoobj/notesuno.cxx6
-rw-r--r--sc/source/ui/unoobj/optuno.cxx4
-rw-r--r--sc/source/ui/unoobj/pageuno.cxx2
-rw-r--r--sc/source/ui/unoobj/servuno.cxx4
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx6
-rw-r--r--sc/source/ui/unoobj/srchuno.cxx8
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx20
-rw-r--r--sc/source/ui/unoobj/targuno.cxx10
-rw-r--r--sc/source/ui/unoobj/textuno.cxx20
-rw-r--r--sc/source/ui/unoobj/unoreflist.cxx4
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx10
-rw-r--r--sc/source/ui/vba/vbaapplication.cxx4
-rw-r--r--sc/source/ui/vba/vbaeventshelper.cxx2
-rw-r--r--sc/source/ui/vba/vbahyperlinks.cxx4
-rw-r--r--sc/source/ui/vba/vbarange.cxx4
-rw-r--r--sc/source/ui/vba/vbasheetobjects.cxx8
-rw-r--r--sc/source/ui/view/auditsh.cxx12
-rw-r--r--sc/source/ui/view/cellsh.cxx6
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
-rw-r--r--sc/source/ui/view/cellsh3.cxx10
-rw-r--r--sc/source/ui/view/dbfunc4.cxx2
-rw-r--r--sc/source/ui/view/drawattr.cxx8
-rw-r--r--sc/source/ui/view/drawvie2.cxx2
-rw-r--r--sc/source/ui/view/drawvie4.cxx2
-rw-r--r--sc/source/ui/view/drawview.cxx4
-rw-r--r--sc/source/ui/view/formatsh.cxx30
-rw-r--r--sc/source/ui/view/gridmerg.cxx2
-rw-r--r--sc/source/ui/view/gridwin.cxx20
-rw-r--r--sc/source/ui/view/gridwin2.cxx8
-rw-r--r--sc/source/ui/view/gridwin3.cxx2
-rw-r--r--sc/source/ui/view/gridwin4.cxx14
-rw-r--r--sc/source/ui/view/gridwin5.cxx4
-rw-r--r--sc/source/ui/view/hdrcont.cxx4
-rw-r--r--sc/source/ui/view/invmerge.cxx2
-rw-r--r--sc/source/ui/view/notemark.cxx2
-rw-r--r--sc/source/ui/view/olkact.cxx2
-rw-r--r--sc/source/ui/view/output2.cxx2
-rw-r--r--sc/source/ui/view/pfuncache.cxx2
-rw-r--r--sc/source/ui/view/pgbrksh.cxx8
-rw-r--r--sc/source/ui/view/prevwsh.cxx8
-rw-r--r--sc/source/ui/view/prevwsh2.cxx2
-rw-r--r--sc/source/ui/view/printfun.cxx20
-rw-r--r--sc/source/ui/view/reffact.cxx14
-rw-r--r--sc/source/ui/view/scextopt.cxx4
-rw-r--r--sc/source/ui/view/select.cxx2
-rw-r--r--sc/source/ui/view/spelleng.cxx2
-rw-r--r--sc/source/ui/view/tabview3.cxx6
-rw-r--r--sc/source/ui/view/tabview5.cxx4
-rw-r--r--sc/source/ui/view/tabvwsh2.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx4
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx38
-rw-r--r--sc/source/ui/view/tabvwsh5.cxx8
-rw-r--r--sc/source/ui/view/tabvwsh8.cxx6
-rw-r--r--sc/source/ui/view/tabvwsh9.cxx8
-rw-r--r--sc/source/ui/view/tabvwsha.cxx10
-rw-r--r--sc/source/ui/view/tabvwshb.cxx2
-rw-r--r--sc/source/ui/view/tabvwshc.cxx2
-rw-r--r--sc/source/ui/view/tabvwshe.cxx6
-rw-r--r--sc/source/ui/view/tabvwshf.cxx2
-rw-r--r--sc/source/ui/view/tabvwshg.cxx2
-rw-r--r--sc/source/ui/view/tabvwshh.cxx4
-rw-r--r--sc/source/ui/view/viewfun2.cxx106
-rw-r--r--sc/source/ui/view/viewfun3.cxx10
-rw-r--r--sc/source/ui/view/viewfun5.cxx4
-rw-r--r--sc/source/ui/view/viewfunc.cxx10
-rw-r--r--sc/source/ui/view/waitoff.cxx2
226 files changed, 1348 insertions, 1348 deletions
diff --git a/sc/source/ui/Accessibility/AccessibilityHints.cxx b/sc/source/ui/Accessibility/AccessibilityHints.cxx
index 458169a95a6e..1b72fe1220af 100644
--- a/sc/source/ui/Accessibility/AccessibilityHints.cxx
+++ b/sc/source/ui/Accessibility/AccessibilityHints.cxx
@@ -21,13 +21,13 @@
using namespace ::com::sun::star;
-// -----------------------------------------------------------------------
+
TYPEINIT1(ScAccWinFocusLostHint, SfxHint);
-// -----------------------------------------------------------------------
+
// ScAccWinFocusLostHint - the current window lost its focus (to another application, view or document)
-// -----------------------------------------------------------------------
+
ScAccWinFocusLostHint::ScAccWinFocusLostHint(
const uno::Reference< uno::XInterface >& xOld )
@@ -40,13 +40,13 @@ ScAccWinFocusLostHint::~ScAccWinFocusLostHint()
{
}
-// -----------------------------------------------------------------------
+
TYPEINIT1(ScAccWinFocusGotHint, SfxHint);
-// -----------------------------------------------------------------------
+
// ScAccWinFocusGotHint - the window got the focus (from another application, view or document)
-// -----------------------------------------------------------------------
+
ScAccWinFocusGotHint::ScAccWinFocusGotHint(
const uno::Reference< uno::XInterface >& xNew )
@@ -58,13 +58,13 @@ ScAccWinFocusGotHint::ScAccWinFocusGotHint(
ScAccWinFocusGotHint::~ScAccWinFocusGotHint()
{
}
-// -----------------------------------------------------------------------
+
TYPEINIT1(ScAccGridWinFocusLostHint, SfxHint);
-// -----------------------------------------------------------------------
+
// ScAccGridWinFocusLostHint - the current grid window lost its focus (to another application, view or document)
-// -----------------------------------------------------------------------
+
ScAccGridWinFocusLostHint::ScAccGridWinFocusLostHint(ScSplitPos eOld,
const uno::Reference< uno::XInterface >& xOld )
@@ -78,13 +78,13 @@ ScAccGridWinFocusLostHint::~ScAccGridWinFocusLostHint()
{
}
-// -----------------------------------------------------------------------
+
TYPEINIT1(ScAccGridWinFocusGotHint, SfxHint);
-// -----------------------------------------------------------------------
+
// ScAccGridWinFocusGotHint - the grid window got the focus (from another application, view or document)
-// -----------------------------------------------------------------------
+
ScAccGridWinFocusGotHint::ScAccGridWinFocusGotHint(ScSplitPos eNew,
const uno::Reference< uno::XInterface >& xNew )
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
index 106954ca3f88..0435444f6d48 100644
--- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
@@ -64,7 +64,7 @@ using ::com::sun::star::beans::PropertyValue;
using namespace ::com::sun::star::accessibility;
-// ----------------------------------------------------------------------------
+
const sal_uInt16 nRulerRole = AccessibleRole::TEXT;
const sal_uInt16 nGridRole = AccessibleRole::TABLE;
@@ -341,7 +341,7 @@ static void lcl_FillFontAttributes( Sequence< PropertyValue >& rSeq, const Font&
-// ----------------------------------------------------------------------------
+
DBG_NAME( ScAccessibleCsvRuler )
@@ -887,7 +887,7 @@ static inline sal_uInt32 lcl_GetGridColumn( sal_Int32 nApiColumn )
}
-// ----------------------------------------------------------------------------
+
DBG_NAME( ScAccessibleCsvGrid )
diff --git a/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx b/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
index e52000678343..92c20abb5e2a 100644
--- a/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
@@ -803,9 +803,9 @@ Rectangle ScAccessibleDataPilotButton::GetBoundingBox(void) const
return Rectangle();
}
-// -----------------------------------------------------------------------------
+
// XAccessibleAction
-// -----------------------------------------------------------------------------
+
sal_Int32 ScAccessibleDataPilotButton::getAccessibleActionCount( ) throw (uno::RuntimeException)
{
return 1;
diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx
index ea6ee790f4da..2eb67e2f6e47 100644
--- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx
+++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx
@@ -442,12 +442,12 @@ sal_Int32 ScAccessibleEditObject::GetFgBgColor( const OUString &strPropColor)
return nColor;
}
//===== XAccessibleSelection ============================================
-//--------------------------------------------------------------------------------
+
void SAL_CALL ScAccessibleEditObject::selectAccessibleChild( sal_Int32 )
throw ( IndexOutOfBoundsException, RuntimeException )
{
}
-//----------------------------------------------------------------------------------
+
sal_Bool SAL_CALL ScAccessibleEditObject::isAccessibleChildSelected( sal_Int32 nChildIndex )
throw ( IndexOutOfBoundsException,
RuntimeException )
@@ -470,17 +470,17 @@ throw ( IndexOutOfBoundsException,
}
return sal_False;
}
-//---------------------------------------------------------------------
+
void SAL_CALL ScAccessibleEditObject::clearAccessibleSelection( )
throw ( RuntimeException )
{
}
-//-------------------------------------------------------------------------
+
void SAL_CALL ScAccessibleEditObject::selectAllAccessibleChildren( )
throw ( RuntimeException )
{
}
-//----------------------------------------------------------------------------
+
sal_Int32 SAL_CALL ScAccessibleEditObject::getSelectedAccessibleChildCount()
throw ( RuntimeException )
{
@@ -490,7 +490,7 @@ throw ( RuntimeException )
if( isAccessibleChildSelected(i) ) nCount++;
return nCount;
}
-//--------------------------------------------------------------------------------------
+
uno::Reference<XAccessible> SAL_CALL ScAccessibleEditObject::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
throw ( IndexOutOfBoundsException, RuntimeException)
{
diff --git a/sc/source/ui/app/client.cxx b/sc/source/ui/app/client.cxx
index 6c33149afebf..15364d81c102 100644
--- a/sc/source/ui/app/client.cxx
+++ b/sc/source/ui/app/client.cxx
@@ -38,7 +38,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
ScClient::ScClient( ScTabViewShell* pViewShell, Window* pDraw, SdrModel* pSdrModel, SdrOle2Obj* pObj ) :
SfxInPlaceClient( pViewShell, pDraw, pObj->GetAspect() ),
diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx
index b46272f3bf76..61eb6db1113e 100644
--- a/sc/source/ui/app/drwtrans.cxx
+++ b/sc/source/ui/app/drwtrans.cxx
@@ -74,15 +74,15 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
#define SCDRAWTRANS_TYPE_EMBOBJ 1
#define SCDRAWTRANS_TYPE_DRAWMODEL 2
#define SCDRAWTRANS_TYPE_DOCUMENT 3
-// -----------------------------------------------------------------------
-// -----------------------------------------------------------------------
+
+
ScDrawTransferObj::ScDrawTransferObj( SdrModel* pClipModel, ScDocShell* pContainerShell,
const TransferableObjectDescriptor& rDesc ) :
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index c5be05bfb2da..026a5ba053ba 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -2460,7 +2460,7 @@ void ScInputHandler::SetMode( ScInputMode eNewMode )
bInOwnChange = false;
}
-//----------------------------------------------------------------------------------------
+
// lcl_IsNumber - true, wenn nur Ziffern (dann keine Autokorrektur)
@@ -3811,10 +3811,10 @@ bool ScInputHandler::GetTextAndFields( ScEditEngineDefaulter& rDestEngine )
return bRet;
}
-//------------------------------------------------------------------------
+
// Methoden fuer FunktionsAutopiloten:
// InputGetSelection, InputSetSelection, InputReplaceSelection, InputGetFormulaStr
-//------------------------------------------------------------------------
+
void ScInputHandler::InputGetSelection( sal_Int32& rStart, sal_Int32& rEnd )
{
@@ -3822,7 +3822,7 @@ void ScInputHandler::InputGetSelection( sal_Int32& rStart, sal_Int32& rEnd )
rEnd = nFormSelEnd;
}
-//------------------------------------------------------------------------
+
EditView* ScInputHandler::GetFuncEditView()
{
@@ -3850,7 +3850,7 @@ EditView* ScInputHandler::GetFuncEditView()
return pView;
}
-//------------------------------------------------------------------------
+
void ScInputHandler::InputSetSelection( sal_Int32 nStart, sal_Int32 nEnd )
{
@@ -3872,7 +3872,7 @@ void ScInputHandler::InputSetSelection( sal_Int32 nStart, sal_Int32 nEnd )
bModified = true;
}
-//------------------------------------------------------------------------
+
void ScInputHandler::InputReplaceSelection( const OUString& rStr )
{
@@ -3936,7 +3936,7 @@ ScInputHdlState::ScInputHdlState( const ScAddress& rCurPos,
{
}
-//------------------------------------------------------------------------
+
ScInputHdlState::ScInputHdlState( const ScInputHdlState& rCpy )
: pEditData ( NULL )
@@ -3944,14 +3944,14 @@ ScInputHdlState::ScInputHdlState( const ScInputHdlState& rCpy )
*this = rCpy;
}
-//------------------------------------------------------------------------
+
ScInputHdlState::~ScInputHdlState()
{
delete pEditData;
}
-//------------------------------------------------------------------------
+
bool ScInputHdlState::operator==( const ScInputHdlState& r ) const
{
@@ -3962,7 +3962,7 @@ bool ScInputHdlState::operator==( const ScInputHdlState& r ) const
&& ScGlobal::EETextObjEqual( pEditData, r.pEditData ) );
}
-//------------------------------------------------------------------------
+
ScInputHdlState& ScInputHdlState::operator=( const ScInputHdlState& r )
{
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 02cb95cc5d87..e9d3923fc205 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -2062,7 +2062,7 @@ void ScTextWnd::RemoveAccessibleTextData( ScAccessibleEditLineTextData& rTextDat
maAccTextDatas.erase( aIt );
}
-// -----------------------------------------------------------------------
+
void ScTextWnd::DataChanged( const DataChangedEvent& rDCEvt )
{
diff --git a/sc/source/ui/app/lnktrans.cxx b/sc/source/ui/app/lnktrans.cxx
index 5733b14523c0..473e62bad48e 100644
--- a/sc/source/ui/app/lnktrans.cxx
+++ b/sc/source/ui/app/lnktrans.cxx
@@ -24,7 +24,7 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
ScLinkTransferObj::ScLinkTransferObj()
{
diff --git a/sc/source/ui/app/msgpool.cxx b/sc/source/ui/app/msgpool.cxx
index c4efedbf50cc..aa2e77b5bdfd 100644
--- a/sc/source/ui/app/msgpool.cxx
+++ b/sc/source/ui/app/msgpool.cxx
@@ -24,7 +24,7 @@
#include "docpool.hxx"
#include "msgpool.hxx"
-//------------------------------------------------------------------------
+
static SfxItemInfo const aMsgItemInfos[] =
{
@@ -40,7 +40,7 @@ static SfxItemInfo const aMsgItemInfos[] =
{ SID_PRINTER_NOTFOUND_WARN, SFX_ITEM_POOLABLE } // SCITEM_PRINTWARN
};
-//------------------------------------------------------------------------
+
ScMessagePool::ScMessagePool()
: SfxItemPool ( OUString("ScMessagePool"),
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index bf495d8a1ab7..63a68c9f7f98 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -116,17 +116,17 @@
#include "dwfunctr.hxx"
#include "acredlin.hxx"
-//------------------------------------------------------------------
-//------------------------------------------------------------------
+
+
ScResId::ScResId( sal_uInt16 nId ) :
ResId( nId, *SC_MOD()->GetResMgr() )
{
}
-//------------------------------------------------------------------
+
void ScDLL::Init()
{
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 01ebacbbb545..97b5e889b3cf 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -119,7 +119,7 @@
static sal_uInt16 nIdleCount = 0;
-//------------------------------------------------------------------
+
SFX_IMPL_INTERFACE( ScModule, SfxShell, ScResId(RID_APPTITLE) )
{
@@ -128,7 +128,7 @@ SFX_IMPL_INTERFACE( ScModule, SfxShell, ScResId(RID_APPTITLE) )
SFX_STATUSBAR_REGISTRATION( ScResId(SCCFG_STATUSBAR) ); // nur ID wichtig
}
-//------------------------------------------------------------------
+
ScModule::ScModule( SfxObjectFactory* pFact ) :
SfxModule( SfxApplication::CreateResManager( "sc" ), false, pFact, NULL ),
@@ -208,7 +208,7 @@ ScModule::~ScModule()
DeleteCfg(); // wurde mal aus Exit() gerufen
}
-//------------------------------------------------------------------
+
void ScModule::ConfigurationChanged( utl::ConfigurationBroadcaster* p, sal_uInt32 )
{
if ( p == pColorConfig || p == pAccessOptions )
@@ -335,7 +335,7 @@ void ScModule::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
-//------------------------------------------------------------------
+
void ScModule::DeleteCfg()
{
@@ -370,11 +370,11 @@ void ScModule::DeleteCfg()
}
}
-//------------------------------------------------------------------
+
//
// von der Applikation verschoben:
//
-//------------------------------------------------------------------
+
void ScModule::Execute( SfxRequest& rReq )
{
@@ -644,7 +644,7 @@ void ScModule::HideDisabledSlots( SfxItemSet& rSet )
}
-//------------------------------------------------------------------
+
void ScModule::ResetDragObject()
{
@@ -713,14 +713,14 @@ ScDocument* ScModule::GetClipDoc()
return NULL;
}
-//------------------------------------------------------------------
+
void ScModule::SetSelectionTransfer( ScSelectionTransferObj* pNew )
{
pSelTransfer = pNew;
}
-//------------------------------------------------------------------
+
void ScModule::InitFormEditData()
{
@@ -732,7 +732,7 @@ void ScModule::ClearFormEditData()
DELETEZ( pFormEditData );
}
-//------------------------------------------------------------------
+
void ScModule::SetViewOptions( const ScViewOptions& rOpt )
{
@@ -972,11 +972,11 @@ sal_uInt16 ScModule::GetOptDigitLanguage()
LANGUAGE_SYSTEM;
}
-//------------------------------------------------------------------
+
//
// Optionen
//
-//------------------------------------------------------------------
+
//
// ModifyOptions - Items aus Calc-Options-Dialog
@@ -997,7 +997,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
GetInputOptions();
OSL_ENSURE( pInputCfg, "InputOptions not initialised :-(" );
- //--------------------------------------------------------------
+
SfxViewFrame* pViewFrm = SfxViewFrame::Current();
SfxBindings* pBindings = pViewFrm ? &pViewFrm->GetBindings() : NULL;
@@ -1014,7 +1014,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
bool bSaveInputOptions = false;
bool bCompileErrorCells = false;
- //--------------------------------------------------------------------------
+
// SFX_APP()->SetOptions( rOptSet );
@@ -1320,7 +1320,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
SFX_APP()->Broadcast( SfxSimpleHint( SID_SCPRINTOPTIONS ) );
}
- //----------------------------------------------------------
+
if ( bSaveAppOptions )
pAppCfg->OptionsChanged();
@@ -1416,11 +1416,11 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
}
}
-//------------------------------------------------------------------
+
//
// Input-Handler
//
-//------------------------------------------------------------------
+
ScInputHandler* ScModule::GetInputHdl( ScTabViewShell* pViewSh, bool bUseRef )
{
@@ -1527,7 +1527,7 @@ ScInputHandler* ScModule::GetRefInputHdl()
return pRefInputHandler;
}
-//------------------------------------------------------------------------
+
// Olk's Krempel:
void ScModule::InputGetSelection( sal_Int32& rStart, sal_Int32& rEnd )
@@ -1601,11 +1601,11 @@ void ScModule::ActivateInputWindow( const OUString* pStrFormula, bool bMatrix )
}
}
-//------------------------------------------------------------------
+
//
// Referenz - Dialoge
//
-//------------------------------------------------------------------
+
void ScModule::SetRefDialog( sal_uInt16 nId, bool bVis, SfxViewFrame* pViewFrm )
{
@@ -1909,11 +1909,11 @@ void ScModule::EndReference()
}
}
-//------------------------------------------------------------------
+
//
// Idle / Online-Spelling
//
-//------------------------------------------------------------------
+
void ScModule::AnythingChanged()
{
diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx
index 160deb25727e..1cc6ba8725e9 100644
--- a/sc/source/ui/app/seltrans.cxx
+++ b/sc/source/ui/app/seltrans.cxx
@@ -39,7 +39,7 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
static sal_Bool lcl_IsURLButton( SdrObject* pObject )
{
@@ -334,14 +334,14 @@ void ScSelectionTransferObj::CreateDrawData()
const SdrMarkList& rMarkList = pDrawView->GetMarkedObjectList();
ScDrawView::CheckOle( rMarkList, bAnyOle, bOneOle );
- //---------------------------------------------------------
+
ScDocShellRef aDragShellRef;
if (bAnyOle)
{
aDragShellRef = new ScDocShell; // ohne Ref lebt die DocShell nicht !!!
aDragShellRef->DoInitNew(NULL);
}
- //---------------------------------------------------------
+
ScDrawLayer::SetGlobalDrawPersist(aDragShellRef);
SdrModel* pModel = pDrawView->GetMarkedObjModel();
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index 9f48db9ca9e2..6fa8fa7f2cfd 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -66,14 +66,14 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
#define SCTRANS_TYPE_IMPEX 1
#define SCTRANS_TYPE_EDIT_RTF 2
#define SCTRANS_TYPE_EDIT_BIN 3
#define SCTRANS_TYPE_EMBOBJ 4
-// -----------------------------------------------------------------------
+
void ScTransferObj::GetAreaSize( ScDocument* pDoc, SCTAB nTab1, SCTAB nTab2, SCROW& nRow, SCCOL& nCol )
{
@@ -115,7 +115,7 @@ void ScTransferObj::PaintToDev( OutputDevice* pDev, ScDocument* pDoc, double nPr
ScPrintFunc::DrawToDev( pDoc, pDev, nPrintFactor, aBound, &aViewData, bMetaFile );
}
-// -----------------------------------------------------------------------
+
ScTransferObj::ScTransferObj( ScDocument* pClipDoc, const TransferableObjectDescriptor& rDesc ) :
pDoc( pClipDoc ),
diff --git a/sc/source/ui/app/uiitems.cxx b/sc/source/ui/app/uiitems.cxx
index 9ff6be39fa1a..449b281c5e44 100644
--- a/sc/source/ui/app/uiitems.cxx
+++ b/sc/source/ui/app/uiitems.cxx
@@ -41,9 +41,9 @@ TYPEINIT1(ScTablesHint, SfxHint);
TYPEINIT1(ScEditViewHint, SfxHint);
TYPEINIT1(ScIndexHint, SfxHint);
-// -----------------------------------------------------------------------
+
// ScInputStatusItem - Status-Update fuer Eingabezeile
-// -----------------------------------------------------------------------
+
ScInputStatusItem::ScInputStatusItem(
sal_uInt16 nWhichP, const ScAddress& rCurPos, const ScAddress& rStartPos,
@@ -109,9 +109,9 @@ const std::vector<editeng::MisspellRanges>* ScInputStatusItem::GetMisspellRanges
// ScPaintHint ist nach schints.cxx verschoben
//
-// -----------------------------------------------------------------------
+
// ScTablesHint - Views anpassen, wenn Tabellen eingefuegt / geloescht
-// -----------------------------------------------------------------------
+
ScTablesHint::ScTablesHint(sal_uInt16 nNewId, SCTAB nTable1, SCTAB nTable2) :
nId( nNewId ),
@@ -125,9 +125,9 @@ ScTablesHint::~ScTablesHint()
}
-// -----------------------------------------------------------------------
+
// ScIndexHint
-// -----------------------------------------------------------------------
+
ScIndexHint::ScIndexHint(sal_uInt16 nNewId, sal_uInt16 nIdx) :
nId( nNewId ),
@@ -140,9 +140,9 @@ ScIndexHint::~ScIndexHint()
}
-// -----------------------------------------------------------------------
+
// ScEditViewHint - neue EditView fuer Cursorposition anlegen
-// -----------------------------------------------------------------------
+
ScEditViewHint::ScEditViewHint( ScEditEngineDefaulter* pEngine, const ScAddress& rCurPos ) :
pEditEngine( pEngine ),
@@ -154,9 +154,9 @@ ScEditViewHint::~ScEditViewHint()
{
}
-// -----------------------------------------------------------------------
+
// ScSortItem - Daten fuer den Sortierdialog
-// -----------------------------------------------------------------------
+
ScSortItem::ScSortItem( sal_uInt16 nWhichP,
ScViewData* ptrViewData,
@@ -167,7 +167,7 @@ ScSortItem::ScSortItem( sal_uInt16 nWhichP,
if ( pSortData ) theSortData = *pSortData;
}
-//------------------------------------------------------------------------
+
ScSortItem::ScSortItem( sal_uInt16 nWhichP,
const ScSortParam* pSortData ) :
@@ -177,7 +177,7 @@ ScSortItem::ScSortItem( sal_uInt16 nWhichP,
if ( pSortData ) theSortData = *pSortData;
}
-//------------------------------------------------------------------------
+
ScSortItem::ScSortItem( const ScSortItem& rItem ) :
SfxPoolItem ( rItem ),
@@ -190,14 +190,14 @@ ScSortItem::~ScSortItem()
{
}
-//------------------------------------------------------------------------
+
OUString ScSortItem::GetValueText() const
{
return OUString("SortItem");
}
-//------------------------------------------------------------------------
+
bool ScSortItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -209,14 +209,14 @@ bool ScSortItem::operator==( const SfxPoolItem& rItem ) const
&& (theSortData == rOther.theSortData) );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScSortItem::Clone( SfxItemPool * ) const
{
return new ScSortItem( *this );
}
-//------------------------------------------------------------------------
+
bool ScSortItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /* nMemberUd */ ) const
{
@@ -225,9 +225,9 @@ bool ScSortItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /* nMembe
return true;
}
-// -----------------------------------------------------------------------
+
// ScQueryItem - Daten fuer den Filterdialog
-// -----------------------------------------------------------------------
+
ScQueryItem::ScQueryItem( sal_uInt16 nWhichP,
ScViewData* ptrViewData,
@@ -243,7 +243,7 @@ ScQueryItem::ScQueryItem( sal_uInt16 nWhichP,
mpQueryData.reset(new ScQueryParam);
}
-//------------------------------------------------------------------------
+
ScQueryItem::ScQueryItem( sal_uInt16 nWhichP,
const ScQueryParam* pQueryData ) :
@@ -258,7 +258,7 @@ ScQueryItem::ScQueryItem( sal_uInt16 nWhichP,
mpQueryData.reset(new ScQueryParam);
}
-//------------------------------------------------------------------------
+
ScQueryItem::ScQueryItem( const ScQueryItem& rItem ) :
SfxPoolItem ( rItem ),
@@ -273,7 +273,7 @@ ScQueryItem::~ScQueryItem()
{
}
-//------------------------------------------------------------------------
+
void ScQueryItem::SetAdvancedQuerySource(const ScRange* pSource)
{
@@ -297,14 +297,14 @@ bool ScQueryItem::GetAdvancedQuerySource(ScRange& rSource) const
return bIsAdvanced;
}
-//------------------------------------------------------------------------
+
OUString ScQueryItem::GetValueText() const
{
return OUString("QueryItem");
}
-//------------------------------------------------------------------------
+
bool ScQueryItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -318,16 +318,16 @@ bool ScQueryItem::operator==( const SfxPoolItem& rItem ) const
&& (*mpQueryData == *rQueryItem.mpQueryData) );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScQueryItem::Clone( SfxItemPool * ) const
{
return new ScQueryItem( *this );
}
-// -----------------------------------------------------------------------
+
// ScSubTotalItem - Daten fuer den Zwischenergebnisdialog
-// -----------------------------------------------------------------------
+
ScSubTotalItem::ScSubTotalItem( sal_uInt16 nWhichP,
ScViewData* ptrViewData,
@@ -338,7 +338,7 @@ ScSubTotalItem::ScSubTotalItem( sal_uInt16 nWhichP,
if ( pSubTotalData ) theSubTotalData = *pSubTotalData;
}
-//------------------------------------------------------------------------
+
ScSubTotalItem::ScSubTotalItem( sal_uInt16 nWhichP,
const ScSubTotalParam* pSubTotalData ) :
@@ -348,7 +348,7 @@ ScSubTotalItem::ScSubTotalItem( sal_uInt16 nWhichP,
if ( pSubTotalData ) theSubTotalData = *pSubTotalData;
}
-//------------------------------------------------------------------------
+
ScSubTotalItem::ScSubTotalItem( const ScSubTotalItem& rItem ) :
SfxPoolItem ( rItem ),
@@ -361,14 +361,14 @@ ScSubTotalItem::~ScSubTotalItem()
{
}
-//------------------------------------------------------------------------
+
OUString ScSubTotalItem::GetValueText() const
{
return OUString("SubTotalItem");
}
-//------------------------------------------------------------------------
+
bool ScSubTotalItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -380,14 +380,14 @@ bool ScSubTotalItem::operator==( const SfxPoolItem& rItem ) const
&& (theSubTotalData == rSTItem.theSubTotalData) );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScSubTotalItem::Clone( SfxItemPool * ) const
{
return new ScSubTotalItem( *this );
}
-//------------------------------------------------------------------------
+
bool ScSubTotalItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /* nMemberUd */ ) const
{
@@ -396,9 +396,9 @@ bool ScSubTotalItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /* nM
return true;
}
-// -----------------------------------------------------------------------
+
// ScUserListItem - Transporter fuer den Benutzerlisten-TabPage
-// -----------------------------------------------------------------------
+
ScUserListItem::ScUserListItem( sal_uInt16 nWhichP )
: SfxPoolItem ( nWhichP ),
@@ -406,7 +406,7 @@ ScUserListItem::ScUserListItem( sal_uInt16 nWhichP )
{
}
-//------------------------------------------------------------------------
+
ScUserListItem::ScUserListItem( const ScUserListItem& rItem )
: SfxPoolItem ( rItem )
@@ -422,14 +422,14 @@ ScUserListItem::~ScUserListItem()
delete pUserList;
}
-//------------------------------------------------------------------------
+
OUString ScUserListItem::GetValueText() const
{
return OUString("ScUserListItem");
}
-//------------------------------------------------------------------------
+
bool ScUserListItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -447,14 +447,14 @@ bool ScUserListItem::operator==( const SfxPoolItem& rItem ) const
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScUserListItem::Clone( SfxItemPool * ) const
{
return new ScUserListItem( *this );
}
-//------------------------------------------------------------------------
+
void ScUserListItem::SetUserList( const ScUserList& rUserList )
{
@@ -462,9 +462,9 @@ void ScUserListItem::SetUserList( const ScUserList& rUserList )
pUserList = new ScUserList( rUserList );
}
-// -----------------------------------------------------------------------
+
// ScConsolidateItem - Daten fuer den Konsolidieren-Dialog
-// -----------------------------------------------------------------------
+
ScConsolidateItem::ScConsolidateItem(
sal_uInt16 nWhichP,
@@ -474,7 +474,7 @@ ScConsolidateItem::ScConsolidateItem(
if ( pConsolidateData ) theConsData = *pConsolidateData;
}
-//------------------------------------------------------------------------
+
ScConsolidateItem::ScConsolidateItem( const ScConsolidateItem& rItem ) :
SfxPoolItem ( rItem ),
@@ -482,20 +482,20 @@ ScConsolidateItem::ScConsolidateItem( const ScConsolidateItem& rItem ) :
{
}
-//------------------------------------------------------------------------
+
ScConsolidateItem::~ScConsolidateItem()
{
}
-//------------------------------------------------------------------------
+
OUString ScConsolidateItem::GetValueText() const
{
return OUString("ScConsolidateItem");
}
-//------------------------------------------------------------------------
+
bool ScConsolidateItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -506,7 +506,7 @@ bool ScConsolidateItem::operator==( const SfxPoolItem& rItem ) const
return ( theConsData == rCItem.theConsData);
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScConsolidateItem::Clone( SfxItemPool * ) const
{
@@ -514,9 +514,9 @@ SfxPoolItem* ScConsolidateItem::Clone( SfxItemPool * ) const
}
-// -----------------------------------------------------------------------
+
// ScPivotItem - Daten fuer den Pivot-Dialog
-// -----------------------------------------------------------------------
+
ScPivotItem::ScPivotItem( sal_uInt16 nWhichP, const ScDPSaveData* pData,
const ScRange* pRange, bool bNew ) :
@@ -531,7 +531,7 @@ ScPivotItem::ScPivotItem( sal_uInt16 nWhichP, const ScDPSaveData* pData,
bNewSheet = bNew;
}
-//------------------------------------------------------------------------
+
ScPivotItem::ScPivotItem( const ScPivotItem& rItem ) :
SfxPoolItem ( rItem ),
@@ -542,21 +542,21 @@ ScPivotItem::ScPivotItem( const ScPivotItem& rItem ) :
pSaveData = new ScDPSaveData(*rItem.pSaveData);
}
-//------------------------------------------------------------------------
+
ScPivotItem::~ScPivotItem()
{
delete pSaveData;
}
-//------------------------------------------------------------------------
+
OUString ScPivotItem::GetValueText() const
{
return OUString("ScPivotItem");
}
-//------------------------------------------------------------------------
+
bool ScPivotItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -569,7 +569,7 @@ bool ScPivotItem::operator==( const SfxPoolItem& rItem ) const
bNewSheet == rPItem.bNewSheet );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScPivotItem::Clone( SfxItemPool * ) const
{
@@ -577,9 +577,9 @@ SfxPoolItem* ScPivotItem::Clone( SfxItemPool * ) const
}
-// -----------------------------------------------------------------------
+
// ScSolveItem - Daten fuer den Solver-Dialog
-// -----------------------------------------------------------------------
+
ScSolveItem::ScSolveItem( sal_uInt16 nWhichP,
const ScSolveParam* pSolveData )
@@ -588,7 +588,7 @@ ScSolveItem::ScSolveItem( sal_uInt16 nWhichP,
if ( pSolveData ) theSolveData = *pSolveData;
}
-//------------------------------------------------------------------------
+
ScSolveItem::ScSolveItem( const ScSolveItem& rItem )
: SfxPoolItem ( rItem ),
@@ -596,20 +596,20 @@ ScSolveItem::ScSolveItem( const ScSolveItem& rItem )
{
}
-//------------------------------------------------------------------------
+
ScSolveItem::~ScSolveItem()
{
}
-//------------------------------------------------------------------------
+
OUString ScSolveItem::GetValueText() const
{
return OUString("ScSolveItem");
}
-//------------------------------------------------------------------------
+
bool ScSolveItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -620,16 +620,16 @@ bool ScSolveItem::operator==( const SfxPoolItem& rItem ) const
return ( theSolveData == rPItem.theSolveData );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScSolveItem::Clone( SfxItemPool * ) const
{
return new ScSolveItem( *this );
}
-// -----------------------------------------------------------------------
+
// ScTabOpItem - Daten fuer den TabOp-Dialog
-// -----------------------------------------------------------------------
+
ScTabOpItem::ScTabOpItem( sal_uInt16 nWhichP,
const ScTabOpParam* pTabOpData )
@@ -638,7 +638,7 @@ ScTabOpItem::ScTabOpItem( sal_uInt16 nWhichP,
if ( pTabOpData ) theTabOpData = *pTabOpData;
}
-//------------------------------------------------------------------------
+
ScTabOpItem::ScTabOpItem( const ScTabOpItem& rItem )
: SfxPoolItem ( rItem ),
@@ -646,20 +646,20 @@ ScTabOpItem::ScTabOpItem( const ScTabOpItem& rItem )
{
}
-//------------------------------------------------------------------------
+
ScTabOpItem::~ScTabOpItem()
{
}
-//------------------------------------------------------------------------
+
OUString ScTabOpItem::GetValueText() const
{
return OUString("ScTabOpItem");
}
-//------------------------------------------------------------------------
+
bool ScTabOpItem::operator==( const SfxPoolItem& rItem ) const
{
@@ -670,7 +670,7 @@ bool ScTabOpItem::operator==( const SfxPoolItem& rItem ) const
return ( theTabOpData == rPItem.theTabOpData );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* ScTabOpItem::Clone( SfxItemPool * ) const
{
diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx
index fcd0da3eaf62..ca79984636cb 100644
--- a/sc/source/ui/attrdlg/attrdlg.cxx
+++ b/sc/source/ui/attrdlg/attrdlg.cxx
@@ -69,13 +69,13 @@ ScAttrDlg::ScAttrDlg(SfxViewFrame* pFrameP, Window* pParent, const SfxItemSet* p
AddTabPage( "cellprotection" , ScTabPageProtection::Create, 0 );
}
-// -----------------------------------------------------------------------
+
ScAttrDlg::~ScAttrDlg()
{
}
-// -----------------------------------------------------------------------
+
void ScAttrDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage )
{
@@ -97,7 +97,7 @@ void ScAttrDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage )
}
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScAttrDlg, OkHandler)
{
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index b4f30e43f069..88090598be77 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -68,14 +68,14 @@ sal_uInt16* ScTabPageProtection::GetRanges()
return pProtectionRanges;
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTabPageProtection::Create( Window* pParent, const SfxItemSet& rAttrSet )
{
return ( new ScTabPageProtection( pParent, rAttrSet ) );
}
-//------------------------------------------------------------------------
+
void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
{
@@ -120,7 +120,7 @@ void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
UpdateButtons();
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
{
@@ -144,7 +144,7 @@ sal_Bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
bAttrsChanged = !pOldItem || !( aProtAttr == *(const ScProtectionAttr*)pOldItem );
}
- //--------------------------------------------------
+
if ( bAttrsChanged )
rCoreAttrs.Put( aProtAttr );
@@ -154,7 +154,7 @@ sal_Bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
return bAttrsChanged;
}
-//------------------------------------------------------------------------
+
int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP )
{
@@ -164,7 +164,7 @@ int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP )
return LEAVE_PAGE;
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
{
@@ -195,7 +195,7 @@ IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
return 0;
}
-//------------------------------------------------------------------------
+
void ScTabPageProtection::UpdateButtons()
{
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx
index dde551d844ab..5bba027c5f8b 100644
--- a/sc/source/ui/cctrl/cbuttonw.cxx
+++ b/sc/source/ui/cctrl/cbuttonw.cxx
@@ -35,20 +35,20 @@ ScDDComboBoxButton::ScDDComboBoxButton( OutputDevice* pOutputDevice )
SetOptSizePixel();
}
-// -------------------------------------------------------------------------
+
ScDDComboBoxButton::~ScDDComboBoxButton()
{
}
-// -------------------------------------------------------------------------
+
void ScDDComboBoxButton::SetOutputDevice( OutputDevice* pOutputDevice )
{
pOut = pOutputDevice;
}
-// -------------------------------------------------------------------------
+
void ScDDComboBoxButton::SetOptSizePixel()
{
@@ -57,7 +57,7 @@ void ScDDComboBoxButton::SetOptSizePixel()
aBtnSize.Width() = pOut->GetSettings().GetStyleSettings().GetScrollBarSize();
}
-// -------------------------------------------------------------------------
+
void ScDDComboBoxButton::Draw( const Point& rAt,
const Size& rSize,
@@ -116,7 +116,7 @@ void ScDDComboBoxButton::Draw( const Point& rAt,
pOut->SetFillColor();
}
-//------------------------------------------------------------------------
+
void ScDDComboBoxButton::ImpDrawArrow( const Rectangle& rRect,
bool bState )
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 0ae9ba297c28..9e017bc5cd26 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -48,7 +48,7 @@ ScMenuFloatingWindow::MenuItemData::MenuItemData() :
{
}
-// ----------------------------------------------------------------------------
+
ScMenuFloatingWindow::SubMenuItemData::SubMenuItemData(ScMenuFloatingWindow* pParent) :
mpSubMenu(NULL),
@@ -72,7 +72,7 @@ IMPL_LINK_NOARG(ScMenuFloatingWindow::SubMenuItemData, TimeoutHdl)
return 0;
}
-// ----------------------------------------------------------------------------
+
size_t ScMenuFloatingWindow::MENU_NOT_SELECTED = 999;
@@ -872,7 +872,7 @@ ScCheckListMenuWindow::Member::Member() :
{
}
-// ----------------------------------------------------------------------------
+
ScCheckListMenuWindow::CancelButton::CancelButton(ScCheckListMenuWindow* pParent) :
::CancelButton(pParent), mpParent(pParent) {}
@@ -883,7 +883,7 @@ void ScCheckListMenuWindow::CancelButton::Click()
::CancelButton::Click();
}
-// ----------------------------------------------------------------------------
+
ScCheckListMenuWindow::ScCheckListMenuWindow(Window* pParent, ScDocument* pDoc) :
ScMenuFloatingWindow(pParent, pDoc),
diff --git a/sc/source/ui/cctrl/popmenu.cxx b/sc/source/ui/cctrl/popmenu.cxx
index 9d30eb3c495f..e6fb1dcce058 100644
--- a/sc/source/ui/cctrl/popmenu.cxx
+++ b/sc/source/ui/cctrl/popmenu.cxx
@@ -19,7 +19,7 @@
#include "popmenu.hxx"
-//------------------------------------------------------------------
+
void ScPopupMenu::Select()
{
diff --git a/sc/source/ui/cctrl/tbinsert.cxx b/sc/source/ui/cctrl/tbinsert.cxx
index 94bb5a67111a..f6d1f9047ff6 100644
--- a/sc/source/ui/cctrl/tbinsert.cxx
+++ b/sc/source/ui/cctrl/tbinsert.cxx
@@ -34,15 +34,15 @@
#include "scresid.hxx"
#include "sc.hrc"
-// -----------------------------------------------------------------------
+
SFX_IMPL_TOOLBOX_CONTROL( ScTbxInsertCtrl, SfxUInt16Item);
-//------------------------------------------------------------------
+
//
// ToolBox - Controller
//
-//------------------------------------------------------------------
+
ScTbxInsertCtrl::ScTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
SfxToolBoxControl( nSlotId, nId, rTbx ),
diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
index ce5753ca96e5..8d5a26212f7f 100644
--- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
+++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
@@ -39,11 +39,11 @@
// class ScZoomSliderControl ---------------------------------------
//========================================================================
-// -----------------------------------------------------------------------
+
SFX_IMPL_TOOLBOX_CONTROL( ScZoomSliderControl, SvxZoomSliderItem );
-// -----------------------------------------------------------------------
+
ScZoomSliderControl::ScZoomSliderControl(
sal_uInt16 nSlotId,
@@ -54,14 +54,14 @@ ScZoomSliderControl::ScZoomSliderControl(
rTbx.Invalidate();
}
-// -----------------------------------------------------------------------
+
ScZoomSliderControl::~ScZoomSliderControl()
{
}
-// -----------------------------------------------------------------------
+
void ScZoomSliderControl::StateChanged( sal_uInt16 /*nSID*/, SfxItemState eState,
const SfxPoolItem* pState )
@@ -89,7 +89,7 @@ void ScZoomSliderControl::StateChanged( sal_uInt16 /*nSID*/, SfxItemState eState
}
}
-// -----------------------------------------------------------------------
+
Window* ScZoomSliderControl::CreateItemWindow( Window *pParent )
{
@@ -101,7 +101,7 @@ Window* ScZoomSliderControl::CreateItemWindow( Window *pParent )
return pSlider;
}
-// -----------------------------------------------------------------------
+
struct ScZoomSliderWnd::ScZoomSliderWnd_Impl
{
@@ -134,7 +134,7 @@ struct ScZoomSliderWnd::ScZoomSliderWnd_Impl
}
};
-// -----------------------------------------------------------------------
+
const long nButtonWidth = 10;
const long nButtonHeight = 10;
@@ -148,7 +148,7 @@ const long nSnappingEpsilon = 5; // snapping epsilon in pixels
const long nSnappingPointsMinDist = nSnappingEpsilon; // minimum distance of two adjacent snapping points
-// -----------------------------------------------------------------------
+
sal_uInt16 ScZoomSliderWnd::Offset2Zoom( long nOffset ) const
{
@@ -209,7 +209,7 @@ sal_uInt16 ScZoomSliderWnd::Offset2Zoom( long nOffset ) const
return nRet;
}
-// -----------------------------------------------------------------------
+
long ScZoomSliderWnd::Zoom2Offset( sal_uInt16 nCurrentZoom ) const
{
@@ -237,7 +237,7 @@ long ScZoomSliderWnd::Zoom2Offset( sal_uInt16 nCurrentZoom ) const
return nRect;
}
-// -----------------------------------------------------------------------
+
ScZoomSliderWnd::ScZoomSliderWnd( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& rDispatchProvider,
@@ -255,14 +255,14 @@ ScZoomSliderWnd::ScZoomSliderWnd( Window* pParent, const ::com::sun::star::uno::
SetSizePixel( Size( aSliderSize.Width() * nSliderWidth-1, aSliderSize.Height() + nSliderHeight ) );
}
-// -----------------------------------------------------------------------
+
ScZoomSliderWnd::~ScZoomSliderWnd()
{
delete mpImpl;
}
-// -----------------------------------------------------------------------
+
void ScZoomSliderWnd::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -320,7 +320,7 @@ void ScZoomSliderWnd::MouseButtonDown( const MouseEvent& rMEvt )
mpImpl->mbOmitPaint = false;
}
-// -----------------------------------------------------------------------
+
void ScZoomSliderWnd::MouseMove( const MouseEvent& rMEvt )
{
@@ -362,7 +362,7 @@ void ScZoomSliderWnd::MouseMove( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void ScZoomSliderWnd::UpdateFromItem( const SvxZoomSliderItem* pZoomSliderItem )
{
@@ -414,14 +414,14 @@ void ScZoomSliderWnd::UpdateFromItem( const SvxZoomSliderItem* pZoomSliderItem )
Paint(aRect);
}
-// -----------------------------------------------------------------------
+
void ScZoomSliderWnd::Paint( const Rectangle& rRect )
{
DoPaint( rRect );
}
-// -----------------------------------------------------------------------
+
void ScZoomSliderWnd::DoPaint( const Rectangle& /*rRect*/ )
{
@@ -519,6 +519,6 @@ void ScZoomSliderWnd::DoPaint( const Rectangle& /*rRect*/ )
}
-// -----------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 3e659f42489d..4f12df30bcab 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -380,9 +380,9 @@ IMPL_LINK_NOARG( ScCondFormatList, ScrollHdl )
return 0;
}
-//---------------------------------------------------
+
//ScCondFormatDlg
-//---------------------------------------------------
+
ScCondFormatDlg::ScCondFormatDlg(Window* pParent, ScDocument* pDoc,
const ScConditionalFormat* pFormat, const ScRangeList& rRange,
diff --git a/sc/source/ui/dbgui/csvsplits.cxx b/sc/source/ui/dbgui/csvsplits.cxx
index ae7b198b116e..2f9fdc6daf37 100644
--- a/sc/source/ui/dbgui/csvsplits.cxx
+++ b/sc/source/ui/dbgui/csvsplits.cxx
@@ -65,7 +65,7 @@ bool ScCsvSplits::HasSplit( sal_Int32 nPos ) const
}
-// ----------------------------------------------------------------------------
+
sal_uInt32 ScCsvSplits::GetIndex( sal_Int32 nPos ) const
{
@@ -94,7 +94,7 @@ sal_Int32 ScCsvSplits::GetPos( sal_uInt32 nIndex ) const
}
-// ----------------------------------------------------------------------------
+
sal_uInt32 ScCsvSplits::GetIterIndex( const_iterator aIter ) const
{
diff --git a/sc/source/ui/dbgui/dapidata.cxx b/sc/source/ui/dbgui/dapidata.cxx
index f3eaad9067e1..09af5929ba41 100644
--- a/sc/source/ui/dbgui/dapidata.cxx
+++ b/sc/source/ui/dbgui/dapidata.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include <vcl/waitobj.hxx>
#include <comphelper/processfactory.hxx>
@@ -44,7 +44,7 @@ using namespace com::sun::star;
#include "miscuno.hxx"
#include "dpsdbtab.hxx"
-//-------------------------------------------------------------------------
+
// entries in the "type" ListBox
@@ -52,7 +52,7 @@ using namespace com::sun::star;
#define DP_TYPELIST_QUERY 1
#define DP_TYPELIST_SQLNAT 3
-//-------------------------------------------------------------------------
+
ScDataPilotDatabaseDlg::ScDataPilotDatabaseDlg( Window* pParent ) :
ModalDialog(pParent, "SelectDataSourceDialog",
diff --git a/sc/source/ui/dbgui/dapitype.cxx b/sc/source/ui/dbgui/dapitype.cxx
index 495ea0df0829..63a07ffd13e1 100644
--- a/sc/source/ui/dbgui/dapitype.cxx
+++ b/sc/source/ui/dbgui/dapitype.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "dapitype.hxx"
#include "scresid.hxx"
@@ -31,7 +31,7 @@
using namespace com::sun::star;
-//-------------------------------------------------------------------------
+
ScDataPilotSourceTypeDlg::ScDataPilotSourceTypeDlg(Window* pParent, bool bEnableExternal)
: ModalDialog( pParent, "SelectSourceDialog", "modules/scalc/ui/selectsource.ui" )
@@ -101,7 +101,7 @@ IMPL_LINK( ScDataPilotSourceTypeDlg, RadioClickHdl, RadioButton*, pBtn )
return 0;
}
-//-------------------------------------------------------------------------
+
ScDataPilotServiceDlg::ScDataPilotServiceDlg( Window* pParent,
const uno::Sequence<OUString>& rServices ) :
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index 715a6b9e310a..019cfe2e2d39 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -37,7 +37,7 @@
| SCA_COL2_ABSOLUTE | SCA_ROW2_ABSOLUTE | SCA_TAB2_ABSOLUTE
#define ABS_DREF3D ABS_DREF | SCA_TAB_3D
-//----------------------------------------------------------------------------
+
class DBSaveData;
@@ -78,7 +78,7 @@ private:
-//----------------------------------------------------------------------------
+
void DBSaveData::Save()
{
@@ -92,7 +92,7 @@ void DBSaveData::Save()
}
-//----------------------------------------------------------------------------
+
void DBSaveData::Restore()
{
@@ -112,7 +112,7 @@ void DBSaveData::Restore()
//============================================================================
// class ScDbNameDlg
-//----------------------------------------------------------------------------
+
ScDbNameDlg::ScDbNameDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScViewData* ptrViewData)
@@ -164,7 +164,7 @@ ScDbNameDlg::ScDbNameDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
}
-//----------------------------------------------------------------------------
+
ScDbNameDlg::~ScDbNameDlg()
{
@@ -172,7 +172,7 @@ ScDbNameDlg::~ScDbNameDlg()
}
-//----------------------------------------------------------------------------
+
void ScDbNameDlg::Init()
{
@@ -272,7 +272,7 @@ void ScDbNameDlg::SetInfoStrings( const ScDBData* pDBData )
m_pFTOperations->SetText(aBuf.makeStringAndClear());
}
-//----------------------------------------------------------------------------
+
// Uebergabe eines mit der Maus selektierten Tabellenbereiches, der dann als
// neue Selektion im Referenz-Fenster angezeigt wird.
@@ -295,14 +295,14 @@ void ScDbNameDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
-//----------------------------------------------------------------------------
+
bool ScDbNameDlg::Close()
{
return DoClose( ScDbNameDlgWrapper::GetChildWindowId() );
}
-//------------------------------------------------------------------------
+
void ScDbNameDlg::SetActive()
{
@@ -315,7 +315,7 @@ void ScDbNameDlg::SetActive()
RefInputDone();
}
-//------------------------------------------------------------------------
+
void ScDbNameDlg::UpdateNames()
{
@@ -324,7 +324,7 @@ void ScDbNameDlg::UpdateNames()
const DBsType& rDBs = aLocalDbCol.getNamedDBs();
m_pEdName->SetUpdateMode( false );
- //-----------------------------------------------------------
+
m_pEdName->Clear();
m_pEdAssign->SetText( EMPTY_OUSTRING );
@@ -340,12 +340,12 @@ void ScDbNameDlg::UpdateNames()
m_pBtnAdd->Disable();
m_pBtnRemove->Disable();
}
- //-----------------------------------------------------------
+
m_pEdName->SetUpdateMode( true );
m_pEdName->Invalidate();
}
-//------------------------------------------------------------------------
+
void ScDbNameDlg::UpdateDBData( const OUString& rStrName )
{
@@ -379,7 +379,7 @@ void ScDbNameDlg::UpdateDBData( const OUString& rStrName )
m_pOptions->Enable();
}
-//------------------------------------------------------------------------
+
bool ScDbNameDlg::IsRefInputMode() const
@@ -387,7 +387,7 @@ bool ScDbNameDlg::IsRefInputMode() const
return bRefInputMode;
}
-//------------------------------------------------------------------------
+
// Handler:
// ========
@@ -406,7 +406,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, OkBtnHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(ScDbNameDlg, CancelBtnHdl)
{
@@ -415,7 +415,7 @@ IMPL_LINK_NOARG_INLINE_START(ScDbNameDlg, CancelBtnHdl)
}
IMPL_LINK_NOARG_INLINE_END(ScDbNameDlg, CancelBtnHdl)
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl)
{
@@ -564,7 +564,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, RemoveBtnHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScDbNameDlg, NameModifyHdl)
{
@@ -630,7 +630,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, NameModifyHdl)
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScDbNameDlg, AssModifyHdl)
{
diff --git a/sc/source/ui/dbgui/dpgroupdlg.cxx b/sc/source/ui/dbgui/dpgroupdlg.cxx
index 252803b600e3..e94e2c50fc95 100644
--- a/sc/source/ui/dbgui/dpgroupdlg.cxx
+++ b/sc/source/ui/dbgui/dpgroupdlg.cxx
@@ -115,7 +115,7 @@ IMPL_LINK( ScDPGroupEditHelper, ClickHdl, RadioButton*, pButton )
return 0;
}
-// ----------------------------------------------------------------------------
+
ScDPNumGroupEditHelper::ScDPNumGroupEditHelper(
RadioButton& rRbAuto, RadioButton& rRbMan, ScDoubleField& rEdValue ) :
@@ -134,7 +134,7 @@ void ScDPNumGroupEditHelper::ImplSetValue( double fValue )
mrEdValue.SetValue( fValue );
}
-// ----------------------------------------------------------------------------
+
ScDPDateGroupEditHelper::ScDPDateGroupEditHelper(
RadioButton& rRbAuto, RadioButton& rRbMan, DateField& rEdValue, const Date& rNullDate ) :
diff --git a/sc/source/ui/dbgui/fieldwnd.cxx b/sc/source/ui/dbgui/fieldwnd.cxx
index 9564ef4418f4..65fd7a6cc826 100644
--- a/sc/source/ui/dbgui/fieldwnd.cxx
+++ b/sc/source/ui/dbgui/fieldwnd.cxx
@@ -1230,7 +1230,7 @@ ScDPRowFieldControl::~ScDPRowFieldControl()
{
}
-//-------------------------------------------------------------------
+
Point ScDPRowFieldControl::GetFieldPosition(size_t nIndex)
{
@@ -1358,7 +1358,7 @@ size_t ScDPRowFieldControl::GetDisplayPosition(size_t nIndex) const
return INVALID_INDEX;
}
-//-------------------------------------------------------------------
+
OUString ScDPRowFieldControl::GetDescription() const
{
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index 982bcdcd69f6..ce067fb1c9cc 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -161,7 +161,7 @@ ScFilterDlg::ScFilterDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
}
-//----------------------------------------------------------------------------
+
ScFilterDlg::~ScFilterDlg()
{
@@ -174,7 +174,7 @@ ScFilterDlg::~ScFilterDlg()
}
-//----------------------------------------------------------------------------
+
void ScFilterDlg::Init( const SfxItemSet& rArgSet )
{
@@ -389,7 +389,7 @@ void ScFilterDlg::Init( const SfxItemSet& rArgSet )
}
-//----------------------------------------------------------------------------
+
bool ScFilterDlg::Close()
{
@@ -400,7 +400,7 @@ bool ScFilterDlg::Close()
}
-//----------------------------------------------------------------------------
+
// Mouse-selected cell area becomes the new selection and is shown in the
// reference text box
@@ -416,7 +416,7 @@ void ScFilterDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
-//----------------------------------------------------------------------------
+
void ScFilterDlg::SetActive()
{
@@ -432,7 +432,7 @@ void ScFilterDlg::SetActive()
RefInputDone();
}
-//----------------------------------------------------------------------------
+
void ScFilterDlg::FillFieldLists()
{
@@ -611,7 +611,7 @@ void ScFilterDlg::UpdateHdrInValueList( size_t nList )
}
}
-//----------------------------------------------------------------------------
+
void ScFilterDlg::ClearValueList( size_t nList )
{
@@ -626,7 +626,7 @@ void ScFilterDlg::ClearValueList( size_t nList )
}
-//----------------------------------------------------------------------------
+
size_t ScFilterDlg::GetFieldSelPos( SCCOL nField )
{
@@ -636,7 +636,7 @@ size_t ScFilterDlg::GetFieldSelPos( SCCOL nField )
return 0;
}
-//----------------------------------------------------------------------------
+
ScQueryItem* ScFilterDlg::GetOutputItem()
{
@@ -682,7 +682,7 @@ ScQueryItem* ScFilterDlg::GetOutputItem()
}
-//----------------------------------------------------------------------------
+
bool ScFilterDlg::IsRefInputMode() const
{
@@ -690,7 +690,7 @@ bool ScFilterDlg::IsRefInputMode() const
}
-//----------------------------------------------------------------------------
+
// Handler:
// ========
@@ -731,7 +731,7 @@ IMPL_LINK( ScFilterDlg, EndDlgHdl, Button*, pBtn )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScFilterDlg, MoreExpandedHdl)
{
@@ -747,7 +747,7 @@ IMPL_LINK_NOARG(ScFilterDlg, MoreExpandedHdl)
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterDlg, TimeOutHdl, Timer*, _pTimer )
{
@@ -763,7 +763,7 @@ IMPL_LINK( ScFilterDlg, TimeOutHdl, Timer*, _pTimer )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterDlg, LbSelectHdl, ListBox*, pLb )
{
@@ -1020,7 +1020,7 @@ IMPL_LINK( ScFilterDlg, LbSelectHdl, ListBox*, pLb )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterDlg, CheckBoxHdl, CheckBox*, pBox )
{
@@ -1061,7 +1061,7 @@ IMPL_LINK( ScFilterDlg, CheckBoxHdl, CheckBox*, pBox )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterDlg, ValModifyHdl, ComboBox*, pEd )
{
@@ -1147,7 +1147,7 @@ IMPL_LINK( ScFilterDlg, ValModifyHdl, ComboBox*, pEd )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScFilterDlg, ScrollHdl)
{
SliderMoved();
diff --git a/sc/source/ui/dbgui/foptmgr.cxx b/sc/source/ui/dbgui/foptmgr.cxx
index 6af9cfe5e391..58d540974438 100644
--- a/sc/source/ui/dbgui/foptmgr.cxx
+++ b/sc/source/ui/dbgui/foptmgr.cxx
@@ -29,9 +29,9 @@
#include "foptmgr.hxx"
-//----------------------------------------------------------------------------
+
// ScFilterOptionsMgr (.ui's option helper)
-//----------------------------------------------------------------------------
+
ScFilterOptionsMgr::ScFilterOptionsMgr(
ScViewData* ptrViewData,
@@ -69,7 +69,7 @@ ScFilterOptionsMgr::ScFilterOptionsMgr(
}
-//----------------------------------------------------------------------------
+
ScFilterOptionsMgr::~ScFilterOptionsMgr()
{
@@ -81,7 +81,7 @@ ScFilterOptionsMgr::~ScFilterOptionsMgr()
}
-//----------------------------------------------------------------------------
+
void ScFilterOptionsMgr::Init()
{
@@ -171,7 +171,7 @@ void ScFilterOptionsMgr::Init()
pFtDbArea->SetText( OUString() );
}
- //------------------------------------------------------
+
// Kopierposition:
if ( !rQueryData.bInplace )
@@ -204,7 +204,7 @@ void ScFilterOptionsMgr::Init()
pEdCopyArea->SetText( EMPTY_OUSTRING );
}
-//----------------------------------------------------------------------------
+
bool ScFilterOptionsMgr::VerifyPosStr( const OUString& rPosStr ) const
{
@@ -219,10 +219,10 @@ bool ScFilterOptionsMgr::VerifyPosStr( const OUString& rPosStr ) const
return ( SCA_VALID == (nResult & SCA_VALID) );
}
-//----------------------------------------------------------------------------
+
// Handler:
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterOptionsMgr, LbAreaSelHdl, ListBox*, pLb )
{
@@ -241,7 +241,7 @@ IMPL_LINK( ScFilterOptionsMgr, LbAreaSelHdl, ListBox*, pLb )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterOptionsMgr, EdAreaModifyHdl, Edit*, pEd )
{
@@ -276,7 +276,7 @@ IMPL_LINK( ScFilterOptionsMgr, EdAreaModifyHdl, Edit*, pEd )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScFilterOptionsMgr, BtnCopyResultHdl, CheckBox*, pBox )
{
diff --git a/sc/source/ui/dbgui/imoptdlg.cxx b/sc/source/ui/dbgui/imoptdlg.cxx
index 5c2124c79a1f..778d018f6899 100644
--- a/sc/source/ui/dbgui/imoptdlg.cxx
+++ b/sc/source/ui/dbgui/imoptdlg.cxx
@@ -26,7 +26,7 @@
static const sal_Char pStrFix[] = "FIX";
-//------------------------------------------------------------------------
+
// Der Options-String darf kein Semikolon mehr enthalten (wegen Pickliste)
// darum ab Version 336 Komma stattdessen
@@ -76,7 +76,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
}
}
-//------------------------------------------------------------------------
+
OUString ScImportOptions::BuildString() const
{
@@ -98,7 +98,7 @@ OUString ScImportOptions::BuildString() const
return aResult;
}
-//------------------------------------------------------------------------
+
void ScImportOptions::SetTextEncoding( rtl_TextEncoding nEnc )
{
diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx
index a71c97a7d130..4d1b0100643f 100644
--- a/sc/source/ui/dbgui/pfiltdlg.cxx
+++ b/sc/source/ui/dbgui/pfiltdlg.cxx
@@ -100,7 +100,7 @@ ScPivotFilterDlg::ScPivotFilterDlg( Window* pParent,
FreeResource();
}
-//------------------------------------------------------------------------
+
ScPivotFilterDlg::~ScPivotFilterDlg()
{
@@ -111,7 +111,7 @@ ScPivotFilterDlg::~ScPivotFilterDlg()
delete pOutItem;
}
-//------------------------------------------------------------------------
+
void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet )
{
@@ -265,7 +265,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet )
}
}
-//------------------------------------------------------------------------
+
void ScPivotFilterDlg::FillFieldLists()
{
@@ -302,7 +302,7 @@ void ScPivotFilterDlg::FillFieldLists()
}
}
-//------------------------------------------------------------------------
+
void ScPivotFilterDlg::UpdateValueList( sal_uInt16 nList )
{
@@ -348,7 +348,7 @@ void ScPivotFilterDlg::UpdateValueList( sal_uInt16 nList )
}
}
-//------------------------------------------------------------------------
+
void ScPivotFilterDlg::ClearValueList( sal_uInt16 nList )
{
@@ -362,7 +362,7 @@ void ScPivotFilterDlg::ClearValueList( sal_uInt16 nList )
}
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScPivotFilterDlg::GetFieldSelPos( SCCOL nField )
{
@@ -372,7 +372,7 @@ sal_uInt16 ScPivotFilterDlg::GetFieldSelPos( SCCOL nField )
return 0;
}
-//------------------------------------------------------------------------
+
const ScQueryItem& ScPivotFilterDlg::GetOutputItem()
{
@@ -447,9 +447,9 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem()
return *pOutItem;
}
-//------------------------------------------------------------------------
+
// Handler:
-//------------------------------------------------------------------------
+
IMPL_LINK( ScPivotFilterDlg, LbSelectHdl, ListBox*, pLb )
{
@@ -542,7 +542,7 @@ IMPL_LINK( ScPivotFilterDlg, LbSelectHdl, ListBox*, pLb )
return 0;
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScPivotFilterDlg, CheckBoxHdl, CheckBox*, pBox )
{
@@ -567,7 +567,7 @@ IMPL_LINK( ScPivotFilterDlg, CheckBoxHdl, CheckBox*, pBox )
return 0;
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScPivotFilterDlg, ValModifyHdl, ComboBox*, pEd )
{
diff --git a/sc/source/ui/dbgui/pvfundlg.cxx b/sc/source/ui/dbgui/pvfundlg.cxx
index a6c7f7b051f7..04948dd5768b 100644
--- a/sc/source/ui/dbgui/pvfundlg.cxx
+++ b/sc/source/ui/dbgui/pvfundlg.cxx
@@ -493,7 +493,7 @@ void ScDPSubtotalDlg::Init( const ScDPLabelData& rLabelData, const ScPivotFuncDa
mpBtnOptions->SetClickHdl( LINK( this, ScDPSubtotalDlg, ClickHdl ) );
}
-// ----------------------------------------------------------------------------
+
IMPL_LINK( ScDPSubtotalDlg, RadioClickHdl, RadioButton*, pBtn )
{
diff --git a/sc/source/ui/dbgui/scendlg.cxx b/sc/source/ui/dbgui/scendlg.cxx
index 8c389ab4428d..09dbf93b7efd 100644
--- a/sc/source/ui/dbgui/scendlg.cxx
+++ b/sc/source/ui/dbgui/scendlg.cxx
@@ -113,7 +113,7 @@ ScNewScenarioDlg::ScNewScenarioDlg( Window* pParent, const OUString& rName, bool
m_pCbProtect->Enable(false);
}
-//------------------------------------------------------------------------
+
void ScNewScenarioDlg::GetScenarioData( OUString& rName, OUString& rComment,
Color& rColor, sal_uInt16& rFlags ) const
@@ -151,7 +151,7 @@ void ScNewScenarioDlg::SetScenarioData( const OUString& rName, const OUString& r
m_pCbProtect->Check ( (nFlags & SC_SCENARIO_PROTECT) != 0 );
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScNewScenarioDlg, OkHdl)
{
@@ -177,7 +177,7 @@ IMPL_LINK_NOARG(ScNewScenarioDlg, OkHdl)
//! beim Editieren testen, ob eine andere Tabelle den Namen hat!
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScNewScenarioDlg, EnableHdl, CheckBox *, pBox )
{
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index bc319b98050d..f36e9b1aed4a 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -233,7 +233,7 @@ static void save_Separators(
aItem.PutProperties(aNames, aValues);
}
-// ----------------------------------------------------------------------------
+
ScImportAsciiDlg::ScImportAsciiDlg( Window* pParent,OUString aDatName,
SvStream* pInStream, ScImportAsciiCall eCall ) :
@@ -463,7 +463,7 @@ ScImportAsciiDlg::~ScImportAsciiDlg()
}
-// ----------------------------------------------------------------------------
+
bool ScImportAsciiDlg::GetLine( sal_uLong nLine, OUString &rText )
{
@@ -630,7 +630,7 @@ void ScImportAsciiDlg::UpdateVertical()
}
-// ----------------------------------------------------------------------------
+
IMPL_LINK( ScImportAsciiDlg, RbSepFixHdl, RadioButton*, pButton )
{
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx
index 1deb7dbb62e5..f2d250b292f2 100644
--- a/sc/source/ui/dbgui/scuiimoptdlg.cxx
+++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx
@@ -57,7 +57,7 @@ private:
sal_Int32 nIter;
};
-//------------------------------------------------------------------------
+
sal_uInt16 ScDelimiterTable::GetCode( const OUString& rDel ) const
{
@@ -81,7 +81,7 @@ sal_uInt16 ScDelimiterTable::GetCode( const OUString& rDel ) const
return nCode;
}
-//------------------------------------------------------------------------
+
OUString ScDelimiterTable::GetDelimiter( sal_Unicode nCode ) const
{
@@ -249,7 +249,7 @@ ScImportOptionsDlg::ScImportOptionsDlg(
SetText( *pStrTitle );
}
-//------------------------------------------------------------------------
+
ScImportOptionsDlg::~ScImportOptionsDlg()
{
@@ -257,7 +257,7 @@ ScImportOptionsDlg::~ScImportOptionsDlg()
delete pTextSepTab;
}
-//------------------------------------------------------------------------
+
void ScImportOptionsDlg::GetImportOptions( ScImportOptions& rOptions ) const
{
@@ -274,7 +274,7 @@ void ScImportOptionsDlg::GetImportOptions( ScImportOptions& rOptions ) const
}
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScImportOptionsDlg::GetCodeFromCombo( const ComboBox& rEd ) const
{
@@ -302,7 +302,7 @@ sal_uInt16 ScImportOptionsDlg::GetCodeFromCombo( const ComboBox& rEd ) const
return nCode;
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScImportOptionsDlg, FixedWidthHdl, CheckBox*, pCheckBox )
{
diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx
index 6f2b983b3f91..a17354739c4e 100644
--- a/sc/source/ui/dbgui/sfiltdlg.cxx
+++ b/sc/source/ui/dbgui/sfiltdlg.cxx
@@ -45,7 +45,7 @@
//============================================================================
// class ScSpecialFilterDialog
-//----------------------------------------------------------------------------
+
ScSpecialFilterDlg::ScSpecialFilterDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
const SfxItemSet& rArgSet )
@@ -101,7 +101,7 @@ ScSpecialFilterDlg::ScSpecialFilterDlg( SfxBindings* pB, SfxChildWindow* pCW, Wi
}
-//----------------------------------------------------------------------------
+
ScSpecialFilterDlg::~ScSpecialFilterDlg()
{
@@ -122,7 +122,7 @@ ScSpecialFilterDlg::~ScSpecialFilterDlg()
}
-//----------------------------------------------------------------------------
+
void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet )
{
@@ -204,7 +204,7 @@ void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet )
}
-//----------------------------------------------------------------------------
+
bool ScSpecialFilterDlg::Close()
{
@@ -215,7 +215,7 @@ bool ScSpecialFilterDlg::Close()
}
-//----------------------------------------------------------------------------
+
// Uebergabe eines mit der Maus selektierten Tabellenbereiches, der dann als
// neue Selektion im Referenz-Edit angezeigt wird.
@@ -239,7 +239,7 @@ void ScSpecialFilterDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
}
-//----------------------------------------------------------------------------
+
void ScSpecialFilterDlg::SetActive()
{
@@ -264,7 +264,7 @@ void ScSpecialFilterDlg::SetActive()
}
-//----------------------------------------------------------------------------
+
ScQueryItem* ScSpecialFilterDlg::GetOutputItem( const ScQueryParam& rParam,
const ScRange& rSource )
@@ -277,7 +277,7 @@ ScQueryItem* ScSpecialFilterDlg::GetOutputItem( const ScQueryParam& rParam,
}
-//----------------------------------------------------------------------------
+
bool ScSpecialFilterDlg::IsRefInputMode() const
{
@@ -285,7 +285,7 @@ bool ScSpecialFilterDlg::IsRefInputMode() const
}
-//----------------------------------------------------------------------------
+
// Handler:
// ========
@@ -406,7 +406,7 @@ IMPL_LINK( ScSpecialFilterDlg, EndDlgHdl, Button*, pBtn )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScSpecialFilterDlg, TimeOutHdl, Timer*, _pTimer )
{
@@ -437,7 +437,7 @@ IMPL_LINK( ScSpecialFilterDlg, TimeOutHdl, Timer*, _pTimer )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScSpecialFilterDlg, FilterAreaSelHdl, ListBox*, pLb )
{
@@ -456,7 +456,7 @@ IMPL_LINK( ScSpecialFilterDlg, FilterAreaSelHdl, ListBox*, pLb )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScSpecialFilterDlg, FilterAreaModHdl, formula::RefEdit*, pEd )
{
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index 8302b4f42925..436bd96c6213 100644
--- a/sc/source/ui/dbgui/sortkeydlg.cxx
+++ b/sc/source/ui/dbgui/sortkeydlg.cxx
@@ -34,7 +34,7 @@ void ScSortKeyItem::DisableField()
m_pFrame->Disable();
}
-// -----------------------------------------------------------------------
+
void ScSortKeyItem::EnableField()
{
@@ -56,14 +56,14 @@ ScSortKeyWindow::ScSortKeyWindow(SfxTabPage* pParent, ScSortKeyItems& rSortKeyIt
}
}
-// -----------------------------------------------------------------------
+
ScSortKeyWindow::~ScSortKeyWindow()
{
mrSortKeyItems.clear();
}
-// -----------------------------------------------------------------------
+
void ScSortKeyWindow::AddSortKey( sal_uInt16 nItemNumber )
{
@@ -77,7 +77,7 @@ void ScSortKeyWindow::AddSortKey( sal_uInt16 nItemNumber )
mrSortKeyItems.push_back(pSortKeyItem);
}
-// -----------------------------------------------------------------------
+
void ScSortKeyWindow::DoScroll(sal_Int32 nNewPos)
{
@@ -126,7 +126,7 @@ void ScSortKeyCtrl::setScrollRange()
checkAutoVScroll();
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ScSortKeyCtrl, ScrollHdl, ScrollBar*, pScrollBar )
{
@@ -136,7 +136,7 @@ IMPL_LINK( ScSortKeyCtrl, ScrollHdl, ScrollBar*, pScrollBar )
return 0;
}
-// -----------------------------------------------------------------------
+
void ScSortKeyCtrl::AddSortKey( sal_uInt16 nItem )
{
diff --git a/sc/source/ui/dbgui/subtdlg.cxx b/sc/source/ui/dbgui/subtdlg.cxx
index fd6545136a76..ba77cba95248 100644
--- a/sc/source/ui/dbgui/subtdlg.cxx
+++ b/sc/source/ui/dbgui/subtdlg.cxx
@@ -42,7 +42,7 @@ ScSubTotalDlg::ScSubTotalDlg(Window* pParent, const SfxItemSet* pArgSet)
m_pBtnRemove->SetClickHdl( LINK( this, ScSubTotalDlg, RemoveHdl ) );
}
-//------------------------------------------------------------------------
+
IMPL_LINK_INLINE_START( ScSubTotalDlg, RemoveHdl, PushButton *, pBtn )
{
diff --git a/sc/source/ui/dbgui/textimportoptions.cxx b/sc/source/ui/dbgui/textimportoptions.cxx
index 796386ba0887..f6c4e75c712e 100644
--- a/sc/source/ui/dbgui/textimportoptions.cxx
+++ b/sc/source/ui/dbgui/textimportoptions.cxx
@@ -20,7 +20,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------------
+
#include "textimportoptions.hxx"
#include "vcl/svapp.hxx"
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 14ca4e67af40..61b54eb870b5 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -48,7 +48,7 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
/*
* Since the settings on the second Tab Page (Options) effects
@@ -116,13 +116,13 @@ void ScTabPageSortFields::SetPosPixel(const Point& rAllocPos)
maSortKeyCtrl.setScrollRange();
}
-// -----------------------------------------------------------------------
+
ScTabPageSortFields::~ScTabPageSortFields()
{
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortFields::Init()
{
@@ -144,7 +144,7 @@ void ScTabPageSortFields::Init()
}
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTabPageSortFields::Create( Window* pParent,
const SfxItemSet& rArgSet )
@@ -152,7 +152,7 @@ SfxTabPage* ScTabPageSortFields::Create( Window* pParent,
return ( new ScTabPageSortFields( pParent, rArgSet ) );
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortFields::Reset( const SfxItemSet& /* rArgSet */ )
{
@@ -236,7 +236,7 @@ void ScTabPageSortFields::Reset( const SfxItemSet& /* rArgSet */ )
SetLastSortKey( nSortKeyCount );
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTabPageSortFields::FillItemSet( SfxItemSet& rArgSet )
{
@@ -302,7 +302,7 @@ sal_Bool ScTabPageSortFields::FillItemSet( SfxItemSet& rArgSet )
return sal_True;
}
-// -----------------------------------------------------------------------
+
// for data exchange without dialogue detour:
void ScTabPageSortFields::ActivatePage( const SfxItemSet& rSet )
@@ -328,7 +328,7 @@ void ScTabPageSortFields::ActivatePage( const SfxItemSet& rSet )
}
}
-// -----------------------------------------------------------------------
+
int ScTabPageSortFields::DeactivatePage( SfxItemSet* pSetP )
{
@@ -347,7 +347,7 @@ int ScTabPageSortFields::DeactivatePage( SfxItemSet* pSetP )
return SfxTabPage::LEAVE_PAGE;
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortFields::FillFieldLists( sal_uInt16 nStartField )
{
@@ -417,7 +417,7 @@ void ScTabPageSortFields::FillFieldLists( sal_uInt16 nStartField )
}
}
-//------------------------------------------------------------------------
+
sal_uInt16 ScTabPageSortFields::GetFieldSelPos( SCCOLROW nField )
{
@@ -455,9 +455,9 @@ void ScTabPageSortFields::SetLastSortKey( sal_uInt16 nItem )
maSortKeyItems[nItem].m_pLbSort->SelectEntryPos( 0 );
}
-// -----------------------------------------------------------------------
+
// Handler:
-//---------
+
IMPL_LINK( ScTabPageSortFields, SelectHdl, ListBox *, pLb )
{
@@ -542,7 +542,7 @@ ScTabPageSortOptions::ScTabPageSortOptions( Window* pParent,
m_pLbSortUser->SetAccessibleName(m_pBtnSortUser->GetText());
}
-// -----------------------------------------------------------------------
+
ScTabPageSortOptions::~ScTabPageSortOptions()
{
@@ -555,7 +555,7 @@ ScTabPageSortOptions::~ScTabPageSortOptions()
delete pColWrap; //! not if from document
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortOptions::Init()
{
@@ -640,7 +640,7 @@ void ScTabPageSortOptions::Init()
m_pLbLanguage->InsertLanguage( LANGUAGE_SYSTEM );
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTabPageSortOptions::Create(
Window* pParent,
@@ -649,7 +649,7 @@ SfxTabPage* ScTabPageSortOptions::Create(
return ( new ScTabPageSortOptions( pParent, rArgSet ) );
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortOptions::Reset( const SfxItemSet& /* rArgSet */ )
{
@@ -718,7 +718,7 @@ void ScTabPageSortOptions::Reset( const SfxItemSet& /* rArgSet */ )
}
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTabPageSortOptions::FillItemSet( SfxItemSet& rArgSet )
{
@@ -767,7 +767,7 @@ sal_Bool ScTabPageSortOptions::FillItemSet( SfxItemSet& rArgSet )
return sal_True;
}
-// -----------------------------------------------------------------------
+
// for data exchange without dialogue detour:
void ScTabPageSortOptions::ActivatePage( const SfxItemSet& rSet )
@@ -793,7 +793,7 @@ void ScTabPageSortOptions::ActivatePage( const SfxItemSet& rSet )
}
}
-// -----------------------------------------------------------------------
+
int ScTabPageSortOptions::DeactivatePage( SfxItemSet* pSetP )
{
@@ -847,7 +847,7 @@ int ScTabPageSortOptions::DeactivatePage( SfxItemSet* pSetP )
return bPosInputOk ? SfxTabPage::LEAVE_PAGE : SfxTabPage::KEEP_PAGE;
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortOptions::FillUserSortListBox()
{
@@ -863,7 +863,7 @@ void ScTabPageSortOptions::FillUserSortListBox()
}
}
-// -----------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScTabPageSortOptions, EnableHdl, CheckBox *, pBox )
@@ -895,7 +895,7 @@ IMPL_LINK( ScTabPageSortOptions, EnableHdl, CheckBox *, pBox )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ScTabPageSortOptions, SelOutPosHdl, ListBox *, pLb )
{
@@ -912,7 +912,7 @@ IMPL_LINK( ScTabPageSortOptions, SelOutPosHdl, ListBox *, pLb )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ScTabPageSortOptions, SortDirHdl, RadioButton *, pBtn )
{
@@ -927,7 +927,7 @@ IMPL_LINK( ScTabPageSortOptions, SortDirHdl, RadioButton *, pBtn )
return 0;
}
-// -----------------------------------------------------------------------
+
void ScTabPageSortOptions::EdOutPosModHdl( Edit* pEd )
{
@@ -957,7 +957,7 @@ void ScTabPageSortOptions::EdOutPosModHdl( Edit* pEd )
}
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScTabPageSortOptions, FillAlgorHdl)
{
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx
index 7f777a920b87..3f74086ecbff 100644
--- a/sc/source/ui/dbgui/tpsubt.cxx
+++ b/sc/source/ui/dbgui/tpsubt.cxx
@@ -65,7 +65,7 @@ ScTpSubTotalGroup::ScTpSubTotalGroup( Window* pParent,
Init ();
}
-// -----------------------------------------------------------------------
+
ScTpSubTotalGroup::~ScTpSubTotalGroup()
{
@@ -85,7 +85,7 @@ ScTpSubTotalGroup::~ScTpSubTotalGroup()
}
}
-// -----------------------------------------------------------------------
+
void ScTpSubTotalGroup::Init()
{
@@ -106,7 +106,7 @@ void ScTpSubTotalGroup::Init()
FillListBoxes();
}
-// -----------------------------------------------------------------------
+
bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo,
const SfxItemSet& rArgSet )
@@ -120,7 +120,7 @@ bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo,
else
nGroupIdx = nGroupNo-1;
- //----------------------------------------------------------
+
// first we have to clear the listboxes...
for ( sal_uInt16 nLbEntry = 0; nLbEntry < mpLbColumns->GetEntryCount(); ++nLbEntry )
@@ -168,7 +168,7 @@ bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo,
return true;
}
-// -----------------------------------------------------------------------
+
bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo,
SfxItemSet& rArgSet )
@@ -191,7 +191,7 @@ bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo,
else
nGroupIdx = nGroupNo-1;
- //----------------------------------------------------------
+
ScSubTotalParam theSubTotalData; // auslesen, wenn schon teilweise gefuellt
SfxTabDialog* pDlg = GetTabDialog();
@@ -252,7 +252,7 @@ bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo,
return true;
}
-// -----------------------------------------------------------------------
+
void ScTpSubTotalGroup::FillListBoxes()
{
@@ -290,7 +290,7 @@ void ScTpSubTotalGroup::FillListBoxes()
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ScTpSubTotalGroup::GetFieldSelPos( SCCOL nField )
{
@@ -309,7 +309,7 @@ sal_uInt16 ScTpSubTotalGroup::GetFieldSelPos( SCCOL nField )
return nFieldPos;
}
-// -----------------------------------------------------------------------
+
ScSubTotalFunc ScTpSubTotalGroup::LbPosToFunc( sal_uInt16 nPos )
{
@@ -333,7 +333,7 @@ ScSubTotalFunc ScTpSubTotalGroup::LbPosToFunc( sal_uInt16 nPos )
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ScTpSubTotalGroup::FuncToLbPos( ScSubTotalFunc eFunc )
{
@@ -357,9 +357,9 @@ sal_uInt16 ScTpSubTotalGroup::FuncToLbPos( ScSubTotalFunc eFunc )
}
}
-// -----------------------------------------------------------------------
+
// Handler:
-//---------
+
IMPL_LINK( ScTpSubTotalGroup, SelectHdl, ListBox *, pLb )
{
@@ -387,7 +387,7 @@ IMPL_LINK( ScTpSubTotalGroup, SelectHdl, ListBox *, pLb )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ScTpSubTotalGroup, CheckHdl, ListBox *, pLb )
{
@@ -411,19 +411,19 @@ SfxTabPage* ScTpSubTotalGroup1::Create( Window* pParent,
const SfxItemSet& rArgSet )
{ return ( new ScTpSubTotalGroup1( pParent, rArgSet ) ); }
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTpSubTotalGroup2::Create( Window* pParent,
const SfxItemSet& rArgSet )
{ return ( new ScTpSubTotalGroup2( pParent, rArgSet ) ); }
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTpSubTotalGroup3::Create( Window* pParent,
const SfxItemSet& rArgSet )
{ return ( new ScTpSubTotalGroup3( pParent, rArgSet ) ); }
-// -----------------------------------------------------------------------
+
ScTpSubTotalGroup1::ScTpSubTotalGroup1( Window* pParent, const SfxItemSet& rArgSet ) :
ScTpSubTotalGroup( pParent, rArgSet )
@@ -437,7 +437,7 @@ ScTpSubTotalGroup3::ScTpSubTotalGroup3( Window* pParent, const SfxItemSet& rArgS
ScTpSubTotalGroup( pParent, rArgSet )
{}
-// -----------------------------------------------------------------------
+
#define RESET(i) (ScTpSubTotalGroup::DoReset( (i), rArgSet ))
@@ -446,7 +446,7 @@ void ScTpSubTotalGroup2::Reset( const SfxItemSet& rArgSet ) { RESET(2); }
void ScTpSubTotalGroup3::Reset( const SfxItemSet& rArgSet ) { RESET(3); }
#undef RESET
-// -----------------------------------------------------------------------
+
#define FILLSET(i) (ScTpSubTotalGroup::DoFillItemSet( (i), rArgSet ))
sal_Bool ScTpSubTotalGroup1::FillItemSet( SfxItemSet& rArgSet ) { return FILLSET(1); }
@@ -483,13 +483,13 @@ ScTpSubTotalOptions::ScTpSubTotalOptions( Window* pParent,
Init();
}
-// -----------------------------------------------------------------------
+
ScTpSubTotalOptions::~ScTpSubTotalOptions()
{
}
-// -----------------------------------------------------------------------
+
void ScTpSubTotalOptions::Init()
{
@@ -507,7 +507,7 @@ void ScTpSubTotalOptions::Init()
FillUserSortListBox();
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTpSubTotalOptions::Create( Window* pParent,
const SfxItemSet& rArgSet )
@@ -515,7 +515,7 @@ SfxTabPage* ScTpSubTotalOptions::Create( Window* pParent,
return ( new ScTpSubTotalOptions( pParent, rArgSet ) );
}
-// -----------------------------------------------------------------------
+
void ScTpSubTotalOptions::Reset( const SfxItemSet& /* rArgSet */ )
{
@@ -542,7 +542,7 @@ void ScTpSubTotalOptions::Reset( const SfxItemSet& /* rArgSet */ )
CheckHdl( pBtnSort );
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTpSubTotalOptions::FillItemSet( SfxItemSet& rArgSet )
{
@@ -572,7 +572,7 @@ sal_Bool ScTpSubTotalOptions::FillItemSet( SfxItemSet& rArgSet )
return true;
}
-// -----------------------------------------------------------------------
+
void ScTpSubTotalOptions::FillUserSortListBox()
{
@@ -587,7 +587,7 @@ void ScTpSubTotalOptions::FillUserSortListBox()
}
}
-// -----------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScTpSubTotalOptions, CheckHdl, CheckBox *, pBox )
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index 386f942afda3..b07a1c9a716d 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -301,7 +301,7 @@ bool lclGetStringListFromFormula( OUString& rStringList, const OUString& rFmlaSt
} // namespace
-// ----------------------------------------------------------------------------
+
ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rArgSet ) :
SfxTabPage( pParent, ScResId( TP_VALIDATION_VALUES ), rArgSet ),
@@ -611,7 +611,7 @@ IMPL_LINK( ScTPValidationValue, KillFocusHdl, Window *, pWnd )
return 0;
}
-// ----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScTPValidationValue, SelectHdl)
{
@@ -693,27 +693,27 @@ ScTPValidationHelp::ScTPValidationHelp( Window* pParent,
Init();
}
-// -----------------------------------------------------------------------
+
ScTPValidationHelp::~ScTPValidationHelp()
{
}
-// -----------------------------------------------------------------------
+
void ScTPValidationHelp::Init()
{
pTsbHelp->EnableTriState( false );
}
-//------------------------------------------------------------------------
+
sal_uInt16* ScTPValidationHelp::GetRanges()
{
return pValueRanges;
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTPValidationHelp::Create( Window* pParent,
const SfxItemSet& rArgSet )
@@ -721,7 +721,7 @@ SfxTabPage* ScTPValidationHelp::Create( Window* pParent,
return ( new ScTPValidationHelp( pParent, rArgSet ) );
}
-// -----------------------------------------------------------------------
+
void ScTPValidationHelp::Reset( const SfxItemSet& rArgSet )
{
@@ -743,7 +743,7 @@ void ScTPValidationHelp::Reset( const SfxItemSet& rArgSet )
pEdInputHelp->SetText( EMPTY_OUSTRING );
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTPValidationHelp::FillItemSet( SfxItemSet& rArgSet )
{
@@ -776,13 +776,13 @@ ScTPValidationError::ScTPValidationError( Window* pParent,
Init();
}
-// -----------------------------------------------------------------------
+
ScTPValidationError::~ScTPValidationError()
{
}
-// -----------------------------------------------------------------------
+
void ScTPValidationError::Init()
{
@@ -795,14 +795,14 @@ void ScTPValidationError::Init()
SelectActionHdl( NULL );
}
-//------------------------------------------------------------------------
+
sal_uInt16* ScTPValidationError::GetRanges()
{
return pValueRanges;
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTPValidationError::Create( Window* pParent,
const SfxItemSet& rArgSet )
@@ -810,7 +810,7 @@ SfxTabPage* ScTPValidationError::Create( Window* pParent,
return ( new ScTPValidationError( pParent, rArgSet ) );
}
-// -----------------------------------------------------------------------
+
void ScTPValidationError::Reset( const SfxItemSet& rArgSet )
{
@@ -839,7 +839,7 @@ void ScTPValidationError::Reset( const SfxItemSet& rArgSet )
SelectActionHdl( NULL );
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTPValidationError::FillItemSet( SfxItemSet& rArgSet )
{
@@ -851,7 +851,7 @@ sal_Bool ScTPValidationError::FillItemSet( SfxItemSet& rArgSet )
return sal_True;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScTPValidationError, SelectActionHdl)
{
@@ -865,7 +865,7 @@ IMPL_LINK_NOARG(ScTPValidationError, SelectActionHdl)
return( 0L );
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScTPValidationError, ClickSearchHdl)
{
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx
index c3def988b08b..bfda73213579 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -56,7 +56,7 @@ struct AreaLink_Impl
TYPEINIT1(ScAreaLink,::sfx2::SvBaseLink);
-//------------------------------------------------------------------------
+
ScAreaLink::ScAreaLink( SfxObjectShell* pShell, const OUString& rFile,
const OUString& rFilter, const OUString& rOpt,
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index e5ed5d433360..19c1ed176ff2 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -53,7 +53,7 @@
using namespace ::com::sun::star;
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::AddDBRange( const OUString& rName, const ScRange& rRange, bool /* bApi */ )
{
@@ -239,7 +239,7 @@ bool ScDBDocFunc::ModifyDBData( const ScDBData& rNewData )
return bDone;
}
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::RepeatDB( const OUString& rDBName, bool bRecord, bool bApi, bool bIsUnnamed, SCTAB aTab )
{
@@ -423,7 +423,7 @@ bool ScDBDocFunc::RepeatDB( const OUString& rDBName, bool bRecord, bool bApi, bo
return bDone;
}
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam& rSortParam,
bool bRecord, bool bPaint, bool bApi )
@@ -666,7 +666,7 @@ bool ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam& rSortParam,
return true;
}
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
const ScRange* pAdvSource, bool bRecord, bool bApi )
@@ -1007,7 +1007,7 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
return true;
}
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::DoSubTotals( SCTAB nTab, const ScSubTotalParam& rParam,
const ScSortParam* pForceNewSort, bool bRecord, bool bApi )
diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx
index 2e7adec708c9..41c045096300 100644
--- a/sc/source/ui/docshell/dbdocimp.cxx
+++ b/sc/source/ui/docshell/dbdocimp.cxx
@@ -100,7 +100,7 @@ void ScDBDocFunc::ShowInBeamer( const ScImportParam& rParam, SfxViewFrame* pFram
}
}
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::DoImportUno( const ScAddress& rPos,
const uno::Sequence<beans::PropertyValue>& aArgs )
@@ -117,7 +117,7 @@ bool ScDBDocFunc::DoImportUno( const ScAddress& rPos,
return true;
}
-// -----------------------------------------------------------------
+
bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
const svx::ODataAccessDescriptor* pDescriptor, bool bRecord, bool bAddrInsert )
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 4ffdebbaea84..c9254a2829e1 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -120,7 +120,7 @@ IMPL_LINK( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction )
return 0;
}
-//------------------------------------------------------------------------
+
// Zeile ueber dem Range painten (fuer Linien nach AdjustRowHeight)
@@ -135,7 +135,7 @@ static void lcl_PaintAbove( ScDocShell& rDocShell, const ScRange& rRange )
}
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::AdjustRowHeight( const ScRange& rRange, bool bPaint )
{
@@ -168,7 +168,7 @@ bool ScDocFunc::AdjustRowHeight( const ScRange& rRange, bool bPaint )
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::DetectiveAddPred(const ScAddress& rPos)
{
@@ -564,7 +564,7 @@ void ScDocFunc::DetectiveCollectAllSuccs(const ScRangeList& rSrcRanges, vector<S
lcl_collectAllPredOrSuccRanges(rSrcRanges, rRefTokens, rDocShell, false);
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::DeleteContents( const ScMarkData& rMark, sal_uInt16 nFlags,
bool bRecord, bool bApi )
@@ -691,7 +691,7 @@ bool ScDocFunc::DeleteContents( const ScMarkData& rMark, sal_uInt16 nFlags,
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::TransliterateText( const ScMarkData& rMark, sal_Int32 nType,
bool bRecord, bool bApi )
@@ -747,7 +747,7 @@ bool ScDocFunc::TransliterateText( const ScMarkData& rMark, sal_Int32 nType,
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::SetNormalString( bool& o_rbNumFmtSet, const ScAddress& rPos, const OUString& rText, bool bApi )
{
@@ -1198,7 +1198,7 @@ bool ScDocFunc::SetCellText(
return bSet;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::ShowNote( const ScAddress& rPos, bool bShow )
{
@@ -1219,7 +1219,7 @@ bool ScDocFunc::ShowNote( const ScAddress& rPos, bool bShow )
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::SetNoteText( const ScAddress& rPos, const OUString& rText, bool bApi )
{
@@ -1250,7 +1250,7 @@ bool ScDocFunc::SetNoteText( const ScAddress& rPos, const OUString& rText, bool
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::ReplaceNote( const ScAddress& rPos, const OUString& rNoteText, const OUString* pAuthor, const OUString* pDate, bool bApi )
{
@@ -1312,7 +1312,7 @@ bool ScDocFunc::ReplaceNote( const ScAddress& rPos, const OUString& rNoteText, c
return bDone;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::ApplyAttributes( const ScMarkData& rMark, const ScPatternAttr& rPattern,
bool bRecord, bool bApi )
@@ -2893,7 +2893,7 @@ bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos,
return true;
}
-//------------------------------------------------------------------------
+
uno::Reference< uno::XInterface > GetDocModuleObject( SfxObjectShell& rDocSh, OUString& sCodeName )
{
uno::Reference< lang::XMultiServiceFactory> xSF(rDocSh.GetModel(), uno::UNO_QUERY);
@@ -3363,7 +3363,7 @@ bool ScDocFunc::SetTabBgColor(
return bSuccess;
}
-//------------------------------------------------------------------------
+
//! SetWidthOrHeight - noch doppelt zu ViewFunc !!!!!!
//! Probleme:
@@ -3685,7 +3685,7 @@ bool ScDocFunc::RemovePageBreak( bool bColumn, const ScAddress& rPos,
return true;
}
-//------------------------------------------------------------------------
+
void ScDocFunc::ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect )
{
@@ -3849,7 +3849,7 @@ bool ScDocFunc::Unprotect( SCTAB nTab, const OUString& rPassword, bool bApi )
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::ClearItems( const ScMarkData& rMark, const sal_uInt16* pWhich, bool bApi )
{
@@ -4068,7 +4068,7 @@ bool ScDocFunc::AutoFormat( const ScRange& rRange, const ScMarkData* pTabMark,
return bSuccess;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::EnterMatrix( const ScRange& rRange, const ScMarkData* pTabMark,
const ScTokenArray* pTokenArray, const OUString& rString, bool bApi, bool bEnglish,
@@ -4157,7 +4157,7 @@ bool ScDocFunc::EnterMatrix( const ScRange& rRange, const ScMarkData* pTabMark,
return bSuccess;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::TabOp( const ScRange& rRange, const ScMarkData* pTabMark,
const ScTabOpParam& rParam, bool bRecord, bool bApi )
@@ -4218,7 +4218,7 @@ bool ScDocFunc::TabOp( const ScRange& rRange, const ScMarkData* pTabMark,
return bSuccess;
}
-//------------------------------------------------------------------------
+
inline ScDirection DirFromFillDir( FillDir eDir )
{
@@ -4673,7 +4673,7 @@ bool ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir e
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::MergeCells( const ScCellMergeOption& rOption, bool bContents, bool bRecord, bool bApi )
{
@@ -4864,7 +4864,7 @@ bool ScDocFunc::UnmergeCells( const ScCellMergeOption& rOption, bool bRecord )
return true;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::ModifyRangeNames( const ScRangeName& rNewRanges, SCTAB nTab )
{
@@ -4943,7 +4943,7 @@ void ScDocFunc::ModifyAllRangeNames( const boost::ptr_map<OUString, ScRangeName>
SFX_APP()->Broadcast(SfxSimpleHint(SC_HINT_AREAS_CHANGED));
}
-//------------------------------------------------------------------------
+
void ScDocFunc::CreateOneName( ScRangeName& rList,
SCCOL nPosX, SCROW nPosY, SCTAB nTab,
@@ -5099,7 +5099,7 @@ bool ScDocFunc::CreateNames( const ScRange& rRange, sal_uInt16 nFlags, bool bApi
return bDone;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::InsertNameList( const ScAddress& rStartPos, bool bApi )
{
@@ -5211,7 +5211,7 @@ bool ScDocFunc::InsertNameList( const ScAddress& rStartPos, bool bApi )
return bDone;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::ResizeMatrix( const ScRange& rOldRange, const ScAddress& rNewEnd, bool bApi )
{
@@ -5257,7 +5257,7 @@ bool ScDocFunc::ResizeMatrix( const ScRange& rOldRange, const ScAddress& rNewEnd
return bRet;
}
-//------------------------------------------------------------------------
+
bool ScDocFunc::InsertAreaLink( const OUString& rFile, const OUString& rFilter,
const OUString& rOptions, const OUString& rSource,
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index e3a9f4f5dac0..b42162c3a72e 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -165,7 +165,7 @@ static const sal_Char pFilterHtml[] = "HTML (StarCalc)";
static const sal_Char pFilterHtmlWebQ[] = "calc_HTML_WebQuery";
static const sal_Char pFilterRtf[] = "Rich Text Format (StarCalc)";
-//----------------------------------------------------------------------
+
#define ScDocShell
#include "scslots.hxx"
@@ -180,7 +180,7 @@ SFX_IMPL_OBJECTFACTORY( ScDocShell, SvGlobalName(SO3_SC_CLASSID), SFXOBJECTSHELL
TYPEINIT1( ScDocShell, SfxObjectShell ); // SfxInPlaceObject: No TypeInfo?
-//------------------------------------------------------------------
+
void ScDocShell::FillClass( SvGlobalName* pClassName,
sal_uInt32* pFormat,
@@ -210,7 +210,7 @@ void ScDocShell::FillClass( SvGlobalName* pClassName,
}
}
-//------------------------------------------------------------------
+
void ScDocShell::DoEnterHandler()
{
@@ -220,7 +220,7 @@ void ScDocShell::DoEnterHandler()
SC_MOD()->InputEnterHandler();
}
-//------------------------------------------------------------------
+
SCTAB ScDocShell::GetSaveTab()
{
@@ -2674,7 +2674,7 @@ ScDocShell::ScDocShell( const ScDocShell& rShell ) :
// InitItems and CalcOutputFactor are called now in Load/ConvertFrom/InitNew
}
-//------------------------------------------------------------------
+
ScDocShell::ScDocShell( const sal_uInt64 i_nSfxCreationFlags ) :
SfxObjectShell( i_nSfxCreationFlags ),
@@ -2723,7 +2723,7 @@ ScDocShell::ScDocShell( const sal_uInt64 i_nSfxCreationFlags ) :
// InitItems and CalcOutputFactor are called now in Load/ConvertFrom/InitNew
}
-//------------------------------------------------------------------
+
ScDocShell::~ScDocShell()
{
@@ -2761,7 +2761,7 @@ ScDocShell::~ScDocShell()
#endif
}
-//------------------------------------------------------------------
+
::svl::IUndoManager* ScDocShell::GetUndoManager()
{
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index 60ba753e5ce0..6428c22ed57e 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -32,7 +32,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------
+
sal_Bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
{
@@ -62,7 +62,7 @@ sal_Bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
return bRet;
}
-//------------------------------------------------------------------
+
bool ScDocShell::IsEmpty() const
{
@@ -75,7 +75,7 @@ void ScDocShell::SetEmpty(bool bSet)
bIsEmpty = bSet;
}
-//------------------------------------------------------------------
+
void ScDocShell::InitItems()
{
@@ -145,7 +145,7 @@ void ScDocShell::InitItems()
}
}
-//------------------------------------------------------------------
+
void ScDocShell::ResetDrawObjectShell()
{
@@ -154,7 +154,7 @@ void ScDocShell::ResetDrawObjectShell()
pDrawLayer->SetObjectShell( NULL );
}
-//------------------------------------------------------------------
+
void ScDocShell::Activate()
{
@@ -165,7 +165,7 @@ void ScDocShell::Deactivate()
{
}
-//------------------------------------------------------------------
+
ScDrawLayer* ScDocShell::MakeDrawLayer()
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 4bbcb5fa9827..23ce64cc8085 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -62,7 +62,7 @@
#include "globstr.hrc"
#include "markdata.hxx"
-//------------------------------------------------------------------
+
//
// Redraw - Benachrichtigungen
@@ -216,7 +216,7 @@ void ScDocShell::UpdatePaintExt( sal_uInt16& rExtFlags, SCCOL nStartCol, SCROW n
UpdatePaintExt( rExtFlags, ScRange( nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nEndTab ) );
}
-//------------------------------------------------------------------
+
void ScDocShell::LockPaint_Impl(bool bDoc)
{
@@ -337,7 +337,7 @@ void ScDocShell::UnlockDocument()
}
}
-//------------------------------------------------------------------
+
void ScDocShell::SetInplace( bool bInplace )
{
@@ -403,7 +403,7 @@ double ScDocShell::GetOutputFactor() const
return nPrtToScreenFactor;
}
-//---------------------------------------------------------------------
+
void ScDocShell::InitOptions(bool bForLoading) // called from InitNew and Load
{
@@ -439,7 +439,7 @@ void ScDocShell::InitOptions(bool bForLoading) // called from InitNew and L
aDocument.SetLanguage( (LanguageType) nDefLang, (LanguageType) nCjkLang, (LanguageType) nCtlLang );
}
-//---------------------------------------------------------------------
+
Printer* ScDocShell::GetDocumentPrinter() // fuer OLE
{
@@ -568,7 +568,7 @@ sal_uInt16 ScDocShell::SetPrinter( SfxPrinter* pNewPrinter, sal_uInt16 nDiffFlag
return 0;
}
-//---------------------------------------------------------------------
+
ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
{
@@ -668,7 +668,7 @@ void ScDocShell::ExecuteChangeCommentDialog( ScChangeAction* pAction, Window* pP
delete pDlg;
}
-//---------------------------------------------------------------------
+
void ScDocShell::CompareDocument( ScDocument& rOtherDoc )
{
@@ -731,11 +731,11 @@ void ScDocShell::CompareDocument( ScDocument& rOtherDoc )
SetDocumentModified();
}
-//---------------------------------------------------------------------
+
//
// Merge (Aenderungen zusammenfuehren)
//
-//---------------------------------------------------------------------
+
static inline sal_Bool lcl_Equal( const ScChangeAction* pA, const ScChangeAction* pB, sal_Bool bIgnore100Sec )
{
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index eea84048a862..275f3af860c0 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -98,7 +98,7 @@ using namespace ::com::sun::star;
#include "sheetevents.hxx"
#include <documentlinkmgr.hxx>
-//------------------------------------------------------------------
+
#define IS_SHARE_HEADER(set) \
((SfxBoolItem&) \
@@ -114,7 +114,7 @@ using namespace ::com::sun::star;
#define SC_PREVIEW_SIZE_Y 12400
-//------------------------------------------------------------------
+
void ScDocShell::Execute( SfxRequest& rReq )
{
@@ -1114,7 +1114,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
}
-//------------------------------------------------------------------
+
void UpdateAcceptChangesDialog()
{
@@ -1129,7 +1129,7 @@ void UpdateAcceptChangesDialog()
}
}
-//------------------------------------------------------------------
+
bool ScDocShell::ExecuteChangeProtectionDialog( Window* _pParent, bool bJustQueryIfProtected )
{
@@ -1195,7 +1195,7 @@ bool ScDocShell::ExecuteChangeProtectionDialog( Window* _pParent, bool bJustQuer
}
-//------------------------------------------------------------------
+
void ScDocShell::DoRecalc( bool bApi )
{
@@ -1272,7 +1272,7 @@ void ScDocShell::DoHardRecalc( bool /* bApi */ )
PostPaintGridAll();
}
-//------------------------------------------------------------------
+
void ScDocShell::DoAutoStyle( const ScRange& rRange, const OUString& rStyle )
{
@@ -1297,7 +1297,7 @@ void ScDocShell::DoAutoStyle( const ScRange& rRange, const OUString& rStyle )
}
}
-//------------------------------------------------------------------
+
void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint )
{
@@ -2063,7 +2063,7 @@ void ScDocShell::GetPageOnFromPageStyleSet( const SfxItemSet* pStyleSet,
OSL_ENSURE( pStyleSet, "PageStyle-Set not found! :-(" );
- //--------------------------------------------------------------------
+
const SvxSetItem* pSetItem = NULL;
const SfxItemSet* pSet = NULL;
@@ -2198,7 +2198,7 @@ bool ScDocShell::DdeSetData( const OUString& rItem,
return pObj;
}
-//------------------------------------------------------------------
+
ScViewData* ScDocShell::GetViewData()
{
@@ -2207,7 +2207,7 @@ ScViewData* ScDocShell::GetViewData()
return pViewSh ? pViewSh->GetViewData() : NULL;
}
-//------------------------------------------------------------------
+
SCTAB ScDocShell::GetCurTab()
{
@@ -2248,7 +2248,7 @@ SfxBindings* ScDocShell::GetViewBindings()
return NULL;
}
-//------------------------------------------------------------------
+
ScDocShell* ScDocShell::GetShellByNum( sal_uInt16 nDocNo ) // static
{
@@ -2271,7 +2271,7 @@ ScDocShell* ScDocShell::GetShellByNum( sal_uInt16 nDocNo ) // static
return pFound;
}
-//------------------------------------------------------------------
+
IMPL_LINK( ScDocShell, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg )
{
diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx
index 388c5bfb4a8d..e901ddb416ed 100644
--- a/sc/source/ui/docshell/docsh5.cxx
+++ b/sc/source/ui/docshell/docsh5.cxx
@@ -61,7 +61,7 @@ using com::sun::star::uno::UNO_QUERY;
using ::std::auto_ptr;
using ::std::vector;
-// ---------------------------------------------------------------------------
+
//
// former viewfunc/dbfunc methods
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx
index 1165489fe6a4..73fc57356d4d 100644
--- a/sc/source/ui/docshell/docsh6.cxx
+++ b/sc/source/ui/docshell/docsh6.cxx
@@ -65,7 +65,7 @@ struct ScStylePair
// STATIC DATA -----------------------------------------------------------
-//----------------------------------------------------------------------
+
//
// Ole
diff --git a/sc/source/ui/docshell/docsh7.cxx b/sc/source/ui/docshell/docsh7.cxx
index fee0a2dff5fb..2c21ac0b9206 100644
--- a/sc/source/ui/docshell/docsh7.cxx
+++ b/sc/source/ui/docshell/docsh7.cxx
@@ -19,7 +19,7 @@
#include "docsh.hxx"
-//------------------------------------------------------------------
+
void ScDocShell::GetDrawObjState( SfxItemSet & /* rSet */ )
{
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 916fc7b3f0fd..44dcbed876b9 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -79,7 +79,7 @@
using namespace com::sun::star;
using ::std::vector;
-// -----------------------------------------------------------------------
+
#define SC_SERVICE_ROWSET "com.sun.star.sdb.RowSet"
@@ -152,7 +152,7 @@ namespace
#endif // !DISABLE_DBCONNECTIVITY
-// -----------------------------------------------------------------------
+
// MoveFile/KillFile/IsDocument: similar to SfxContentHelper
bool ScDocShell::MoveFile( const INetURLObject& rSourceObj, const INetURLObject& rDestObj )
@@ -239,7 +239,7 @@ bool ScDocShell::IsDocument( const INetURLObject& rURL )
return bRet;
}
-// -----------------------------------------------------------------------
+
#ifndef DISABLE_DBCONNECTIVITY
diff --git a/sc/source/ui/docshell/editable.cxx b/sc/source/ui/docshell/editable.cxx
index 2664e9e2ae34..2a575aa02611 100644
--- a/sc/source/ui/docshell/editable.cxx
+++ b/sc/source/ui/docshell/editable.cxx
@@ -67,7 +67,7 @@ ScEditableTester::ScEditableTester( ScViewFunc* pView ) :
TestView( pView );
}
-//------------------------------------------------------------------
+
void ScEditableTester::TestBlock( ScDocument* pDoc, SCTAB nTab,
SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow )
@@ -134,7 +134,7 @@ void ScEditableTester::TestView( ScViewFunc* pView )
}
}
-//------------------------------------------------------------------
+
sal_uInt16 ScEditableTester::GetMessageId() const
{
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx
index 7d77afbfa693..2f3363a2d4d9 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -472,21 +472,21 @@ ScExternalRefCache::TokenRef ScExternalRefCache::Table::getEmptyOrNullToken(
return TokenRef();
}
-// ----------------------------------------------------------------------------
+
ScExternalRefCache::TableName::TableName(const OUString& rUpper, const OUString& rReal) :
maUpperName(rUpper), maRealName(rReal)
{
}
-// ----------------------------------------------------------------------------
+
ScExternalRefCache::CellFormat::CellFormat() :
mbIsSet(false), mnType(NUMBERFORMAT_ALL), mnIndex(0)
{
}
-// ----------------------------------------------------------------------------
+
ScExternalRefCache::ScExternalRefCache() {}
@@ -1584,7 +1584,7 @@ ScExternalRefManager::LinkListener::~LinkListener()
{
}
-// ----------------------------------------------------------------------------
+
ScExternalRefManager::ApiGuard::ApiGuard(ScDocument* pDoc) :
mpMgr(pDoc->GetExternalRefManager()),
@@ -1600,7 +1600,7 @@ ScExternalRefManager::ApiGuard::~ApiGuard()
mpMgr->mbUserInteractionEnabled = mbOldInteractionEnabled;
}
-// ----------------------------------------------------------------------------
+
void ScExternalRefManager::getAllCachedTableNames(sal_uInt16 nFileId, vector<OUString>& rTabNames) const
{
diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx
index 187637d7ffd5..034b61fe14a2 100644
--- a/sc/source/ui/docshell/olinefun.cxx
+++ b/sc/source/ui/docshell/olinefun.cxx
@@ -43,7 +43,7 @@ static void lcl_InvalidateOutliner( SfxBindings* pBindings )
}
}
-//------------------------------------------------------------------------
+
//! PaintWidthHeight zur DocShell verschieben?
@@ -78,7 +78,7 @@ static void lcl_PaintWidthHeight( ScDocShell& rDocShell, SCTAB nTab,
rDocShell.PostPaint( nStartCol,nStartRow,nTab, MAXCOL,MAXROW,nTab, nParts );
}
-//------------------------------------------------------------------------
+
bool ScOutlineDocFunc::MakeOutline( const ScRange& rRange, bool bColumns, bool bRecord, bool bApi )
{
@@ -265,7 +265,7 @@ bool ScOutlineDocFunc::RemoveAllOutlines( SCTAB nTab, bool bRecord )
return bSuccess;
}
-//------------------------------------------------------------------------
+
bool ScOutlineDocFunc::AutoOutline( const ScRange& rRange, bool bRecord )
{
@@ -331,7 +331,7 @@ bool ScOutlineDocFunc::AutoOutline( const ScRange& rRange, bool bRecord )
return true;
}
-//------------------------------------------------------------------------
+
bool ScOutlineDocFunc::SelectLevel( SCTAB nTab, bool bColumns, sal_uInt16 nLevel,
bool bRecord, bool bPaint )
@@ -426,7 +426,7 @@ bool ScOutlineDocFunc::SelectLevel( SCTAB nTab, bool bColumns, sal_uInt16 nLevel
return true;
}
-//------------------------------------------------------------------------
+
bool ScOutlineDocFunc::ShowMarkedOutlines( const ScRange& rRange, bool bRecord )
{
@@ -624,7 +624,7 @@ bool ScOutlineDocFunc::HideMarkedOutlines( const ScRange& rRange, bool bRecord )
return bDone;
}
-//------------------------------------------------------------------------
+
bool ScOutlineDocFunc::ShowOutline( SCTAB nTab, bool bColumns, sal_uInt16 nLevel, sal_uInt16 nEntry,
bool bRecord, bool bPaint )
diff --git a/sc/source/ui/docshell/pntlock.cxx b/sc/source/ui/docshell/pntlock.cxx
index b3a4f9cd5ec0..9db2dfe7a594 100644
--- a/sc/source/ui/docshell/pntlock.cxx
+++ b/sc/source/ui/docshell/pntlock.cxx
@@ -19,7 +19,7 @@
#include "pntlock.hxx"
-//------------------------------------------------------------------------
+
ScPaintLockData::ScPaintLockData() :
nLevel( 0 ),
diff --git a/sc/source/ui/docshell/servobj.cxx b/sc/source/ui/docshell/servobj.cxx
index e2195572c57a..9cedad40c772 100644
--- a/sc/source/ui/docshell/servobj.cxx
+++ b/sc/source/ui/docshell/servobj.cxx
@@ -29,7 +29,7 @@
using namespace formula;
-// -----------------------------------------------------------------------
+
static bool lcl_FillRangeFromName( ScRange& rRange, ScDocShell* pDocSh, const OUString& rName )
{
diff --git a/sc/source/ui/docshell/sizedev.cxx b/sc/source/ui/docshell/sizedev.cxx
index 9607fbec4e2b..3b73fc9e41d2 100644
--- a/sc/source/ui/docshell/sizedev.cxx
+++ b/sc/source/ui/docshell/sizedev.cxx
@@ -25,7 +25,7 @@
#include "scmod.hxx"
#include "inputopt.hxx"
-//------------------------------------------------------------------
+
ScSizeDeviceProvider::ScSizeDeviceProvider( ScDocShell* pDocSh )
{
diff --git a/sc/source/ui/docshell/tablink.cxx b/sc/source/ui/docshell/tablink.cxx
index 768c9a9d6492..c67fada503dd 100644
--- a/sc/source/ui/docshell/tablink.cxx
+++ b/sc/source/ui/docshell/tablink.cxx
@@ -56,7 +56,7 @@ struct TableLink_Impl
TYPEINIT1(ScTableLink, ::sfx2::SvBaseLink);
-//------------------------------------------------------------------------
+
ScTableLink::ScTableLink(ScDocShell* pDocSh, const OUString& rFile,
const OUString& rFilter, const OUString& rOpt,
diff --git a/sc/source/ui/docshell/tpstat.cxx b/sc/source/ui/docshell/tpstat.cxx
index c407e1932b9e..93ab7847d891 100644
--- a/sc/source/ui/docshell/tpstat.cxx
+++ b/sc/source/ui/docshell/tpstat.cxx
@@ -38,7 +38,7 @@ SfxTabPage* ScDocStatPage::Create( Window *pParent, const SfxItemSet& rSet )
return new ScDocStatPage( pParent, rSet );
}
-//------------------------------------------------------------------------
+
ScDocStatPage::ScDocStatPage( Window *pParent, const SfxItemSet& rSet )
: SfxTabPage( pParent, "StatisticsInfoPage", "modules/scalc/ui/statisticsinfopage.ui", rSet )
@@ -62,20 +62,20 @@ ScDocStatPage::ScDocStatPage( Window *pParent, const SfxItemSet& rSet )
}
-//------------------------------------------------------------------------
+
ScDocStatPage::~ScDocStatPage()
{
}
-//------------------------------------------------------------------------
+
sal_Bool ScDocStatPage::FillItemSet( SfxItemSet& /* rSet */ )
{
return false;
}
-//------------------------------------------------------------------------
+
void ScDocStatPage::Reset( const SfxItemSet& /* rSet */ )
{
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index c8d11f50b0a1..cc27e2e81713 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -59,7 +59,7 @@
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/frame/XFrame.hpp>
-//------------------------------------------------------------------
+
TYPEINIT1( ScDrawShell, SfxShell );
diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx
index 166802ab7cb1..fa2126e5bbcc 100644
--- a/sc/source/ui/drawfunc/drawsh2.cxx
+++ b/sc/source/ui/drawfunc/drawsh2.cxx
@@ -56,7 +56,7 @@ sal_uInt16 ScGetFontWorkId(); // in drtxtob
using namespace com::sun::star;
-//------------------------------------------------------------------
+
ScDrawShell::ScDrawShell( ScViewData* pData ) :
SfxShell(pData->GetViewShell()),
diff --git a/sc/source/ui/drawfunc/drawsh4.cxx b/sc/source/ui/drawfunc/drawsh4.cxx
index bbd925492a39..85f481984244 100644
--- a/sc/source/ui/drawfunc/drawsh4.cxx
+++ b/sc/source/ui/drawfunc/drawsh4.cxx
@@ -32,7 +32,7 @@
#include "sc.hrc"
-//------------------------------------------------------------------
+
void ScDrawShell::GetFormTextState(SfxItemSet& rSet)
{
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx
index 13dff40c40c0..4193e80977aa 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -60,7 +60,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------
+
void ScDrawShell::GetHLinkState( SfxItemSet& rSet ) // Hyperlink
{
@@ -242,7 +242,7 @@ void ScDrawShell::ExecuteHLink( SfxRequest& rReq )
sal_uInt16 ScGetFontWorkId();
-//------------------------------------------------------------------
+
//
// Funktionen auf Drawing-Objekten
@@ -649,7 +649,7 @@ IMPL_LINK( ScDrawShell, NameObjectHdl, AbstractSvxNameDialog*, pDialog )
return 1; // name is valid
}
-//------------------------------------------------------------------
+
void ScDrawShell::ExecFormText(SfxRequest& rReq)
{
@@ -667,7 +667,7 @@ void ScDrawShell::ExecFormText(SfxRequest& rReq)
}
}
-//------------------------------------------------------------------
+
void ScDrawShell::ExecFormatPaintbrush( SfxRequest& rReq )
{
diff --git a/sc/source/ui/drawfunc/drtxtob1.cxx b/sc/source/ui/drawfunc/drtxtob1.cxx
index 225258ae157d..907f42b7e93f 100644
--- a/sc/source/ui/drawfunc/drtxtob1.cxx
+++ b/sc/source/ui/drawfunc/drtxtob1.cxx
@@ -38,7 +38,7 @@
#include "scresid.hxx"
#include "scabstdlg.hxx"
-//------------------------------------------------------------------------
+
bool ScDrawTextObjectBar::ExecuteCharDlg( const SfxItemSet& rArgs,
SfxItemSet& rOutSet , sal_uInt16 nSlot)
diff --git a/sc/source/ui/drawfunc/drtxtob2.cxx b/sc/source/ui/drawfunc/drtxtob2.cxx
index 25e8f3bc270a..24b6d15ce46b 100644
--- a/sc/source/ui/drawfunc/drtxtob2.cxx
+++ b/sc/source/ui/drawfunc/drtxtob2.cxx
@@ -45,7 +45,7 @@
#include "drwtrans.hxx"
#include "drwlayer.hxx"
-//------------------------------------------------------------------------
+
sal_uInt16 ScGetFontWorkId()
{
diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx
index 20bd744234ed..369aa8cc9393 100644
--- a/sc/source/ui/drawfunc/fuconcustomshape.cxx
+++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx
@@ -36,7 +36,7 @@
#include <math.h>
-//------------------------------------------------------------------------
+
FuConstCustomShape::FuConstCustomShape( ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pViewP, SdrModel* pDoc, SfxRequest& rReq )
: FuConstruct( pViewSh, pWin, pViewP, pDoc, rReq )
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx
index 222e4679ab8e..4b8bfcbd6a7f 100644
--- a/sc/source/ui/drawfunc/fuconrec.cxx
+++ b/sc/source/ui/drawfunc/fuconrec.cxx
@@ -32,7 +32,7 @@
#include "scresid.hxx"
-//------------------------------------------------------------------------
+
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx
index fa6d53bdd60f..407b39a0bd75 100644
--- a/sc/source/ui/drawfunc/fuconstr.cxx
+++ b/sc/source/ui/drawfunc/fuconstr.cxx
@@ -37,7 +37,7 @@
//! fusel,fuconstr,futext - zusammenfassen!
#define SC_MAXDRAGMOVE 3
-//------------------------------------------------------------------------
+
/*************************************************************************
|*
diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx
index 61cd7882623d..ab88c9df3ff5 100644
--- a/sc/source/ui/drawfunc/fuins1.cxx
+++ b/sc/source/ui/drawfunc/fuins1.cxx
@@ -45,7 +45,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
void SC_DLLPUBLIC ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage )
{
@@ -92,7 +92,7 @@ void SC_DLLPUBLIC ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& r
rPos.X() = -rPos.X() - rSize.Width(); // back to real position
}
-//------------------------------------------------------------------------
+
static void lcl_InsertGraphic( const Graphic& rGraphic,
const OUString& rFileName, const OUString& rFilterName, sal_Bool bAsLink, sal_Bool bApi,
@@ -180,7 +180,7 @@ static void lcl_InsertGraphic( const Graphic& rGraphic,
pObj->SetGraphicLink( rFileName, ""/*TODO?*/, rFilterName );
}
-//------------------------------------------------------------------------
+
static void lcl_InsertMedia( const OUString& rMediaURL, bool bApi,
ScTabViewShell* pViewSh, Window* pWindow, SdrView* pView,
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index d6ccb244a91b..6de0e8ab62e8 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -21,7 +21,7 @@
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-//------------------------------------------------------------------------
+
#include <toolkit/helper/vclunohelper.hxx>
#include <sot/exchange.hxx>
@@ -439,7 +439,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView*
if( SvtModuleOptions().IsChart() )
{
- // ----------------------------------------
+
// BM/IHA --
// get range
@@ -487,7 +487,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView*
pViewSh->GetViewData()->GetView()->Unmark();
}
- // ----------------------------------------
+
// adapted old code
pView->UnmarkAll();
diff --git a/sc/source/ui/drawfunc/fumark.cxx b/sc/source/ui/drawfunc/fumark.cxx
index 0e600076857a..e620d98b1b07 100644
--- a/sc/source/ui/drawfunc/fumark.cxx
+++ b/sc/source/ui/drawfunc/fumark.cxx
@@ -31,7 +31,7 @@
#include "drawview.hxx"
#include "markdata.hxx"
-//------------------------------------------------------------------
+
/*************************************************************************
|*
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index 3116a15449dc..bbd74536f293 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -48,7 +48,7 @@
#include "docuno.hxx"
#include "docsh.hxx"
-// -----------------------------------------------------------------------
+
// Maximal erlaubte Mausbewegung um noch Drag&Drop zu starten
//! fusel,fuconstr,futext - zusammenfassen!
@@ -56,7 +56,7 @@
// Min necessary mouse motion for normal dragging
#define SC_MINDRAGMOVE 2
-// -----------------------------------------------------------------------
+
using namespace com::sun::star;
diff --git a/sc/source/ui/drawfunc/fusel2.cxx b/sc/source/ui/drawfunc/fusel2.cxx
index 7d3ac3b547ff..b8de82e13cd2 100644
--- a/sc/source/ui/drawfunc/fusel2.cxx
+++ b/sc/source/ui/drawfunc/fusel2.cxx
@@ -37,7 +37,7 @@
#include "drawview.hxx"
#include <svx/sdrhittesthelper.hxx>
-// -----------------------------------------------------------------------
+
inline long Diff( const Point& rP1, const Point& rP2 )
{
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index 76a3c7c3fdb5..6374d536d8b9 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -46,7 +46,7 @@
//! fusel,fuconstr,futext - zusammenfassen!
#define SC_MAXDRAGMOVE 3
-//------------------------------------------------------------------
+
static void lcl_InvalidateAttribs( SfxBindings& rBindings )
{
diff --git a/sc/source/ui/drawfunc/futext2.cxx b/sc/source/ui/drawfunc/futext2.cxx
index 55bf00d1ca8b..e043ec1a8374 100644
--- a/sc/source/ui/drawfunc/futext2.cxx
+++ b/sc/source/ui/drawfunc/futext2.cxx
@@ -24,7 +24,7 @@
#include "futext.hxx"
#include "tabvwsh.hxx"
-//------------------------------------------------------------------------
+
SdrOutliner* FuText::MakeOutliner()
{
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index af833dabdea0..29112e429ff4 100644
--- a/sc/source/ui/drawfunc/futext3.cxx
+++ b/sc/source/ui/drawfunc/futext3.cxx
@@ -44,12 +44,12 @@
#include "drawview.hxx"
#include "undocell.hxx"
-// ------------------------------------------------------------------------------------
+
// Editieren von Notiz-Legendenobjekten muss immer ueber StopEditMode beendet werden,
// damit die Aenderungen ins Dokument uebernommen werden!
// (Fontwork-Execute in drawsh und drtxtob passiert nicht fuer Legendenobjekte)
// bTextDirection=sal_True means that this function is called from SID_TEXTDIRECTION_XXX(drtxtob.cxx).
-// ------------------------------------------------------------------------------------
+
void FuText::StopEditMode(bool /*bTextDirection*/)
{
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 1aa9df2b6603..ef0928e7ee4c 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -40,7 +40,7 @@
#include "dwfunctr.hrc"
#include "dwfunctr.hxx"
-// -----------------------------------------------------------------------
+
SFX_IMPL_DOCKINGWINDOW_WITHID( ScFunctionChildWindow, FID_FUNCTION_BOX )
@@ -801,7 +801,7 @@ void ScFunctionDockWin::UpdateFunctionList()
}
- //------------------------------------------------------
+
pAllFuncList->SetUpdateMode( true );
if ( pAllFuncList->GetEntryCount() > 0 )
@@ -1099,7 +1099,7 @@ void ScFunctionDockWin::Initialize(SfxChildWinInfo *pInfo)
}
}
-//-------------------------------------------------------------------------
+
void ScFunctionDockWin::FillInfo(SfxChildWinInfo& rInfo) const
{
diff --git a/sc/source/ui/formdlg/formdata.cxx b/sc/source/ui/formdlg/formdata.cxx
index 679e31f7f7c5..8b4853566f96 100644
--- a/sc/source/ui/formdlg/formdata.cxx
+++ b/sc/source/ui/formdlg/formdata.cxx
@@ -34,7 +34,7 @@ ScFormEditData::ScFormEditData( const ScFormEditData& r ) : formula::FormEditDa
{
*this = r;
}
-// -----------------------------------------------------------------------------
+
void ScFormEditData::SaveValues()
{
ScFormEditData* pTemp = new ScFormEditData(*this);
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx
index f509e2db1e3c..38b9f5bfe45d 100644
--- a/sc/source/ui/formdlg/formula.cxx
+++ b/sc/source/ui/formdlg/formula.cxx
@@ -197,7 +197,7 @@ void ScFormulaDlg::notifyChange()
if ( pInputHdl )
pInputHdl->NotifyChange( NULL );
}
-// -----------------------------------------------------------------------------
+
void ScFormulaDlg::fill()
{
ScModule* pScMod = SC_MOD();
diff --git a/sc/source/ui/formdlg/privsplt.cxx b/sc/source/ui/formdlg/privsplt.cxx
index e43741fb89af..8ed0dce25906 100644
--- a/sc/source/ui/formdlg/privsplt.cxx
+++ b/sc/source/ui/formdlg/privsplt.cxx
@@ -371,7 +371,7 @@ void ScPrivatSplit::ImplInitSettings( bool bFont, bool bForeground, bool bBackgr
Invalidate();
}
-// -----------------------------------------------------------------------
+
void ScPrivatSplit::StateChanged( StateChangedType nType )
{
@@ -395,7 +395,7 @@ void ScPrivatSplit::StateChanged( StateChangedType nType )
Control::StateChanged( nType );
}
-// -----------------------------------------------------------------------
+
void ScPrivatSplit::DataChanged( const DataChangedEvent& rDCEvt )
{
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 )
diff --git a/sc/source/ui/namedlg/namepast.cxx b/sc/source/ui/namedlg/namepast.cxx
index e29eff38e977..0bae7989c7b5 100644
--- a/sc/source/ui/namedlg/namepast.cxx
+++ b/sc/source/ui/namedlg/namepast.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "namepast.hxx"
#include "scresid.hxx"
@@ -76,7 +76,7 @@ ScNamePasteDlg::~ScNamePasteDlg()
delete mpTable;
}
-//------------------------------------------------------------------
+
IMPL_LINK( ScNamePasteDlg, ButtonHdl, Button *, pButton )
{
@@ -101,7 +101,7 @@ IMPL_LINK( ScNamePasteDlg, ButtonHdl, Button *, pButton )
return 0;
}
-//------------------------------------------------------------------
+
std::vector<OUString> ScNamePasteDlg::GetSelectedNames() const
{
diff --git a/sc/source/ui/navipi/navcitem.cxx b/sc/source/ui/navipi/navcitem.cxx
index 9297aae5f350..a3be41e53ba7 100644
--- a/sc/source/ui/navipi/navcitem.cxx
+++ b/sc/source/ui/navipi/navcitem.cxx
@@ -28,7 +28,7 @@
// STATIC DATA -----------------------------------------------------------
-//------------------------------------------------------------------------
+
ScNavigatorControllerItem::ScNavigatorControllerItem( sal_uInt16 nIdP,
ScNavigatorDlg& rDlg,
@@ -38,7 +38,7 @@ ScNavigatorControllerItem::ScNavigatorControllerItem( sal_uInt16 nIdP,
{
}
-//------------------------------------------------------------------------
+
void ScNavigatorControllerItem::StateChanged( sal_uInt16 /* nSID */, SfxItemState /* eState */,
const SfxPoolItem* pItem )
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 0e8319242828..f0e8c493b77a 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -64,7 +64,7 @@ static const sal_Int32 SCNAV_COLLETTERS = ::ScColToAlpha(SCNAV_MAXCOL).getLength
#define SCNAV_MAXROW (MAXROWCOUNT)
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::ReleaseFocus()
{
@@ -91,13 +91,13 @@ ColumnEdit::ColumnEdit( ScNavigatorDlg* pParent, const ResId& rResId )
SetMaxTextLen( SCNAV_COLDIGITS ); // 1...256...18278 or A...IV...ZZZ
}
-//------------------------------------------------------------------------
+
ColumnEdit::~ColumnEdit()
{
}
-//------------------------------------------------------------------------
+
bool ColumnEdit::Notify( NotifyEvent& rNEvt )
{
@@ -129,7 +129,7 @@ bool ColumnEdit::Notify( NotifyEvent& rNEvt )
return nHandled;
}
-//------------------------------------------------------------------------
+
void ColumnEdit::LoseFocus()
{
@@ -137,7 +137,7 @@ void ColumnEdit::LoseFocus()
}
-//------------------------------------------------------------------------
+
void ColumnEdit::Up()
{
@@ -149,7 +149,7 @@ void ColumnEdit::Up()
nCol--;
}
-//------------------------------------------------------------------------
+
void ColumnEdit::Down()
{
@@ -157,7 +157,7 @@ void ColumnEdit::Down()
SetCol( nCol-1 );
}
-//------------------------------------------------------------------------
+
void ColumnEdit::First()
{
@@ -165,7 +165,7 @@ void ColumnEdit::First()
SetText(OUString('A'));
}
-//------------------------------------------------------------------------
+
void ColumnEdit::Last()
{
@@ -175,7 +175,7 @@ void ColumnEdit::Last()
}
-//------------------------------------------------------------------------
+
void ColumnEdit::EvalText()
{
@@ -197,7 +197,7 @@ void ColumnEdit::EvalText()
nKeyGroup = KEYGROUP_ALPHA;
}
-//------------------------------------------------------------------------
+
void ColumnEdit::ExecuteCol()
{
@@ -209,7 +209,7 @@ void ColumnEdit::ExecuteCol()
rDlg.SetCurrentCell( nCol-1, nRow-1 );
}
-//------------------------------------------------------------------------
+
void ColumnEdit::SetCol( SCCOL nColNo )
{
@@ -228,7 +228,7 @@ void ColumnEdit::SetCol( SCCOL nColNo )
}
}
-//------------------------------------------------------------------------
+
SCCOL ColumnEdit::AlphaToNum( OUString& rStr )
{
@@ -253,7 +253,7 @@ SCCOL ColumnEdit::AlphaToNum( OUString& rStr )
return nColumn;
}
-//------------------------------------------------------------------------
+
SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr )
{
@@ -267,7 +267,7 @@ SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr )
return nColumn;
}
-//------------------------------------------------------------------------
+
SCCOL ColumnEdit::NumToAlpha( SCCOL nColNo, OUString& rStr )
{
@@ -293,13 +293,13 @@ RowEdit::RowEdit( ScNavigatorDlg* pParent, const ResId& rResId )
SetLast( SCNAV_MAXROW);
}
-//------------------------------------------------------------------------
+
RowEdit::~RowEdit()
{
}
-//------------------------------------------------------------------------
+
bool RowEdit::Notify( NotifyEvent& rNEvt )
{
@@ -320,13 +320,13 @@ bool RowEdit::Notify( NotifyEvent& rNEvt )
return nHandled;
}
-//------------------------------------------------------------------------
+
void RowEdit::LoseFocus()
{
}
-//------------------------------------------------------------------------
+
void RowEdit::ExecuteRow()
{
@@ -347,13 +347,13 @@ ScDocListBox::ScDocListBox( ScNavigatorDlg* pParent, const ResId& rResId )
{
}
-//------------------------------------------------------------------------
+
ScDocListBox::~ScDocListBox()
{
}
-//------------------------------------------------------------------------
+
void ScDocListBox::Select()
{
@@ -378,13 +378,13 @@ CommandToolBox::CommandToolBox( ScNavigatorDlg* pParent, const ResId& rResId )
SetItemBits( IID_DROPMODE, GetItemBits( IID_DROPMODE ) | TIB_DROPDOWNONLY );
}
-//------------------------------------------------------------------------
+
CommandToolBox::~CommandToolBox()
{
}
-//------------------------------------------------------------------------
+
void CommandToolBox::Select( sal_uInt16 nSelId )
{
@@ -436,13 +436,13 @@ void CommandToolBox::Select()
Select( GetCurItemId() );
}
-//------------------------------------------------------------------------
+
void CommandToolBox::Click()
{
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl)
{
@@ -470,7 +470,7 @@ IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl)
return 1;
}
-//------------------------------------------------------------------------
+
void CommandToolBox::UpdateButtons()
{
@@ -686,12 +686,12 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win
ppBoundItems = new ScNavigatorControllerItem* [CTRL_ITEMS];
rBindings.ENTERREGISTRATIONS();
- //-----------------------------
+
REGISTER_SLOT( 0, SID_CURRENTCELL );
REGISTER_SLOT( 1, SID_CURRENTTAB );
REGISTER_SLOT( 2, SID_CURRENTDOC );
REGISTER_SLOT( 3, SID_SELECT_SCENARIO );
- //-----------------------------
+
rBindings.LEAVEREGISTRATIONS();
StartListening( *(SFX_APP()) );
@@ -745,7 +745,7 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win
aLbEntries.SetNavigatorDlgFlag(true);
}
-//------------------------------------------------------------------------
+
ScNavigatorDlg::~ScNavigatorDlg()
{
@@ -762,7 +762,7 @@ ScNavigatorDlg::~ScNavigatorDlg()
EndListening( rBindings );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::Resizing( Size& rNewSize ) // Size = Outputsize?
{
@@ -818,14 +818,14 @@ void ScNavigatorDlg::DataChanged( const DataChangedEvent& rDCEvt )
Window::DataChanged( rDCEvt );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::Resize()
{
DoResize();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::DoResize()
{
@@ -884,7 +884,7 @@ void ScNavigatorDlg::DoResize()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
@@ -957,7 +957,7 @@ void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer )
{
@@ -968,7 +968,7 @@ IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer )
return 0;
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew)
{
@@ -979,7 +979,7 @@ void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew)
rCfg.SetDragMode(nDropMode);
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::CursorPosChanged()
{
@@ -989,7 +989,7 @@ void ScNavigatorDlg::CursorPosChanged()
// if ( GetAreaAtCursor( aStrAreaName ) )
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentCell( SCCOL nColNo, SCROW nRowNo )
{
@@ -1025,7 +1025,7 @@ void ScNavigatorDlg::SetCurrentCellStr( const OUString rName )
&aNameItem, 0L );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentTable( SCTAB nTabNo )
{
@@ -1058,7 +1058,7 @@ void ScNavigatorDlg::SetCurrentTableStr( const OUString& rName )
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentObject( const OUString rName )
{
@@ -1068,7 +1068,7 @@ void ScNavigatorDlg::SetCurrentObject( const OUString rName )
&aNameItem, 0L );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivieren
{
@@ -1078,14 +1078,14 @@ void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivie
&aDocItem, 0L );
}
-//------------------------------------------------------------------------
+
ScTabViewShell* ScNavigatorDlg::GetTabViewShell() const
{
return PTR_CAST( ScTabViewShell, SfxViewShell::Current() );
}
-//------------------------------------------------------------------------
+
ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings()
{
@@ -1098,7 +1098,7 @@ ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings()
return pViewSh ? pViewSh->GetNavigatorSettings() : NULL;
}
-//------------------------------------------------------------------------
+
bool ScNavigatorDlg::GetViewData()
{
@@ -1108,7 +1108,7 @@ bool ScNavigatorDlg::GetViewData()
return ( pViewData != NULL );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol )
{
@@ -1121,7 +1121,7 @@ void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol )
CheckDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateRow( const SCROW* pRow )
{
@@ -1134,7 +1134,7 @@ void ScNavigatorDlg::UpdateRow( const SCROW* pRow )
CheckDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateTable( const SCTAB* pTab )
{
@@ -1146,7 +1146,7 @@ void ScNavigatorDlg::UpdateTable( const SCTAB* pTab )
CheckDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateAll()
{
@@ -1169,7 +1169,7 @@ void ScNavigatorDlg::UpdateAll()
aContentTimer.Stop(); // dann nicht nochmal
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize )
{
@@ -1211,7 +1211,7 @@ void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize )
UnmarkDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize )
{
@@ -1259,7 +1259,7 @@ void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize )
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize )
{
@@ -1308,11 +1308,11 @@ void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize )
}
-//------------------------------------------------------------------------
+
//
// Dokumente fuer Dropdown-Listbox
//
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::GetDocNames( const OUString* pManualSel )
{
@@ -1361,7 +1361,7 @@ void ScNavigatorDlg::GetDocNames( const OUString* pManualSel )
aLbDocuments.SelectEntry( aSelEntry );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::MarkDataArea()
{
@@ -1383,7 +1383,7 @@ void ScNavigatorDlg::MarkDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UnmarkDataArea()
{
@@ -1396,7 +1396,7 @@ void ScNavigatorDlg::UnmarkDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::CheckDataArea()
{
@@ -1414,7 +1414,7 @@ void ScNavigatorDlg::CheckDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::StartOfDataArea()
{
@@ -1434,7 +1434,7 @@ void ScNavigatorDlg::StartOfDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::EndOfDataArea()
{
@@ -1454,7 +1454,7 @@ void ScNavigatorDlg::EndOfDataArea()
}
}
-//------------------------------------------------------------------------
+
SfxChildAlignment ScNavigatorDlg::CheckAlignment(
SfxChildAlignment eActAlign, SfxChildAlignment eAlign )
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index d97aeeee4da9..eb88a4b375a9 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -228,7 +228,7 @@ ScScenarioWindow::ScScenarioWindow( Window* pParent, const OUString& aQH_List,
}
}
-// -----------------------------------------------------------------------
+
ScScenarioWindow::~ScScenarioWindow()
{
@@ -244,7 +244,7 @@ void ScScenarioWindow::Paint( const Rectangle& rRect )
Window::Paint( rRect );
}
-// -----------------------------------------------------------------------
+
void ScScenarioWindow::NotifyState( const SfxPoolItem* pState )
{
@@ -273,7 +273,7 @@ void ScScenarioWindow::NotifyState( const SfxPoolItem* pState )
}
}
-// -----------------------------------------------------------------------
+
void ScScenarioWindow::SetSizePixel( const Size& rNewSize )
{
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx
index 9fcfee9f4e1e..43cb3082ef6d 100644
--- a/sc/source/ui/optdlg/opredlin.cxx
+++ b/sc/source/ui/optdlg/opredlin.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include <svx/dlgutil.hxx>
#include <svx/drawitem.hxx>
@@ -44,7 +44,7 @@
#include "opredlin.hxx"
-//------------------------------------------------------------------
+
ScRedlineOptionsTabPage::ScRedlineOptionsTabPage( Window* pParent,
const SfxItemSet& rSet )
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index a51f2a26275d..2b9dcbae11e0 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -19,7 +19,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------
+
#include "scitems.hxx"
#include <vcl/msgbox.hxx>
@@ -69,7 +69,7 @@ ScTpCalcOptions::ScTpCalcOptions(Window* pParent, const SfxItemSet& rCoreAttrs)
SetExchangeSupport();
}
-//-----------------------------------------------------------------------
+
ScTpCalcOptions::~ScTpCalcOptions()
{
@@ -77,7 +77,7 @@ ScTpCalcOptions::~ScTpCalcOptions()
delete pLocalOptions;
}
-//-----------------------------------------------------------------------
+
void ScTpCalcOptions::Init()
{
@@ -88,14 +88,14 @@ void ScTpCalcOptions::Init()
m_pBtnDate1904->SetClickHdl( LINK( this, ScTpCalcOptions, RadioClickHdl ) );
}
-//-----------------------------------------------------------------------
+
SfxTabPage* ScTpCalcOptions::Create( Window* pParent, const SfxItemSet& rAttrSet )
{
return ( new ScTpCalcOptions( pParent, rAttrSet ) );
}
-//-----------------------------------------------------------------------
+
void ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
{
@@ -146,7 +146,7 @@ void ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
}
-//-----------------------------------------------------------------------
+
sal_Bool ScTpCalcOptions::FillItemSet( SfxItemSet& rCoreAttrs )
{
@@ -173,7 +173,7 @@ sal_Bool ScTpCalcOptions::FillItemSet( SfxItemSet& rCoreAttrs )
return false;
}
-//------------------------------------------------------------------------
+
int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
{
@@ -201,7 +201,7 @@ int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
return nReturn;
}
-//-----------------------------------------------------------------------
+
// Handler:
IMPL_LINK( ScTpCalcOptions, RadioClickHdl, RadioButton*, pBtn )
@@ -222,7 +222,7 @@ IMPL_LINK( ScTpCalcOptions, RadioClickHdl, RadioButton*, pBtn )
return 0;
}
-//-----------------------------------------------------------------------
+
IMPL_LINK( ScTpCalcOptions, CheckClickHdl, CheckBox*, pBtn )
{
diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx
index 084060ba1313..ad198d008bd0 100644
--- a/sc/source/ui/optdlg/tpformula.cxx
+++ b/sc/source/ui/optdlg/tpformula.cxx
@@ -19,7 +19,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------
+
#include <scmod.hxx>
#include <svl/eitem.hxx>
diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx
index a07018403e0d..dc78e8ed7292 100644
--- a/sc/source/ui/optdlg/tpprint.cxx
+++ b/sc/source/ui/optdlg/tpprint.cxx
@@ -29,7 +29,7 @@
#include "sc.hrc"
#include "optdlg.hrc"
-// -----------------------------------------------------------------------
+
ScTpPrintOptions::ScTpPrintOptions( Window* pParent,
const SfxItemSet& rCoreAttrs )
@@ -60,7 +60,7 @@ int ScTpPrintOptions::DeactivatePage( SfxItemSet* pSetP )
return LEAVE_PAGE;
}
-// -----------------------------------------------------------------------
+
void ScTpPrintOptions::Reset( const SfxItemSet& rCoreSet )
{
@@ -92,7 +92,7 @@ void ScTpPrintOptions::Reset( const SfxItemSet& rCoreSet )
m_pForceBreaksCB->SaveValue();
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTpPrintOptions::FillItemSet( SfxItemSet& rCoreAttrs )
{
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 43ad77cfac04..731073f88ca8 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -89,7 +89,7 @@ ScTpUserLists::ScTpUserLists( Window* pParent,
Reset(rCoreAttrs);
}
-// -----------------------------------------------------------------------
+
ScTpUserLists::~ScTpUserLists()
{
@@ -97,7 +97,7 @@ ScTpUserLists::~ScTpUserLists()
delete pRangeUtil;
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::Init()
{
@@ -146,14 +146,14 @@ void ScTpUserLists::Init()
}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScTpUserLists::Create( Window* pParent, const SfxItemSet& rAttrSet )
{
return ( new ScTpUserLists( pParent, rAttrSet ) );
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::Reset( const SfxItemSet& rCoreAttrs )
{
@@ -205,7 +205,7 @@ void ScTpUserLists::Reset( const SfxItemSet& rCoreAttrs )
}
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs )
{
@@ -246,7 +246,7 @@ sal_Bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs )
return bDataModified;
}
-// -----------------------------------------------------------------------
+
int ScTpUserLists::DeactivatePage( SfxItemSet* pSetP )
{
@@ -256,7 +256,7 @@ int ScTpUserLists::DeactivatePage( SfxItemSet* pSetP )
return LEAVE_PAGE;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ScTpUserLists::UpdateUserListBox()
{
@@ -264,7 +264,7 @@ sal_uInt16 ScTpUserLists::UpdateUserListBox()
if ( !pUserLists ) return 0;
- //----------------------------------------------------------
+
size_t nCount = pUserLists->size();
OUString aEntry;
@@ -279,13 +279,13 @@ sal_uInt16 ScTpUserLists::UpdateUserListBox()
return nCount;
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::UpdateEntries( size_t nList )
{
if ( !pUserLists ) return;
- //----------------------------------------------------------
+
if ( nList < pUserLists->size() )
{
@@ -308,7 +308,7 @@ void ScTpUserLists::UpdateEntries( size_t nList )
}
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::MakeListStr( OUString& rListStr )
{
@@ -346,7 +346,7 @@ void ScTpUserLists::MakeListStr( OUString& rListStr )
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::AddNewList( const OUString& rEntriesStr )
{
@@ -360,14 +360,14 @@ void ScTpUserLists::AddNewList( const OUString& rEntriesStr )
pUserLists->push_back(new ScUserListData(theEntriesStr));
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos,
const ScRefAddress& rEndPos )
{
if ( bCopyDone ) return;
- //----------------------------------------------------------
+
SCTAB nTab = rStartPos.Tab();
SCCOL nStartCol = rStartPos.Col();
@@ -446,20 +446,20 @@ void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos,
}
}
- //----------------------------------------------------------
+
bCopyDone = true;
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::ModifyList( sal_uInt16 nSelList,
const OUString& rEntriesStr )
{
if ( !pUserLists ) return;
- //----------------------------------------------------------
+
OUString theEntriesStr( rEntriesStr );
@@ -468,7 +468,7 @@ void ScTpUserLists::ModifyList( sal_uInt16 nSelList,
(*pUserLists)[nSelList]->SetString( theEntriesStr );
}
-// -----------------------------------------------------------------------
+
void ScTpUserLists::RemoveList( size_t nList )
{
@@ -480,9 +480,9 @@ void ScTpUserLists::RemoveList( size_t nList )
}
}
-//-----------------------------------------------------------------------
+
// Handler:
-//---------
+
IMPL_LINK( ScTpUserLists, LbSelectHdl, ListBox*, pLb )
{
@@ -507,7 +507,7 @@ IMPL_LINK( ScTpUserLists, LbSelectHdl, ListBox*, pLb )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
{
@@ -528,7 +528,7 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
mpBtnAdd->Disable();
mpBtnModify->Disable();
mpBtnRemove->Disable();
- //-----------------------------
+
if ( mpBtnCopy->IsEnabled() )
{
mpBtnCopy->Disable();
@@ -557,7 +557,7 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
}
mpBtnAdd->Disable();
mpBtnModify->Disable();
- //-----------------------------
+
if ( pViewData && !bCopyDone )
{
mpBtnCopy->Enable();
@@ -692,7 +692,7 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
if ( bCopyDone )
return 0;
- //-----------------------------------------------------------
+
ScRefAddress theStartPos;
ScRefAddress theEndPos;
@@ -744,14 +744,14 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ScTpUserLists, EdEntriesModHdl, VclMultiLineEdit*, pEd )
{
if ( pEd != mpEdEntries )
return 0;
- //-----------------------------------------------------------
+
if ( mpBtnCopy->IsEnabled() )
{
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx
index 568daece00af..7dd0b96b5807 100644
--- a/sc/source/ui/optdlg/tpview.cxx
+++ b/sc/source/ui/optdlg/tpview.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "scitems.hxx"
#include "tpview.hxx"
@@ -309,7 +309,7 @@ void ScTpContentOptions::InitGridOpt()
if ( !pColorList.is() )
return;
- //------------------------------------------------------
+
pColorLB->SetUpdateMode( false );
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index cfe2ed3c0534..278dfef35328 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -94,7 +94,7 @@ static void printAddressFlags(sal_uInt16 nFlag)
//============================================================================
// class ScPrintAreasDlg
-//----------------------------------------------------------------------------
+
ScPrintAreasDlg::ScPrintAreasDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent )
: ScAnyRefDlg(pB, pCW, pParent, "PrintAreasDialog", "modules/scalc/ui/printareasdialog.ui")
@@ -145,7 +145,7 @@ ScPrintAreasDlg::ScPrintAreasDlg( SfxBindings* pB, SfxChildWindow* pCW, Window*
}
-//----------------------------------------------------------------------------
+
ScPrintAreasDlg::~ScPrintAreasDlg()
{
@@ -161,7 +161,7 @@ ScPrintAreasDlg::~ScPrintAreasDlg()
}
-//----------------------------------------------------------------------------
+
bool ScPrintAreasDlg::Close()
{
@@ -169,7 +169,7 @@ bool ScPrintAreasDlg::Close()
}
-//----------------------------------------------------------------------------
+
bool ScPrintAreasDlg::IsTableLocked() const
{
@@ -180,7 +180,7 @@ bool ScPrintAreasDlg::IsTableLocked() const
}
-//----------------------------------------------------------------------------
+
void ScPrintAreasDlg::SetReference( const ScRange& rRef, ScDocument* /* pDoc */ )
{
@@ -214,7 +214,7 @@ void ScPrintAreasDlg::SetReference( const ScRange& rRef, ScDocument* /* pDoc */
}
-//----------------------------------------------------------------------------
+
void ScPrintAreasDlg::AddRefEntry()
{
@@ -233,7 +233,7 @@ void ScPrintAreasDlg::AddRefEntry()
}
-//----------------------------------------------------------------------------
+
void ScPrintAreasDlg::Deactivate()
{
@@ -241,7 +241,7 @@ void ScPrintAreasDlg::Deactivate()
}
-//----------------------------------------------------------------------------
+
void ScPrintAreasDlg::SetActive()
{
@@ -262,7 +262,7 @@ void ScPrintAreasDlg::SetActive()
}
-//----------------------------------------------------------------------------
+
void ScPrintAreasDlg::Impl_Reset()
{
@@ -287,9 +287,9 @@ void ScPrintAreasDlg::Impl_Reset()
Impl_FillLists();
- //-------------------------
+
// Druckbereich
- //-------------------------
+
aStrRange = "";
OUString aOne;
const formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention();
@@ -308,15 +308,15 @@ void ScPrintAreasDlg::Impl_Reset()
}
pEdPrintArea->SetText( aStrRange );
- //-------------------------------
+
// Wiederholungszeile
- //-------------------------------
+
lcl_GetRepeatRangeString(pRepeatRowRange, pDoc, true, aStrRange);
pEdRepeatRow->SetText( aStrRange );
- //--------------------------------
+
// Wiederholungsspalte
- //--------------------------------
+
lcl_GetRepeatRangeString(pRepeatColRange, pDoc, false, aStrRange);
pEdRepeatCol->SetText( aStrRange );
@@ -332,7 +332,7 @@ void ScPrintAreasDlg::Impl_Reset()
}
-//----------------------------------------------------------------------------
+
bool ScPrintAreasDlg::Impl_GetItem( Edit* pEd, SfxStringItem& rItem )
{
@@ -353,7 +353,7 @@ bool ScPrintAreasDlg::Impl_GetItem( Edit* pEd, SfxStringItem& rItem )
}
-//----------------------------------------------------------------------------
+
bool ScPrintAreasDlg::Impl_CheckRefStrings()
{
@@ -418,13 +418,13 @@ bool ScPrintAreasDlg::Impl_CheckRefStrings()
}
-//----------------------------------------------------------------------------
+
void ScPrintAreasDlg::Impl_FillLists()
{
- //------------------------------------------------------
+
// Selektion holen und String in PrintArea-ListBox merken
- //------------------------------------------------------
+
ScRange aRange;
OUString aStrRange;
sal_Bool bSimple = sal_True;
@@ -445,9 +445,9 @@ void ScPrintAreasDlg::Impl_FillLists()
pLbPrintArea->SetEntryData( SC_AREASDLG_PR_SELECT, new OUString( aStrRange ) );
- //------------------------------------------------------
+
// Ranges holen und in ListBoxen merken
- //------------------------------------------------------
+
ScRangeName* pRangeNames = pDoc->GetRangeName();
if (!pRangeNames || pRangeNames->empty())
@@ -493,9 +493,9 @@ void ScPrintAreasDlg::Impl_FillLists()
}
-//----------------------------------------------------------------------------
+
// Handler:
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, PushButton*, pBtn )
{
@@ -509,9 +509,9 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, PushButton*, pBtn )
SfxStringItem aRepeatRow( FN_PARAM_2, aStr );
SfxStringItem aRepeatCol( FN_PARAM_3, aStr );
- //-------------------------
+
// Druckbereich veraendert?
- //-------------------------
+
// first try the list box, if "Entite sheet" is selected
bool bEntireSheet = (pLbPrintArea->GetSelectEntryPos() == SC_AREASDLG_PR_ENTIRE);
@@ -524,14 +524,14 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, PushButton*, pBtn )
bDataChanged |= Impl_GetItem( pEdPrintArea, aPrintArea );
}
- //-------------------------------
+
// Wiederholungszeile veraendert?
- //-------------------------------
+
bDataChanged |= Impl_GetItem( pEdRepeatRow, aRepeatRow );
- //--------------------------------
+
// Wiederholungsspalte veraendert?
- //--------------------------------
+
bDataChanged |= Impl_GetItem( pEdRepeatCol, aRepeatCol );
if ( bDataChanged )
@@ -553,7 +553,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, PushButton*, pBtn )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScPrintAreasDlg, Impl_GetFocusHdl, Control*, pCtr )
{
@@ -580,7 +580,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_GetFocusHdl, Control*, pCtr )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScPrintAreasDlg, Impl_SelectHdl, ListBox*, pLb )
{
@@ -619,7 +619,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_SelectHdl, ListBox*, pLb )
}
-//----------------------------------------------------------------------------
+
IMPL_LINK( ScPrintAreasDlg, Impl_ModifyHdl, formula::RefEdit*, pEd )
{
@@ -671,7 +671,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_ModifyHdl, formula::RefEdit*, pEd )
//============================================================================
// globale Funktionen:
-// ----------------------------------------------------------------------------
+
// TODO: It might make sense to move these functions to address.?xx. -kohei
@@ -854,7 +854,7 @@ static bool lcl_CheckRepeatString( const OUString& rStr, ScDocument* pDoc, bool
return true;
}
-// ----------------------------------------------------------------------------
+
static void lcl_GetRepeatRangeString( const ScRange* pRange, ScDocument* pDoc, bool bIsRow, OUString& rStr )
{
diff --git a/sc/source/ui/pagedlg/hfedtdlg.cxx b/sc/source/ui/pagedlg/hfedtdlg.cxx
index ce777e84d7f1..9e04835ba7a7 100644
--- a/sc/source/ui/pagedlg/hfedtdlg.cxx
+++ b/sc/source/ui/pagedlg/hfedtdlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "scitems.hxx"
#include <svl/eitem.hxx>
@@ -32,7 +32,7 @@
#include "globstr.hrc"
#include "scresid.hxx"
#include "scuitphfedit.hxx"
-//------------------------------------------------------------------
+
// macros from docsh4.cxx
//! use SIDs?
@@ -201,7 +201,7 @@ ScHFEditActiveDlg::ScHFEditActiveDlg( SfxViewFrame* pFrameP,
}
}
-// -----------------------------------------------------------------------
+
void ScHFEditDlg::PageCreated( sal_uInt16 /* nId */, SfxTabPage& rPage )
{
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 33ddc5bbeb1e..05480042bbcc 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -20,7 +20,7 @@
#undef SC_DLLIMPLEMENTATION
-//------------------------------------------------------------------
+
#include "scitems.hxx"
#include <editeng/eeitem.hxx>
@@ -156,7 +156,7 @@ IMPL_LINK( ScHFEditPage, ObjectSelectHdl, ScEditWindow*, pEdit )
return 0;
}
-// -----------------------------------------------------------------------
+
ScHFEditPage::~ScHFEditPage()
{
@@ -206,7 +206,7 @@ sal_Bool ScHFEditPage::FillItemSet( SfxItemSet& rCoreSet )
return sal_True;
}
-// -----------------------------------------------------------------------
+
#define SET_CMD(i,id) \
aCmd = aDel; \
@@ -214,7 +214,7 @@ sal_Bool ScHFEditPage::FillItemSet( SfxItemSet& rCoreSet )
aCmd += aDel; \
aCmdArr[i] = aCmd;
-// -----------------------------------------------------------------------
+
void ScHFEditPage::FillCmdArr()
{
@@ -759,9 +759,9 @@ void ScHFEditPage::ClearTextAreas()
m_pWndRight->Invalidate();
}
-//-----------------------------------------------------------------------
+
// Handler:
-//-----------------------------------------------------------------------
+
IMPL_LINK( ScHFEditPage, ListHdl_Impl, ListBox*, pList )
{
@@ -857,7 +857,7 @@ ScRightHeaderEditPage::ScRightHeaderEditPage( Window* pParent, const SfxItemSet&
true )
{}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScRightHeaderEditPage::Create( Window* pParent, const SfxItemSet& rCoreSet )
{ return ( new ScRightHeaderEditPage( pParent, rCoreSet ) ); };
@@ -873,7 +873,7 @@ ScLeftHeaderEditPage::ScLeftHeaderEditPage( Window* pParent, const SfxItemSet& r
true )
{}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScLeftHeaderEditPage::Create( Window* pParent, const SfxItemSet& rCoreSet )
{ return ( new ScLeftHeaderEditPage( pParent, rCoreSet ) ); };
@@ -889,7 +889,7 @@ ScRightFooterEditPage::ScRightFooterEditPage( Window* pParent, const SfxItemSet&
false )
{}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScRightFooterEditPage::Create( Window* pParent, const SfxItemSet& rCoreSet )
{ return ( new ScRightFooterEditPage( pParent, rCoreSet ) ); };
@@ -905,7 +905,7 @@ ScLeftFooterEditPage::ScLeftFooterEditPage( Window* pParent, const SfxItemSet& r
false )
{}
-// -----------------------------------------------------------------------
+
SfxTabPage* ScLeftFooterEditPage::Create( Window* pParent, const SfxItemSet& rCoreSet )
{ return ( new ScLeftFooterEditPage( pParent, rCoreSet ) ); };
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx
index 46dfeaac3a03..3b566e527545 100644
--- a/sc/source/ui/pagedlg/tphf.cxx
+++ b/sc/source/ui/pagedlg/tphf.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#define _TPHF_CXX
#include "scitems.hxx"
@@ -86,13 +86,13 @@ ScHFPage::ScHFPage( Window* pParent, const SfxItemSet& rSet, sal_uInt16 nSetId )
m_pBtnEdit->SetHelpId( HID_SC_FOOTER_EDIT );
}
-//------------------------------------------------------------------
+
ScHFPage::~ScHFPage()
{
}
-//------------------------------------------------------------------
+
void ScHFPage::Reset( const SfxItemSet& rSet )
{
@@ -100,7 +100,7 @@ void ScHFPage::Reset( const SfxItemSet& rSet )
TurnOnHdl( 0 );
}
-//------------------------------------------------------------------
+
sal_Bool ScHFPage::FillItemSet( SfxItemSet& rOutSet )
{
@@ -120,7 +120,7 @@ sal_Bool ScHFPage::FillItemSet( SfxItemSet& rOutSet )
return bResult;
}
-//------------------------------------------------------------------
+
void ScHFPage::ActivatePage( const SfxItemSet& rSet )
{
@@ -138,7 +138,7 @@ void ScHFPage::ActivatePage( const SfxItemSet& rSet )
SvxHFPage::ActivatePage( rSet );
}
-//------------------------------------------------------------------
+
int ScHFPage::DeactivatePage( SfxItemSet* pSetP )
{
@@ -149,7 +149,7 @@ int ScHFPage::DeactivatePage( SfxItemSet* pSetP )
return LEAVE_PAGE;
}
-//------------------------------------------------------------------
+
void ScHFPage::ActivatePage()
{
@@ -159,9 +159,9 @@ void ScHFPage::DeactivatePage()
{
}
-//------------------------------------------------------------------
+
// Handler:
-//------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScHFPage, TurnOnHdl)
{
@@ -176,7 +176,7 @@ IMPL_LINK_NOARG(ScHFPage, TurnOnHdl)
}
-//------------------------------------------------------------------
+
IMPL_LINK_NOARG(ScHFPage, BtnHdl)
{
@@ -273,14 +273,14 @@ ScHeaderPage::ScHeaderPage( Window* pParent, const SfxItemSet& rSet )
{
}
-//------------------------------------------------------------------
+
SfxTabPage* ScHeaderPage::Create( Window* pParent, const SfxItemSet& rCoreSet )
{
return ( new ScHeaderPage( pParent, rCoreSet ) );
}
-//------------------------------------------------------------------
+
sal_uInt16* ScHeaderPage::GetRanges()
{
@@ -296,14 +296,14 @@ ScFooterPage::ScFooterPage( Window* pParent, const SfxItemSet& rSet )
{
}
-//------------------------------------------------------------------
+
SfxTabPage* ScFooterPage::Create( Window* pParent, const SfxItemSet& rCoreSet )
{
return ( new ScFooterPage( pParent, rCoreSet ) );
}
-//------------------------------------------------------------------
+
sal_uInt16* ScFooterPage::GetRanges()
{
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index dc0b9d03d531..8456893d21ee 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -121,7 +121,7 @@ void ScEditWindow::Resize()
Control::Resize();
}
-// -----------------------------------------------------------------------
+
ScEditWindow::~ScEditWindow()
{
@@ -141,7 +141,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeScEditWindow(Window *pParen
return new ScEditWindow (pParent, WB_BORDER|WB_TABSTOP, Left);
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::SetNumType(SvxNumType eNumType)
{
@@ -149,7 +149,7 @@ void ScEditWindow::SetNumType(SvxNumType eNumType)
pEdEngine->UpdateFields();
}
-// -----------------------------------------------------------------------
+
EditTextObject* ScEditWindow::CreateTextObject()
{
@@ -164,7 +164,7 @@ EditTextObject* ScEditWindow::CreateTextObject()
return pEdEngine->CreateTextObject();
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::SetFont( const ScPatternAttr& rPattern )
{
@@ -180,21 +180,21 @@ void ScEditWindow::SetFont( const ScPatternAttr& rPattern )
pEdEngine->SetDefaults( pSet );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::SetText( const EditTextObject& rTextObject )
{
pEdEngine->SetText( rTextObject );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::InsertField( const SvxFieldItem& rFld )
{
pEdView->InsertField( rFld );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::SetCharAttriutes()
{
@@ -233,7 +233,7 @@ void ScEditWindow::SetCharAttriutes()
}
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::Paint( const Rectangle& rRect )
{
@@ -252,14 +252,14 @@ void ScEditWindow::Paint( const Rectangle& rRect )
pEdView->ShowCursor(true,true);
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::MouseMove( const MouseEvent& rMEvt )
{
pEdView->MouseMove( rMEvt );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -269,14 +269,14 @@ void ScEditWindow::MouseButtonDown( const MouseEvent& rMEvt )
pEdView->MouseButtonDown( rMEvt );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::MouseButtonUp( const MouseEvent& rMEvt )
{
pEdView->MouseButtonUp( rMEvt );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::KeyInput( const KeyEvent& rKEvt )
{
@@ -299,14 +299,14 @@ void ScEditWindow::KeyInput( const KeyEvent& rKEvt )
}
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::Command( const CommandEvent& rCEvt )
{
pEdView->Command( rCEvt );
}
-// -----------------------------------------------------------------------
+
void ScEditWindow::GetFocus()
{
@@ -333,7 +333,7 @@ void ScEditWindow::LoseFocus()
pAcc = NULL;
}
-// -----------------------------------------------------------------------
+
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > ScEditWindow::CreateAccessible()
{
diff --git a/sc/source/ui/styleui/styledlg.cxx b/sc/source/ui/styleui/styledlg.cxx
index 1b738d354207..cfaa6b14a2f6 100644
--- a/sc/source/ui/styleui/styledlg.cxx
+++ b/sc/source/ui/styleui/styledlg.cxx
@@ -22,7 +22,7 @@
-//------------------------------------------------------------------
+
#include "scitems.hxx"
#include <svx/numinf.hxx>
@@ -130,7 +130,7 @@ ScStyleDlg::ScStyleDlg( Window* pParent,
}
}
-// -----------------------------------------------------------------------
+
void ScStyleDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage )
{
@@ -182,7 +182,7 @@ void ScStyleDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage )
}
-// -----------------------------------------------------------------------
+
const SfxItemSet* ScStyleDlg::GetRefreshedSet()
{
diff --git a/sc/source/ui/undo/areasave.cxx b/sc/source/ui/undo/areasave.cxx
index 13aaaf95df50..4409ab9ba93d 100644
--- a/sc/source/ui/undo/areasave.cxx
+++ b/sc/source/ui/undo/areasave.cxx
@@ -24,7 +24,7 @@
#include "document.hxx"
#include <documentlinkmgr.hxx>
-// -----------------------------------------------------------------------
+
ScAreaLinkSaver::ScAreaLinkSaver( const ScAreaLink& rSource ) :
aFileName ( rSource.GetFile() ),
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx
index 96040f7f081e..d8ff8df96b4b 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -44,7 +44,7 @@
#include "refundo.hxx"
#include "markdata.hxx"
-// -----------------------------------------------------------------------
+
TYPEINIT1(ScUndoDoOutline, ScSimpleUndo);
TYPEINIT1(ScUndoMakeOutline, ScSimpleUndo);
diff --git a/sc/source/ui/undo/undostyl.cxx b/sc/source/ui/undo/undostyl.cxx
index d55cde4a08d3..ae5b177673b4 100644
--- a/sc/source/ui/undo/undostyl.cxx
+++ b/sc/source/ui/undo/undostyl.cxx
@@ -29,12 +29,12 @@
#include "inputhdl.hxx"
#include "globstr.hrc"
-// -----------------------------------------------------------------------
+
TYPEINIT1(ScUndoModifyStyle, ScSimpleUndo);
TYPEINIT1(ScUndoApplyPageStyle, ScSimpleUndo);
-// -----------------------------------------------------------------------
+
//
// modify style (cell or page style)
//
@@ -86,7 +86,7 @@ void ScStyleSaveData::InitFromStyle( const SfxStyleSheetBase* pSource )
*this = ScStyleSaveData(); // empty
}
-// -----------------------------------------------------------------------
+
ScUndoModifyStyle::ScUndoModifyStyle( ScDocShell* pDocSh, SfxStyleFamily eFam,
const ScStyleSaveData& rOld, const ScStyleSaveData& rNew ) :
@@ -230,7 +230,7 @@ bool ScUndoModifyStyle::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false; // no repeat possible
}
-// -----------------------------------------------------------------------
+
//
// apply page style
//
diff --git a/sc/source/ui/unoobj/addruno.cxx b/sc/source/ui/unoobj/addruno.cxx
index 9ebcb601e9c2..f68cae8554d5 100644
--- a/sc/source/ui/unoobj/addruno.cxx
+++ b/sc/source/ui/unoobj/addruno.cxx
@@ -32,7 +32,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
ScAddressConversionObj::ScAddressConversionObj(ScDocShell* pDocSh, bool _bIsRange) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx
index 5d5c998ab76a..2e0a87b9a443 100644
--- a/sc/source/ui/unoobj/afmtuno.cxx
+++ b/sc/source/ui/unoobj/afmtuno.cxx
@@ -60,12 +60,12 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
// ein AutoFormat hat immer 16 Eintraege
#define SC_AF_FIELD_COUNT 16
-//------------------------------------------------------------------------
+
// AutoFormat-Map nur fuer PropertySetInfo, ohne Which-IDs
@@ -143,7 +143,7 @@ static const SfxItemPropertyMapEntry* lcl_GetAutoFieldMap()
return aAutoFieldMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCAUTOFORMATSOBJ_SERVICE "com.sun.star.sheet.TableAutoFormats"
@@ -151,7 +151,7 @@ SC_SIMPLE_SERVICE_INFO( ScAutoFormatFieldObj, "ScAutoFormatFieldObj", "com.sun.s
SC_SIMPLE_SERVICE_INFO( ScAutoFormatObj, "ScAutoFormatObj", "com.sun.star.sheet.TableAutoFormat" )
SC_SIMPLE_SERVICE_INFO( ScAutoFormatsObj, "ScAutoFormatsObj", SCAUTOFORMATSOBJ_SERVICE )
-//------------------------------------------------------------------------
+
static bool lcl_FindAutoFormatIndex( const ScAutoFormat& rFormats, const OUString& rName, sal_uInt16& rOutIndex )
{
@@ -170,7 +170,7 @@ static bool lcl_FindAutoFormatIndex( const ScAutoFormat& rFormats, const OUStrin
return false; // is nich
}
-//------------------------------------------------------------------------
+
ScAutoFormatsObj::ScAutoFormatsObj()
{
@@ -391,7 +391,7 @@ sal_Bool SAL_CALL ScAutoFormatsObj::hasByName( const OUString& aName )
*ScGlobal::GetOrCreateAutoFormat(), aString, nDummy );
}
-//------------------------------------------------------------------------
+
ScAutoFormatObj::ScAutoFormatObj(sal_uInt16 nIndex) :
aPropSet( lcl_GetAutoFormatMap() ),
@@ -656,7 +656,7 @@ uno::Any SAL_CALL ScAutoFormatObj::getPropertyValue( const OUString& aPropertyNa
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScAutoFormatObj )
-//------------------------------------------------------------------------
+
ScAutoFormatFieldObj::ScAutoFormatFieldObj(sal_uInt16 nFormat, sal_uInt16 nField) :
aPropSet( lcl_GetAutoFieldMap() ),
@@ -853,7 +853,7 @@ uno::Any SAL_CALL ScAutoFormatFieldObj::getPropertyValue( const OUString& aPrope
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScAutoFormatFieldObj )
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index bb4fb89a5c91..827e64bc8211 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -42,7 +42,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// Calc document
extern uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
@@ -118,7 +118,7 @@ extern OUString SAL_CALL ScXMLOasisExport_Settings_getImplementationName() throw
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-//------------------------------------------------------------------------
+
// Anzahl der Funktionen, die als zuletzt benutzt gespeichert werden
//! Define mit funcpage.hxx und dwfunctr.hxx zusammenfassen !!!
@@ -133,7 +133,7 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_crea
// Anzahl der PropertyValues in einer Function-Description
#define SC_FUNCDESC_PROPCOUNT 5
-//------------------------------------------------------------------------
+
// alles ohne Which-ID, Map nur fuer PropertySetInfo
@@ -164,7 +164,7 @@ static const SfxItemPropertyMapEntry* lcl_GetSettingsPropertyMap()
return aSettingsPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCFUNCTIONLISTOBJ_SERVICE "com.sun.star.sheet.FunctionDescriptions"
#define SCRECENTFUNCTIONSOBJ_SERVICE "com.sun.star.sheet.RecentFunctions"
@@ -174,7 +174,7 @@ SC_SIMPLE_SERVICE_INFO( ScFunctionListObj, "ScFunctionListObj", SCFUNCTIONLISTOB
SC_SIMPLE_SERVICE_INFO( ScRecentFunctionsObj, "ScRecentFunctionsObj", SCRECENTFUNCTIONSOBJ_SERVICE )
SC_SIMPLE_SERVICE_INFO( ScSpreadsheetSettings, "ScSpreadsheetSettings", SCSPREADSHEETSETTINGS_SERVICE )
-//------------------------------------------------------------------------
+
extern "C" {
@@ -383,7 +383,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sc_component_getFactory(
} // extern C
-//------------------------------------------------------------------------
+
ScSpreadsheetSettings::ScSpreadsheetSettings() :
aPropSet( lcl_GetSettingsPropertyMap() )
@@ -660,7 +660,7 @@ uno::Any SAL_CALL ScSpreadsheetSettings::getPropertyValue( const OUString& aProp
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScSpreadsheetSettings )
-//------------------------------------------------------------------------
+
ScRecentFunctionsObj::ScRecentFunctionsObj()
{
@@ -741,7 +741,7 @@ sal_Int32 SAL_CALL ScRecentFunctionsObj::getMaxRecentFunctions() throw(uno::Runt
return LRU_MAX;
}
-//------------------------------------------------------------------------
+
ScFunctionListObj::ScFunctionListObj()
{
@@ -988,7 +988,7 @@ sal_Bool SAL_CALL ScFunctionListObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/celllistsource.cxx b/sc/source/ui/unoobj/celllistsource.cxx
index 4867a63bdae9..47d32d3ee420 100644
--- a/sc/source/ui/unoobj/celllistsource.cxx
+++ b/sc/source/ui/unoobj/celllistsource.cxx
@@ -48,7 +48,7 @@ namespace calc
//= OCellListSource
//=====================================================================
DBG_NAME( OCellListSource )
- //---------------------------------------------------------------------
+
#ifdef DBG_UTIL
const char* OCellListSource::checkConsistency_static( const void* _pThis )
{
@@ -65,7 +65,7 @@ namespace calc
}
#endif
- //---------------------------------------------------------------------
+
OCellListSource::OCellListSource( const Reference< XSpreadsheetDocument >& _rxDocument )
:OCellListSource_Base( m_aMutex )
,OCellListSource_PBase( OCellListSource_Base::rBHelper )
@@ -88,7 +88,7 @@ namespace calc
);
}
- //---------------------------------------------------------------------
+
OCellListSource::~OCellListSource( )
{
if ( !OCellListSource_Base::rBHelper.bDisposed )
@@ -100,13 +100,13 @@ namespace calc
DBG_DTOR( OCellListSource, checkConsistency_static );
}
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XINTERFACE2( OCellListSource, OCellListSource_Base, OCellListSource_PBase )
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XTYPEPROVIDER2( OCellListSource, OCellListSource_Base, OCellListSource_PBase )
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::disposing()
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -126,20 +126,20 @@ namespace calc
// TODO: clean up here whatever you need to clean up (e.g. revoking listeners etc.)
}
- //--------------------------------------------------------------------
+
Reference< XPropertySetInfo > SAL_CALL OCellListSource::getPropertySetInfo( ) throw(RuntimeException)
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
return createPropertySetInfo( getInfoHelper() ) ;
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper& SAL_CALL OCellListSource::getInfoHelper()
{
return *OCellListSource_PABase::getArrayHelper();
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper* OCellListSource::createArrayHelper( ) const
{
Sequence< Property > aProps;
@@ -147,7 +147,7 @@ namespace calc
return new ::cppu::OPropertyArrayHelper(aProps);
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
@@ -158,7 +158,7 @@ namespace calc
_rValue <<= getRangeAddress( );
}
- //--------------------------------------------------------------------
+
void OCellListSource::checkDisposed( ) const SAL_THROW( ( DisposedException ) )
{
if ( OCellListSource_Base::rBHelper.bInDispose || OCellListSource_Base::rBHelper.bDisposed )
@@ -202,7 +202,7 @@ namespace calc
return aAddress;
}
- //--------------------------------------------------------------------
+
OUString OCellListSource::getCellTextContent_noCheck( sal_Int32 _nRangeRelativeColumn, sal_Int32 _nRangeRelativeRow )
{
OSL_PRECOND( m_xRange.is(), "OCellListSource::getRangeAddress: invalid range!" );
@@ -216,7 +216,7 @@ namespace calc
return sText;
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL OCellListSource::getListEntryCount( ) throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -228,7 +228,7 @@ namespace calc
return aAddress.EndRow - aAddress.StartRow + 1;
}
- //--------------------------------------------------------------------
+
OUString SAL_CALL OCellListSource::getListEntry( sal_Int32 _nPosition ) throw (IndexOutOfBoundsException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -242,7 +242,7 @@ namespace calc
return getCellTextContent_noCheck( 0, _nPosition );
}
- //--------------------------------------------------------------------
+
Sequence< OUString > SAL_CALL OCellListSource::getAllListEntries( ) throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -260,7 +260,7 @@ namespace calc
return aAllEntries;
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::addListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -274,7 +274,7 @@ namespace calc
m_aListEntryListeners.addInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::removeListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -288,7 +288,7 @@ namespace calc
m_aListEntryListeners.removeInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::modified( const EventObject& /* aEvent */ ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
@@ -296,7 +296,7 @@ namespace calc
notifyModified();
}
- //--------------------------------------------------------------------
+
void OCellListSource::notifyModified()
{
EventObject aEvent;
@@ -321,7 +321,7 @@ namespace calc
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::disposing( const EventObject& aEvent ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
@@ -334,7 +334,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException)
{
if ( m_bInitialized )
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 9abcc28e92e6..ebbd4449cfc6 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -131,7 +131,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
class ScNamedEntry
{
@@ -146,7 +146,7 @@ public:
const ScRange& GetRange() const { return aRange; }
};
-//------------------------------------------------------------------------
+
// The names in the maps must be sorted according to strcmp!
//! Instead of Which-ID 0 use special IDs and do not compare via names!
@@ -856,12 +856,12 @@ static const SvxItemPropertySet* lcl_GetEditPropertySet()
return &aEditPropertySet;
}
-//------------------------------------------------------------------------
+
using sc::HMMToTwips;
using sc::TwipsToHMM;
-//------------------------------------------------------------------------
+
#define SCCHARPROPERTIES_SERVICE "com.sun.star.style.CharacterProperties"
#define SCPARAPROPERTIES_SERVICE "com.sun.star.style.ParagraphProperties"
@@ -883,7 +883,7 @@ SC_SIMPLE_SERVICE_INFO( ScCellsObj, "ScCellsObj", "com.sun.star.sheet.Cells" )
SC_SIMPLE_SERVICE_INFO( ScTableColumnObj, "ScTableColumnObj", "com.sun.star.table.TableColumn" )
SC_SIMPLE_SERVICE_INFO( ScTableRowObj, "ScTableRowObj", "com.sun.star.table.TableRow" )
-//------------------------------------------------------------------------
+
//! ScLinkListener in anderes File verschieben !!!
@@ -896,7 +896,7 @@ void ScLinkListener::Notify( SvtBroadcaster&, const SfxHint& rHint )
aLink.Call( (SfxHint*)&rHint );
}
-//------------------------------------------------------------------------
+
static void lcl_CopyProperties( beans::XPropertySet& rDest, beans::XPropertySet& rSource )
{
@@ -1051,7 +1051,7 @@ void ScHelperFunctions::AssignTableBorder2ToAny( uno::Any& rAny,
rAny <<= aBorder;
}
-//------------------------------------------------------------------------
+
//! lcl_ApplyBorder nach docfunc verschieben!
@@ -1403,7 +1403,7 @@ static OUString lcl_GetInputString( ScDocument* pDoc, const ScAddress& rPos, sal
return aVal;
}
-//------------------------------------------------------------------------
+
ScCellRangesBase::ScCellRangesBase(ScDocShell* pDocSh, const ScRange& rR) :
pPropSet(lcl_GetCellsPropertySet()),
@@ -1807,7 +1807,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScCellRangesBase::getImplementationId()
return theScCellRangesBaseImplementationId::get().getSeq();
}
-// ---
+
void ScCellRangesBase::PaintRanges_Impl( sal_uInt16 nPart )
{
@@ -4146,7 +4146,7 @@ ScCellRangesBase* ScCellRangesBase::getImplementation( const uno::Reference<uno:
return pRet;
}
-//------------------------------------------------------------------------
+
typedef boost::ptr_vector<ScNamedEntry> ScNamedEntryArr_Impl;
@@ -4782,7 +4782,7 @@ uno::Reference<table::XCellRange> ScCellRangeObj::CreateRangeFromDoc( ScDocument
return NULL;
}
-//------------------------------------------------------------------------
+
ScCellRangeObj::ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR) :
ScCellRangesBase( pDocSh, rR ),
@@ -6062,7 +6062,7 @@ uno::Sequence<OUString> SAL_CALL ScCellRangeObj::getSupportedServiceNames()
return aRet;
}
-//------------------------------------------------------------------------
+
const SvxItemPropertySet* ScCellObj::GetEditPropertySet()
{
@@ -6874,7 +6874,7 @@ sal_Int16 SAL_CALL ScCellObj::resetActionLocks() throw(uno::RuntimeException)
return nRet;
}
-//------------------------------------------------------------------------
+
ScTableSheetObj::ScTableSheetObj( ScDocShell* pDocSh, SCTAB nTab ) :
ScCellRangeObj( pDocSh, ScRange(0,0,nTab, MAXCOL,MAXROW,nTab) ),
@@ -8728,7 +8728,7 @@ ScTableSheetObj* ScTableSheetObj::getImplementation( const uno::Reference<uno::X
return pRet;
}
-//------------------------------------------------------------------------
+
ScTableColumnObj::ScTableColumnObj( ScDocShell* pDocSh, SCCOL nCol, SCTAB nTab ) :
ScCellRangeObj( pDocSh, ScRange(nCol,0,nTab, nCol,MAXROW,nTab) ),
@@ -8937,7 +8937,7 @@ const SfxItemPropertyMap& ScTableColumnObj::GetItemPropertyMap()
return pColPropSet->getPropertyMap();
}
-//------------------------------------------------------------------------
+
ScTableRowObj::ScTableRowObj(ScDocShell* pDocSh, SCROW nRow, SCTAB nTab) :
ScCellRangeObj( pDocSh, ScRange(0,nRow,nTab, MAXCOL,nRow,nTab) ),
@@ -9093,7 +9093,7 @@ const SfxItemPropertyMap& ScTableRowObj::GetItemPropertyMap()
return pRowPropSet->getPropertyMap();
}
-//------------------------------------------------------------------------
+
ScCellsObj::ScCellsObj(ScDocShell* pDocSh, const ScRangeList& rR) :
pDocShell( pDocSh ),
@@ -9154,7 +9154,7 @@ sal_Bool SAL_CALL ScCellsObj::hasElements() throw(uno::RuntimeException)
return bHas;
}
-//------------------------------------------------------------------------
+
ScCellsEnumeration::ScCellsEnumeration(ScDocShell* pDocSh, const ScRangeList& rR) :
pDocShell( pDocSh ),
@@ -9286,7 +9286,7 @@ uno::Any SAL_CALL ScCellsEnumeration::nextElement() throw(container::NoSuchEleme
throw container::NoSuchElementException(); // no more elements
}
-//------------------------------------------------------------------------
+
ScCellFormatsObj::ScCellFormatsObj(ScDocShell* pDocSh, const ScRange& rRange) :
pDocShell( pDocSh ),
@@ -9408,7 +9408,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScCellFormatsObj::createEnumera
return NULL;
}
-//------------------------------------------------------------------------
+
ScCellFormatsEnumeration::ScCellFormatsEnumeration(ScDocShell* pDocSh, const ScRange& rRange) :
pDocShell( pDocSh ),
@@ -9516,7 +9516,7 @@ uno::Any SAL_CALL ScCellFormatsEnumeration::nextElement() throw(container::NoSuc
return uno::makeAny(uno::Reference<table::XCellRange> (NextObject_Impl()));
}
-//------------------------------------------------------------------------
+
ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rRange) :
pDocShell( pDocSh ),
@@ -9786,7 +9786,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScUniqueCellFormatsObj::createE
return NULL;
}
-//------------------------------------------------------------------------
+
ScUniqueCellFormatsEnumeration::ScUniqueCellFormatsEnumeration(ScDocShell* pDocSh, const ScMyRangeLists& rRangeLists) :
aRangeLists(rRangeLists),
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx
index 2236bac9cd14..1118ca6b30c0 100644
--- a/sc/source/ui/unoobj/cellvaluebinding.cxx
+++ b/sc/source/ui/unoobj/cellvaluebinding.cxx
@@ -52,7 +52,7 @@ namespace calc
//= OCellValueBinding
//=====================================================================
DBG_NAME( OCellValueBinding )
- //---------------------------------------------------------------------
+
#ifdef DBG_UTIL
const char* OCellValueBinding::checkConsistency_static( const void* _pThis )
{
@@ -72,7 +72,7 @@ namespace calc
}
#endif
- //---------------------------------------------------------------------
+
OCellValueBinding::OCellValueBinding( const Reference< XSpreadsheetDocument >& _rxDocument, bool _bListPos )
:OCellValueBinding_Base( m_aMutex )
,OCellValueBinding_PBase( OCellValueBinding_Base::rBHelper )
@@ -97,7 +97,7 @@ namespace calc
// which probably maps to the cell being locked
}
- //---------------------------------------------------------------------
+
OCellValueBinding::~OCellValueBinding( )
{
if ( !OCellValueBinding_Base::rBHelper.bDisposed )
@@ -109,13 +109,13 @@ namespace calc
DBG_DTOR( OCellValueBinding, checkConsistency_static );
}
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XINTERFACE2( OCellValueBinding, OCellValueBinding_Base, OCellValueBinding_PBase )
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XTYPEPROVIDER2( OCellValueBinding, OCellValueBinding_Base, OCellValueBinding_PBase )
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::disposing()
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -132,20 +132,20 @@ namespace calc
// for the cell)
}
- //--------------------------------------------------------------------
+
Reference< XPropertySetInfo > SAL_CALL OCellValueBinding::getPropertySetInfo( ) throw(RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
return createPropertySetInfo( getInfoHelper() ) ;
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper& SAL_CALL OCellValueBinding::getInfoHelper()
{
return *OCellValueBinding_PABase::getArrayHelper();
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper* OCellValueBinding::createArrayHelper( ) const
{
Sequence< Property > aProps;
@@ -153,7 +153,7 @@ namespace calc
return new ::cppu::OPropertyArrayHelper(aProps);
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -167,7 +167,7 @@ namespace calc
_rValue <<= xCellAddress->getCellAddress( );
}
- //--------------------------------------------------------------------
+
Sequence< Type > SAL_CALL OCellValueBinding::getSupportedValueTypes( ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -199,7 +199,7 @@ namespace calc
return aTypes;
}
- //--------------------------------------------------------------------
+
sal_Bool SAL_CALL OCellValueBinding::supportsType( const Type& aType ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -217,7 +217,7 @@ namespace calc
return false;
}
- //--------------------------------------------------------------------
+
Any SAL_CALL OCellValueBinding::getValue( const Type& aType ) throw (IncompatibleTypesException, RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -304,7 +304,7 @@ namespace calc
return aReturn;
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::setValue( const Any& aValue ) throw (IncompatibleTypesException, NoSupportException, RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -388,7 +388,7 @@ namespace calc
// above
}
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::setBooleanFormat()
{
// set boolean number format if not already set
@@ -435,7 +435,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::checkDisposed( ) const SAL_THROW( ( DisposedException ) )
{
if ( OCellValueBinding_Base::rBHelper.bInDispose || OCellValueBinding_Base::rBHelper.bDisposed )
@@ -443,7 +443,7 @@ namespace calc
// TODO: is it worth having an error message here?
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::checkInitialized() SAL_THROW( ( RuntimeException ) )
{
if ( !m_bInitialized )
@@ -451,7 +451,7 @@ namespace calc
// TODO: error message
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::checkValueType( const Type& _rType ) const SAL_THROW( ( IncompatibleTypesException ) )
{
OCellValueBinding* pNonConstThis = const_cast< OCellValueBinding* >( this );
@@ -497,14 +497,14 @@ namespace calc
m_aModifyListeners.addInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::removeModifyListener( const Reference< XModifyListener >& _rxListener ) throw (RuntimeException)
{
if ( _rxListener.is() )
m_aModifyListeners.removeInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::notifyModified()
{
EventObject aEvent;
@@ -528,7 +528,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::modified( const EventObject& /* aEvent */ ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -536,7 +536,7 @@ namespace calc
notifyModified();
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::disposing( const EventObject& aEvent ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -550,7 +550,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException)
{
if ( m_bInitialized )
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 05121150e8ee..795cfdfc06ba 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -433,7 +433,7 @@ vector<ScTokenRef>* Chart2PositionMap::getDataRowRanges(SCROW nRow) const
return maData.getRowRanges( nRow);
}
-// ----------------------------------------------------------------------------
+
/**
* Designed to be a drop-in replacement for ScChartPositioner, in order to
@@ -1092,7 +1092,7 @@ Reference< chart2::data::XLabeledDataSequence > lcl_createLabeledDataSequenceFro
}
SAL_WNODEPRECATED_DECLARATIONS_POP
-//----------------------------------------------------
+
/**
* Check the current list of reference tokens, and add the upper left
* corner of the minimum range that encloses all ranges if certain
@@ -2970,7 +2970,7 @@ IMPL_LINK( ScChart2DataSequence, ValueListenerHdl, SfxHint*, pHint )
return 0;
}
-// ----------------------------------------------------------------------------
+
ScChart2DataSequence::ExternalRefListener::ExternalRefListener(
ScChart2DataSequence& rParent, ScDocument* pDoc) :
@@ -3022,7 +3022,7 @@ const boost::unordered_set<sal_uInt16>& ScChart2DataSequence::ExternalRefListene
return maFileIds;
}
-// ----------------------------------------------------------------------------
+
uno::Sequence< uno::Any> SAL_CALL ScChart2DataSequence::getData()
throw (uno::RuntimeException, std::exception)
diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx
index cbd44d8cba64..20c06141b059 100644
--- a/sc/source/ui/unoobj/chartuno.cxx
+++ b/sc/source/ui/unoobj/chartuno.cxx
@@ -49,12 +49,12 @@ using namespace com::sun::star;
#define PROP_HANDLE_RELATED_CELLRANGES 1
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScChartObj, "ScChartObj", "com.sun.star.table.TableChart" )
SC_SIMPLE_SERVICE_INFO( ScChartsObj, "ScChartsObj", "com.sun.star.table.TableCharts" )
-//------------------------------------------------------------------------
+
static SdrOle2Obj* lcl_FindChartObj( ScDocShell* pDocShell, SCTAB nTab, const OUString& rName )
{
@@ -90,7 +90,7 @@ static SdrOle2Obj* lcl_FindChartObj( ScDocShell* pDocShell, SCTAB nTab, const OU
return NULL;
}
-//------------------------------------------------------------------------
+
ScChartsObj::ScChartsObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
@@ -443,7 +443,7 @@ sal_Bool SAL_CALL ScChartsObj::hasByName( const OUString& aName )
return ( lcl_FindChartObj( pDocShell, nTab, aName ) != NULL );
}
-//------------------------------------------------------------------------
+
ScChartObj::ScChartObj(ScDocShell* pDocSh, SCTAB nT, const OUString& rN)
:ScChartObj_Base( m_aMutex )
@@ -795,7 +795,7 @@ uno::Reference< beans::XPropertySetInfo > ScChartObj::getPropertySetInfo() throw
return createPropertySetInfo( getInfoHelper() ) ;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 938bdf81d7db..70f8d03e2d24 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -81,7 +81,7 @@ static const SfxItemPropertyMapEntry* lcl_GetConfigPropertyMap()
return aConfigPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
ScDocumentConfiguration::ScDocumentConfiguration(ScDocShell* pDocSh)
: pDocShell(pDocSh) ,
diff --git a/sc/source/ui/unoobj/convuno.cxx b/sc/source/ui/unoobj/convuno.cxx
index 013ed0646acf..ea9c55144c07 100644
--- a/sc/source/ui/unoobj/convuno.cxx
+++ b/sc/source/ui/unoobj/convuno.cxx
@@ -24,7 +24,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// everything is static...
diff --git a/sc/source/ui/unoobj/cursuno.cxx b/sc/source/ui/unoobj/cursuno.cxx
index 5985b6df2d2b..d9e21c0b04e4 100644
--- a/sc/source/ui/unoobj/cursuno.cxx
+++ b/sc/source/ui/unoobj/cursuno.cxx
@@ -34,12 +34,12 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
#define SCSHEETCELLCURSOR_SERVICE "com.sun.star.sheet.SheetCellCursor"
#define SCCELLCURSOR_SERVICE "com.sun.star.table.CellCursor"
-//------------------------------------------------------------------------
+
ScCellCursorObj::ScCellCursorObj(ScDocShell* pDocSh, const ScRange& rR) :
ScCellRangeObj( pDocSh, rR )
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 4f793bc3b22c..2e33485d3326 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -110,7 +110,7 @@ const SfxItemPropertyMapEntry* lcl_GetDataPilotDescriptorBaseMap()
return aDataPilotDescriptorBaseMap_Impl;
}
-// ----------------------------------------------------------------------------
+
const SfxItemPropertyMapEntry* lcl_GetDataPilotFieldMap()
{
@@ -138,7 +138,7 @@ const SfxItemPropertyMapEntry* lcl_GetDataPilotFieldMap()
return aDataPilotFieldMap_Impl;
}
-// ----------------------------------------------------------------------------
+
const SfxItemPropertyMapEntry* lcl_GetDataPilotItemMap()
{
@@ -152,7 +152,7 @@ const SfxItemPropertyMapEntry* lcl_GetDataPilotItemMap()
return aDataPilotItemMap_Impl;
}
-// ----------------------------------------------------------------------------
+
inline bool lclCheckValidDouble( double fValue, sal_Bool bAuto )
{
@@ -185,12 +185,12 @@ SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupsObj, "ScDataPilotFieldGroupsObj",
SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupObj, "ScDataPilotFieldGroupObj", "com.sun.star.sheet.DataPilotFieldGroup" )
SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupItemObj, "ScDataPilotFieldGroupItemObj", "com.sun.star.sheet.DataPilotFieldGroupItem" )
-//------------------------------------------------------------------------
+
// name that is used in the API for the data layout field
#define SC_DATALAYOUT_NAME "Data"
-//------------------------------------------------------------------------
+
GeneralFunction ScDataPilotConversion::FirstFunc( sal_uInt16 nBits )
{
@@ -244,7 +244,7 @@ void ScDataPilotConversion::FillGroupInfo( DataPilotFieldGroupInfo& rInfo, const
rInfo.Step = rGroupInfo.mfStep;
}
-//------------------------------------------------------------------------
+
static ScDPObject* lcl_GetDPObject( ScDocShell* pDocShell, SCTAB nTab, const OUString& rName )
{
@@ -296,7 +296,7 @@ static sal_Int32 lcl_GetObjectIndex( ScDPObject* pDPObj, const ScFieldIdentifier
return -1; // none
}
-//------------------------------------------------------------------------
+
ScDataPilotTablesObj::ScDataPilotTablesObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
@@ -593,7 +593,7 @@ sal_Bool SAL_CALL ScDataPilotTablesObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
ScDataPilotDescriptorBase::ScDataPilotDescriptorBase(ScDocShell* pDocSh) :
maPropSet( lcl_GetDataPilotDescriptorBaseMap() ),
@@ -1103,7 +1103,7 @@ ScDataPilotDescriptorBase* ScDataPilotDescriptorBase::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScDataPilotTableObj::ScDataPilotTableObj(ScDocShell* pDocSh, SCTAB nT, const OUString& rN) :
ScDataPilotDescriptorBase( pDocSh ),
@@ -1170,7 +1170,7 @@ Sequence<sal_Int8> SAL_CALL ScDataPilotTableObj::getImplementationId()
return theScDataPilotTableObjImplementationId::get().getSeq();
}
-// ---
+
ScDPObject* ScDataPilotTableObj::GetDPObject() const
{
return lcl_GetDPObject(GetDocShell(), nTab, aName);
@@ -1822,7 +1822,7 @@ sal_Bool SAL_CALL ScDataPilotFieldsObj::hasByName( const OUString& aName )
return GetObjectByName_Impl(aName) != NULL;
}
-//------------------------------------------------------------------------
+
ScDataPilotFieldObj::ScDataPilotFieldObj(
ScDataPilotDescriptorBase& rParent, const ScFieldIdentifier& rFieldId ) :
@@ -2865,7 +2865,7 @@ bool lclExtractGroupMembers( ScFieldGroupMembers& rMembers, const Any& rElement
} // namespace
-// ----------------------------------------------------------------------------
+
ScDataPilotFieldGroupsObj::ScDataPilotFieldGroupsObj( const ScFieldGroups& rGroups ) :
maGroups( rGroups )
@@ -3058,7 +3058,7 @@ OUString lclExtractMember( const Any& rElement )
} // namespace
-// ----------------------------------------------------------------------------
+
ScDataPilotFieldGroupObj::ScDataPilotFieldGroupObj( ScDataPilotFieldGroupsObj& rParent, const OUString& rGroupName ) :
mrParent( rParent ),
@@ -3361,7 +3361,7 @@ sal_Bool SAL_CALL ScDataPilotItemsObj::hasElements() throw(RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScDataPilotItemObj::ScDataPilotItemObj( ScDataPilotDescriptorBase& rParent, const ScFieldIdentifier& rFieldId, sal_Int32 nIndex ) :
ScDataPilotChildObjBase( rParent, rFieldId ),
@@ -3543,7 +3543,7 @@ void SAL_CALL ScDataPilotItemObj::removeVetoableChangeListener(
{
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 18a93361cc72..81388051b7cf 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -61,7 +61,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// alles ohne Which-ID, Map nur fuer PropertySetInfo
@@ -128,7 +128,7 @@ static const SfxItemPropertyMapEntry* lcl_GetDBRangePropertyMap()
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScConsolidationDescriptor, "ScConsolidationDescriptor", "com.sun.star.sheet.ConsolidationDescriptor" )
@@ -162,7 +162,7 @@ sheet::GeneralFunction ScDataUnoConversion::SubTotalToGeneral( ScSubTotalFunc e
return eGeneral;
}
-//------------------------------------------------------------------------
+
// ScImportDescriptor: alles static
@@ -270,7 +270,7 @@ void ScImportDescriptor::FillImportParam( ScImportParam& rParam, const uno::Sequ
}
}
-//------------------------------------------------------------------------
+
// ScSortDescriptor: alles static
@@ -467,7 +467,7 @@ void ScSortDescriptor::FillSortParam( ScSortParam& rParam, const uno::Sequence<b
}
}
-//------------------------------------------------------------------------
+
ScSubTotalFieldObj::ScSubTotalFieldObj( ScSubTotalDescriptorBase* pDesc, sal_uInt16 nP ) :
xRef( pDesc ), // Objekt festhalten
@@ -558,7 +558,7 @@ void SAL_CALL ScSubTotalFieldObj::setSubTotalColumns(
rParent.PutData(aParam);
}
-//------------------------------------------------------------------------
+
ScSubTotalDescriptorBase::ScSubTotalDescriptorBase() :
aPropSet( lcl_GetSubTotalPropertyMap() )
@@ -813,7 +813,7 @@ ScSubTotalDescriptorBase* ScSubTotalDescriptorBase::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScSubTotalDescriptor::ScSubTotalDescriptor()
{
@@ -838,7 +838,7 @@ void ScSubTotalDescriptor::SetParam( const ScSubTotalParam& rNew )
aStoredParam = rNew; // von aussen gesetzt
}
-//------------------------------------------------------------------------
+
ScRangeSubTotalDescriptor::ScRangeSubTotalDescriptor(ScDatabaseRangeObj* pPar) :
pParent(pPar)
@@ -865,7 +865,7 @@ void ScRangeSubTotalDescriptor::PutData( const ScSubTotalParam& rParam )
pParent->SetSubTotalParam( rParam );
}
-//------------------------------------------------------------------------
+
ScConsolidationDescriptor::ScConsolidationDescriptor()
{
@@ -1557,7 +1557,7 @@ uno::Any SAL_CALL ScFilterDescriptorBase::getPropertyValue( const OUString& aPro
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScFilterDescriptorBase )
-//------------------------------------------------------------------------
+
ScFilterDescriptor::ScFilterDescriptor(ScDocShell* pDocShell)
:
@@ -1584,7 +1584,7 @@ void ScFilterDescriptor::SetParam( const ScQueryParam& rNew )
aStoredParam = rNew; // von aussen gesetzt
}
-//------------------------------------------------------------------------
+
ScRangeFilterDescriptor::ScRangeFilterDescriptor(ScDocShell* pDocShell, ScDatabaseRangeObj* pPar) :
ScFilterDescriptorBase(pDocShell),
@@ -1612,7 +1612,7 @@ void ScRangeFilterDescriptor::PutData( const ScQueryParam& rParam )
pParent->SetQueryParam( rParam );
}
-//------------------------------------------------------------------------
+
ScDataPilotFilterDescriptor::ScDataPilotFilterDescriptor(ScDocShell* pDocShell, ScDataPilotDescriptorBase* pPar) :
ScFilterDescriptorBase(pDocShell),
@@ -1655,7 +1655,7 @@ void ScDataPilotFilterDescriptor::PutData( const ScQueryParam& rParam )
}
}
-//------------------------------------------------------------------------
+
ScDatabaseRangeObj::ScDatabaseRangeObj(ScDocShell* pDocSh, const OUString& rNm) :
pDocShell( pDocSh ),
@@ -2226,7 +2226,7 @@ uno::Sequence<OUString> SAL_CALL ScDatabaseRangeObj::getSupportedServiceNames()
return aRet;
}
-//------------------------------------------------------------------------
+
ScDatabaseRangesObj::ScDatabaseRangesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2424,7 +2424,7 @@ sal_Bool SAL_CALL ScDatabaseRangesObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
ScUnnamedDatabaseRangesObj::ScUnnamedDatabaseRangesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2510,7 +2510,7 @@ sal_Bool ScUnnamedDatabaseRangesObj::hasByTable( sal_Int32 nTab )
return false;
}
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/defltuno.cxx b/sc/source/ui/unoobj/defltuno.cxx
index 78337ff679bc..386bbbde0300 100644
--- a/sc/source/ui/unoobj/defltuno.cxx
+++ b/sc/source/ui/unoobj/defltuno.cxx
@@ -38,7 +38,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
static const SfxItemPropertyMapEntry* lcl_GetDocDefaultsMap()
{
@@ -73,11 +73,11 @@ using sc::HMMToTwips;
using sc::TwipsToHMM;
using sc::TwipsToEvenHMM;
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScDocDefaultsObj, "ScDocDefaultsObj", "com.sun.star.sheet.Defaults" )
-//------------------------------------------------------------------------
+
ScDocDefaultsObj::ScDocDefaultsObj(ScDocShell* pDocSh) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/dispuno.cxx b/sc/source/ui/unoobj/dispuno.cxx
index 496a3d581f4e..7d2ba674cf1f 100644
--- a/sc/source/ui/unoobj/dispuno.cxx
+++ b/sc/source/ui/unoobj/dispuno.cxx
@@ -34,12 +34,12 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
static const char* cURLInsertColumns = ".uno:DataSourceBrowser/InsertColumns"; //data into text
static const char* cURLDocDataSource = ".uno:DataSourceBrowser/DocumentDataSource";
-//------------------------------------------------------------------------
+
static uno::Reference<view::XSelectionSupplier> lcl_GetSelectionSupplier( SfxViewShell* pViewShell )
{
@@ -54,7 +54,7 @@ static uno::Reference<view::XSelectionSupplier> lcl_GetSelectionSupplier( SfxVie
return uno::Reference<view::XSelectionSupplier>();
}
-//------------------------------------------------------------------------
+
ScDispatchProviderInterceptor::ScDispatchProviderInterceptor(ScTabViewShell* pViewSh) :
@@ -194,7 +194,7 @@ void SAL_CALL ScDispatchProviderInterceptor::disposing( const lang::EventObject&
m_xIntercepted = NULL;
}
-//------------------------------------------------------------------------
+
ScDispatch::ScDispatch(ScTabViewShell* pViewSh) :
pViewShell( pViewSh ),
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index dcdd27036ea0..b58b3e6f3c8b 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -192,7 +192,7 @@ static const SfxItemPropertyMapEntry* lcl_GetRowsPropertyMap()
using sc::HMMToTwips;
using sc::TwipsToHMM;
-//------------------------------------------------------------------------
+
#define SCMODELOBJ_SERVICE "com.sun.star.sheet.SpreadsheetDocument"
#define SCDOCSETTINGS_SERVICE "com.sun.star.sheet.SpreadsheetDocumentSettings"
@@ -206,7 +206,7 @@ SC_SIMPLE_SERVICE_INFO( ScTableColumnsObj, "ScTableColumnsObj", "com.sun.star.ta
SC_SIMPLE_SERVICE_INFO( ScTableRowsObj, "ScTableRowsObj", "com.sun.star.table.TableRows" )
SC_SIMPLE_SERVICE_INFO( ScTableSheetsObj, "ScTableSheetsObj", "com.sun.star.sheet.Spreadsheets" )
-//------------------------------------------------------------------------
+
class ScPrintUIOptions : public vcl::PrinterOptionsHelper
{
@@ -2384,7 +2384,7 @@ uno::Sequence< sheet::opencl::OpenCLPlatform > ScModelObj::getOpenCLPlatforms()
}
-//------------------------------------------------------------------------
+
ScDrawPagesObj::ScDrawPagesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2496,7 +2496,7 @@ sal_Bool SAL_CALL ScDrawPagesObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScTableSheetsObj::ScTableSheetsObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2903,7 +2903,7 @@ sal_Bool SAL_CALL ScTableSheetsObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
ScTableColumnsObj::ScTableColumnsObj(ScDocShell* pDocSh, SCTAB nT, SCCOL nSC, SCCOL nEC) :
pDocShell( pDocSh ),
@@ -3173,7 +3173,7 @@ uno::Any SAL_CALL ScTableColumnsObj::getPropertyValue( const OUString& aProperty
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScTableColumnsObj )
-//------------------------------------------------------------------------
+
ScTableRowsObj::ScTableRowsObj(ScDocShell* pDocSh, SCTAB nT, SCROW nSR, SCROW nER) :
pDocShell( pDocSh ),
@@ -3461,7 +3461,7 @@ uno::Any SAL_CALL ScTableRowsObj::getPropertyValue( const OUString& aPropertyNam
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScTableRowsObj )
-//------------------------------------------------------------------------
+
ScSpreadsheetSettingsObj::~ScSpreadsheetSettingsObj()
{
@@ -3508,7 +3508,7 @@ uno::Any SAL_CALL ScSpreadsheetSettingsObj::getPropertyValue( const OUString& /*
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScSpreadsheetSettingsObj )
-//------------------------------------------------------------------------
+
ScAnnotationsObj::ScAnnotationsObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
@@ -3640,7 +3640,7 @@ sal_Bool SAL_CALL ScAnnotationsObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScScenariosObj::ScScenariosObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/drdefuno.cxx b/sc/source/ui/unoobj/drdefuno.cxx
index 12de924bea6f..a6f5ed09359d 100644
--- a/sc/source/ui/unoobj/drdefuno.cxx
+++ b/sc/source/ui/unoobj/drdefuno.cxx
@@ -23,7 +23,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
ScDrawDefaultsObj::ScDrawDefaultsObj(ScDocShell* pDocSh) :
SvxUnoDrawPool( NULL ),
diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx
index a84b71788d74..de0f08766d09 100644
--- a/sc/source/ui/unoobj/editsrc.cxx
+++ b/sc/source/ui/unoobj/editsrc.cxx
@@ -66,7 +66,7 @@ void ScHeaderFooterEditSource::UpdateData()
mrTextData.UpdateData();
}
-//------------------------------------------------------------------------
+
ScCellEditSource::ScCellEditSource(ScDocShell* pDocSh, const ScAddress& rP) :
pCellTextData(new ScCellTextData(pDocSh, rP)) {}
@@ -106,7 +106,7 @@ ScEditEngineDefaulter* ScCellEditSource::GetEditEngine()
return pCellTextData->GetEditEngine();
}
-//------------------------------------------------------------------------
+
ScAnnotationEditSource::ScAnnotationEditSource(ScDocShell* pDocSh, const ScAddress& rP) :
pDocShell( pDocSh ),
@@ -216,7 +216,7 @@ void ScAnnotationEditSource::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
-//------------------------------------------------------------------------
+
ScSimpleEditSource::ScSimpleEditSource( SvxTextForwarder* pForw ) :
pForwarder( pForw )
@@ -245,7 +245,7 @@ void ScSimpleEditSource::UpdateData()
// nothing
}
-//------------------------------------------------------------------------
+
SAL_WNODEPRECATED_DECLARATIONS_PUSH
ScAccessibilityEditSource::ScAccessibilityEditSource( ::std::auto_ptr < ScAccessibleTextData > pAccessibleCellTextData )
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx
index 5d2b140eb850..665cef1d2b22 100644
--- a/sc/source/ui/unoobj/eventuno.cxx
+++ b/sc/source/ui/unoobj/eventuno.cxx
@@ -27,11 +27,11 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScSheetEventsObj, "ScSheetEventsObj", "com.sun.star.document.Events" )
-//------------------------------------------------------------------------
+
ScSheetEventsObj::ScSheetEventsObj(ScDocShell* pDocSh, SCTAB nT) :
mpDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index 125520ecac14..e227a5c6a969 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -149,7 +149,7 @@ sal_Int16 lcl_SvxToUnoFileFormat( SvxFileFormat nSvxValue )
SC_SIMPLE_SERVICE_INFO( ScCellFieldsObj, "ScCellFieldsObj", "com.sun.star.text.TextFields" )
SC_SIMPLE_SERVICE_INFO( ScHeaderFieldsObj, "ScHeaderFieldsObj", "com.sun.star.text.TextFields" )
-//------------------------------------------------------------------------
+
// ScUnoEditEngine nur um aus einer EditEngine die Felder herauszubekommen...
@@ -281,7 +281,7 @@ SvxFieldData* ScUnoEditEngine::FindByPos(sal_Int32 nPar, sal_Int32 nPos, sal_Int
return pFound;
}
-//------------------------------------------------------------------------
+
ScCellFieldsObj::ScCellFieldsObj(
const uno::Reference<text::XTextRange>& xContent,
diff --git a/sc/source/ui/unoobj/filtuno.cxx b/sc/source/ui/unoobj/filtuno.cxx
index ef9e51752615..e5e6a7deeb83 100644
--- a/sc/source/ui/unoobj/filtuno.cxx
+++ b/sc/source/ui/unoobj/filtuno.cxx
@@ -46,7 +46,7 @@ using namespace ::com::sun::star;
using namespace rtl;
using namespace com::sun::star::uno;
-//------------------------------------------------------------------------
+
#define SCFILTEROPTIONSOBJ_SERVICE "com.sun.star.ui.dialogs.FilterOptionsDialog"
#define SCFILTEROPTIONSOBJ_IMPLNAME "com.sun.star.comp.Calc.FilterOptionsDialog"
@@ -63,7 +63,7 @@ SC_SIMPLE_SERVICE_INFO( ScFilterOptionsObj, SCFILTEROPTIONSOBJ_IMPLNAME, SCFILTE
#define DBF_SEP_PATH_IMPORT "Office.Calc/Dialogs/DBFImport"
#define DBF_SEP_PATH_EXPORT "Office.Calc/Dialogs/DBFExport"
-//------------------------------------------------------------------------
+
static void load_CharSet( rtl_TextEncoding &nCharSet, bool bExport )
{
@@ -109,7 +109,7 @@ static void save_CharSet( rtl_TextEncoding nCharSet, bool bExport )
aItem.PutProperties(aNames, aValues);
}
-//------------------------------------------------------------------------
+
ScFilterOptionsObj::ScFilterOptionsObj() :
bExport( false )
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index 425a72fdf465..ac0c45785549 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -40,7 +40,7 @@
using namespace ::com::sun::star;
using namespace ::formula;
-//------------------------------------------------------------------------
+
// Map nur fuer PropertySetInfo
@@ -63,13 +63,13 @@ static const SfxItemPropertyMapEntry* lcl_GetValidatePropertyMap()
return aValidatePropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScTableConditionalEntry, "ScTableConditionalEntry", "com.sun.star.sheet.TableConditionalEntry" )
SC_SIMPLE_SERVICE_INFO( ScTableConditionalFormat, "ScTableConditionalFormat", "com.sun.star.sheet.TableConditionalFormat" )
SC_SIMPLE_SERVICE_INFO( ScTableValidationObj, "ScTableValidationObj", "com.sun.star.sheet.TableValidation" )
-//------------------------------------------------------------------------
+
static sal_Int32 lcl_ConditionModeToOperatorNew( ScConditionMode eMode )
{
@@ -138,7 +138,7 @@ static ScConditionMode lcl_ConditionOperatorToMode( sheet::ConditionOperator eOp
return eMode;
}
-//------------------------------------------------------------------------
+
ScCondFormatEntryItem::ScCondFormatEntryItem() :
meGrammar1( FormulaGrammar::GRAM_UNSPECIFIED ),
@@ -147,7 +147,7 @@ ScCondFormatEntryItem::ScCondFormatEntryItem() :
{
}
-//------------------------------------------------------------------------
+
ScTableConditionalFormat::ScTableConditionalFormat(
ScDocument* pDoc, sal_uLong nKey, SCTAB nTab, FormulaGrammar::Grammar eGrammar)
@@ -511,7 +511,7 @@ ScTableConditionalFormat* ScTableConditionalFormat::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScTableConditionalEntry::ScTableConditionalEntry(const ScCondFormatEntryItem& aItem) :
aData( aItem )
@@ -616,7 +616,7 @@ void SAL_CALL ScTableConditionalEntry::setStyleName( const OUString& aStyleName
aData.maStyle = ScStyleNameConversion::ProgrammaticToDisplayName( aStyleName, SFX_STYLE_FAMILY_PARA );
}
-//------------------------------------------------------------------------
+
ScTableValidationObj::ScTableValidationObj(ScDocument* pDoc, sal_uLong nKey,
const formula::FormulaGrammar::Grammar eGrammar) :
@@ -1041,7 +1041,7 @@ ScTableValidationObj* ScTableValidationObj::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/forbiuno.cxx b/sc/source/ui/unoobj/forbiuno.cxx
index 242816de80fc..031ccdf7f3b3 100644
--- a/sc/source/ui/unoobj/forbiuno.cxx
+++ b/sc/source/ui/unoobj/forbiuno.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
static rtl::Reference<SvxForbiddenCharactersTable> lcl_GetForbidden( ScDocShell* pDocSh )
{
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 5002b712d43b..db56e8196dda 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -48,7 +48,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// registered as implementation for service FunctionAccess,
// also supports service SpreadsheetDocumentSettings (to set null date etc.)
@@ -56,7 +56,7 @@ using namespace com::sun::star;
#define SCFUNCTIONACCESS_SERVICE "com.sun.star.sheet.FunctionAccess"
#define SCDOCSETTINGS_SERVICE "com.sun.star.sheet.SpreadsheetDocumentSettings"
-//------------------------------------------------------------------------
+
// helper to use cached document if not in use, temporary document otherwise
@@ -75,7 +75,7 @@ public:
ScDocument* GetDocument();
};
-//------------------------------------------------------------------------
+
ScDocument* ScTempDocSource::CreateDocument()
{
@@ -114,7 +114,7 @@ ScDocument* ScTempDocSource::GetDocument()
return rCache.GetDocument();
}
-//------------------------------------------------------------------------
+
ScTempDocCache::ScTempDocCache() :
pDoc( NULL ),
@@ -141,7 +141,7 @@ void ScTempDocCache::Clear()
pDoc = NULL;
}
-//------------------------------------------------------------------------
+
// copy results from one document into another
//! merge this with ScAreaLink::Refresh
@@ -183,7 +183,7 @@ static sal_Bool lcl_CopyData( ScDocument* pSrcDoc, const ScRange& rSrcRange,
return sal_True;
}
-//------------------------------------------------------------------------
+
ScFunctionAccess::ScFunctionAccess() :
pOptions( NULL ),
diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index 1eb1529ada05..02cd924ff3a3 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -49,7 +49,7 @@ using ::com::sun::star::lang::IllegalArgumentException;
using ::com::sun::star::uno::RuntimeException;
using ::std::vector;
-//------------------------------------------------------------------------
+
// fuer Sheet- und Area-Links benutzt:
static const SfxItemPropertyMapEntry* lcl_GetSheetLinkMap()
@@ -66,7 +66,7 @@ static const SfxItemPropertyMapEntry* lcl_GetSheetLinkMap()
return aSheetLinkMap_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScAreaLinkObj, "ScAreaLinkObj", "com.sun.star.sheet.CellAreaLink" )
SC_SIMPLE_SERVICE_INFO( ScAreaLinksObj, "ScAreaLinksObj", "com.sun.star.sheet.CellAreaLinks" )
@@ -75,7 +75,7 @@ SC_SIMPLE_SERVICE_INFO( ScDDELinksObj, "ScDDELinksObj", "com.sun.star.sheet.DDEL
SC_SIMPLE_SERVICE_INFO( ScSheetLinkObj, "ScSheetLinkObj", "com.sun.star.sheet.SheetLink" )
SC_SIMPLE_SERVICE_INFO( ScSheetLinksObj, "ScSheetLinksObj", "com.sun.star.sheet.SheetLinks" )
-//------------------------------------------------------------------------
+
ScSheetLinkObj::ScSheetLinkObj(ScDocShell* pDocSh, const OUString& rName) :
aPropSet( lcl_GetSheetLinkMap() ),
@@ -375,7 +375,7 @@ void ScSheetLinkObj::setRefreshDelay(sal_Int32 nRefreshDelay)
ModifyRefreshDelay_Impl( nRefreshDelay );
}
-//------------------------------------------------------------------------
+
ScSheetLinksObj::ScSheetLinksObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -581,7 +581,7 @@ uno::Sequence<OUString> SAL_CALL ScSheetLinksObj::getElementNames() throw(uno::R
return aSeq;
}
-//------------------------------------------------------------------------
+
static ScAreaLink* lcl_GetAreaLink( ScDocShell* pDocShell, size_t nPos )
{
@@ -921,7 +921,7 @@ void SAL_CALL ScAreaLinkObj::setDestArea( const table::CellRangeAddress& aDestAr
Modify_Impl( NULL, NULL, NULL, NULL, &aDestArea );
}
-//------------------------------------------------------------------------
+
ScAreaLinksObj::ScAreaLinksObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -1045,7 +1045,7 @@ sal_Bool SAL_CALL ScAreaLinksObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScDDELinkObj::ScDDELinkObj(ScDocShell* pDocSh, const OUString& rA,
const OUString& rT, const OUString& rI) :
@@ -1255,7 +1255,7 @@ void ScDDELinkObj::Refreshed_Impl()
aRefreshListeners[n]->refreshed( aEvent );
}
-//------------------------------------------------------------------------
+
ScDDELinksObj::ScDDELinksObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
diff --git a/sc/source/ui/unoobj/listenercalls.cxx b/sc/source/ui/unoobj/listenercalls.cxx
index 34dfdc7d108f..359307ad2139 100644
--- a/sc/source/ui/unoobj/listenercalls.cxx
+++ b/sc/source/ui/unoobj/listenercalls.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
ScUnoListenerCalls::ScUnoListenerCalls()
{
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx
index ae5cc965be49..37131a51da25 100644
--- a/sc/source/ui/unoobj/miscuno.cxx
+++ b/sc/source/ui/unoobj/miscuno.cxx
@@ -26,11 +26,11 @@ using namespace com::sun::star;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Any;
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScNameToIndexAccess, "ScNameToIndexAccess", "stardiv.unknown" )
-//------------------------------------------------------------------------
+
uno::Reference<uno::XInterface> ScUnoHelpFunctions::AnyToInterface( const uno::Any& rAny )
{
@@ -185,7 +185,7 @@ void ScUnoHelpFunctions::SetOptionalPropertyValue(
}
}
-//------------------------------------------------------------------------
+
ScIndexEnumeration::ScIndexEnumeration(const uno::Reference<container::XIndexAccess>& rInd,
const OUString& rServiceName) :
@@ -245,9 +245,9 @@ sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const OUString& ServiceNa
return aRet;
}
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
+
+
ScNameToIndexAccess::ScNameToIndexAccess( const com::sun::star::uno::Reference<
com::sun::star::container::XNameAccess>& rNameObj ) :
@@ -297,7 +297,7 @@ sal_Bool SAL_CALL ScNameToIndexAccess::hasElements( ) throw(::com::sun::star::u
return getCount() > 0;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx
index 0454aed72fb5..645f98b8b49f 100644
--- a/sc/source/ui/unoobj/nameuno.cxx
+++ b/sc/source/ui/unoobj/nameuno.cxx
@@ -46,7 +46,7 @@ using ::com::sun::star::uno::Any;
#include "scui_def.hxx"
-//------------------------------------------------------------------------
+
static const SfxItemPropertyMapEntry* lcl_GetNamedRangeMap()
{
@@ -71,7 +71,7 @@ static const SfxItemPropertyMapEntry* lcl_GetNamedRangesMap()
return aNamedRangesMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCNAMEDRANGEOBJ_SERVICE "com.sun.star.sheet.NamedRange"
@@ -468,7 +468,7 @@ const uno::Sequence<sal_Int8>& ScNamedRangeObj::getUnoTunnelId()
return theScNamedRangeObjUnoTunnelId::get().getSeq();
}
-//------------------------------------------------------------------------
+
ScNamedRangesObj::ScNamedRangesObj(ScDocShell* pDocSh) :
mbModifyAndBroadcast(true),
@@ -823,7 +823,7 @@ sal_Int16 ScNamedRangesObj::resetActionLocks() throw(uno::RuntimeException)
return nLockCount;
}
-//------------------------------------------------------------------------
+
ScGlobalNamedRangesObj::ScGlobalNamedRangesObj(ScDocShell* pDocSh)
: ScNamedRangesObj(pDocSh)
@@ -876,7 +876,7 @@ SCTAB ScGlobalNamedRangesObj::GetTab_Impl()
return -1;
}
-//------------------------------------------------------------------------
+
ScLocalNamedRangesObj::ScLocalNamedRangesObj( ScDocShell* pDocSh, uno::Reference<container::XNamed> xSheet )
: ScNamedRangesObj(pDocSh),
@@ -939,7 +939,7 @@ SCTAB ScLocalNamedRangesObj::GetTab_Impl()
return nTab;
}
-//------------------------------------------------------------------------
+
ScLabelRangeObj::ScLabelRangeObj(ScDocShell* pDocSh, bool bCol, const ScRange& rR) :
pDocShell( pDocSh ),
@@ -1060,7 +1060,7 @@ void SAL_CALL ScLabelRangeObj::setDataArea( const table::CellRangeAddress& aData
Modify_Impl( NULL, &aDataRange );
}
-//------------------------------------------------------------------------
+
ScLabelRangesObj::ScLabelRangesObj(ScDocShell* pDocSh, bool bCol) :
pDocShell( pDocSh ),
@@ -1224,7 +1224,7 @@ sal_Bool SAL_CALL ScLabelRangesObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/notesuno.cxx b/sc/source/ui/unoobj/notesuno.cxx
index 1ef66163a81c..6f2b6de75975 100644
--- a/sc/source/ui/unoobj/notesuno.cxx
+++ b/sc/source/ui/unoobj/notesuno.cxx
@@ -38,7 +38,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
static const SvxItemPropertySet* lcl_GetAnnotationPropertySet()
{
@@ -54,12 +54,12 @@ static const SvxItemPropertySet* lcl_GetAnnotationPropertySet()
return &aAnnotationPropertySet_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScAnnotationObj, "ScAnnotationObj", "com.sun.star.sheet.CellAnnotation" )
//SC_SIMPLE_SERVICE_INFO( ScAnnotationShapeObj, "ScAnnotationShapeObj", "com.sun.star.sheet.CellAnnotationShape" )
-//------------------------------------------------------------------------
+
ScAnnotationObj::ScAnnotationObj(ScDocShell* pDocSh, const ScAddress& rPos) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/optuno.cxx b/sc/source/ui/unoobj/optuno.cxx
index 68056df7d17d..5961baa70583 100644
--- a/sc/source/ui/unoobj/optuno.cxx
+++ b/sc/source/ui/unoobj/optuno.cxx
@@ -28,7 +28,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
const SfxItemPropertyMapEntry* ScDocOptionsHelper::GetPropertyMap()
{
static const SfxItemPropertyMapEntry aMap[] =
@@ -179,7 +179,7 @@ uno::Any ScDocOptionsHelper::getPropertyValue(
return aRet;
}
-//------------------------------------------------------------------------
+
ScDocOptionsObj::ScDocOptionsObj( const ScDocOptions& rOpt ) :
ScModelObj( NULL ),
diff --git a/sc/source/ui/unoobj/pageuno.cxx b/sc/source/ui/unoobj/pageuno.cxx
index 1b16b550646e..5c21fb42ec6e 100644
--- a/sc/source/ui/unoobj/pageuno.cxx
+++ b/sc/source/ui/unoobj/pageuno.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
ScPageObj::ScPageObj( SdrPage* pPage ) :
SvxFmDrawPage( pPage )
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx
index 9ca7b2f82e37..eca963eac7f3 100644
--- a/sc/source/ui/unoobj/servuno.cxx
+++ b/sc/source/ui/unoobj/servuno.cxx
@@ -245,7 +245,7 @@ public:
}
};
-//------------------------------------------------------------------------
+
//
struct ProvNamesId_Type
{
@@ -377,7 +377,7 @@ static const sal_Char* aOldNames[SC_SERVICE_COUNT] =
-//------------------------------------------------------------------------
+
// alles static
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index cf1de02f53d0..8da14f7914f2 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -48,7 +48,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
typedef std::map<OUString, uno::Sequence< sal_Int8 > *> ScShapeImplementationIdMap;
@@ -88,7 +88,7 @@ ScMacroInfo* ScShapeObj_getShapeHyperMacroInfo( ScShapeObj* pShape, sal_Bool bCr
return 0;
}
-//------------------------------------------------------------------------
+
namespace
{
@@ -99,7 +99,7 @@ namespace
}
}
-//------------------------------------------------------------------------
+
ScShapeObj::ScShapeObj( uno::Reference<drawing::XShape>& xShape ) :
pShapePropertySet(NULL),
diff --git a/sc/source/ui/unoobj/srchuno.cxx b/sc/source/ui/unoobj/srchuno.cxx
index d5e11823c7a7..efe360964627 100644
--- a/sc/source/ui/unoobj/srchuno.cxx
+++ b/sc/source/ui/unoobj/srchuno.cxx
@@ -34,7 +34,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
//! SearchWords sucht in ganzen Zellen - umbenennen ???
@@ -61,12 +61,12 @@ static const SfxItemPropertyMapEntry* lcl_GetSearchPropertyMap()
return aSearchPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCSEARCHDESCRIPTOR_SERVICE "com.sun.star.util.SearchDescriptor"
#define SCREPLACEDESCRIPTOR_SERVICE "com.sun.star.util.ReplaceDescriptor"
-//------------------------------------------------------------------------
+
ScCellSearchObj::ScCellSearchObj() :
aPropSet(lcl_GetSearchPropertyMap())
@@ -248,7 +248,7 @@ ScCellSearchObj* ScCellSearchObj::getImplementation(
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index c6404248073e..5d981ab43208 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -68,7 +68,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
static const SfxItemPropertySet* lcl_GetCellStyleSet()
{
@@ -368,7 +368,7 @@ static const SfxItemPropertyMap* lcl_GetFooterStyleMap()
}
-//------------------------------------------------------------------------
+
// Index-Access auf die Style-Typen: 0 = Cell, 1 = Page
@@ -379,12 +379,12 @@ static const SfxItemPropertyMap* lcl_GetFooterStyleMap()
static const sal_uInt16 aStyleFamilyTypes[SC_STYLE_FAMILY_COUNT] = { SFX_STYLE_FAMILY_PARA, SFX_STYLE_FAMILY_PAGE };
-//------------------------------------------------------------------------
+
using sc::HMMToTwips;
using sc::TwipsToHMM;
-//------------------------------------------------------------------------
+
#define SCSTYLE_SERVICE "com.sun.star.style.Style"
#define SCCELLSTYLE_SERVICE "com.sun.star.style.CellStyle"
@@ -393,11 +393,11 @@ using sc::TwipsToHMM;
SC_SIMPLE_SERVICE_INFO( ScStyleFamiliesObj, "ScStyleFamiliesObj", "com.sun.star.style.StyleFamilies" )
SC_SIMPLE_SERVICE_INFO( ScStyleFamilyObj, "ScStyleFamilyObj", "com.sun.star.style.StyleFamily" )
-//------------------------------------------------------------------------
+
#define SC_PAPERBIN_DEFAULTNAME "[From printer settings]"
-//------------------------------------------------------------------------
+
static bool lcl_AnyTabProtected( ScDocument& rDoc )
{
@@ -408,7 +408,7 @@ static bool lcl_AnyTabProtected( ScDocument& rDoc )
return false;
}
-//------------------------------------------------------------------------
+
ScStyleFamiliesObj::ScStyleFamiliesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -598,7 +598,7 @@ uno::Sequence<beans::PropertyValue> SAL_CALL ScStyleFamiliesObj::getStyleLoaderO
return aSequence;
}
-//------------------------------------------------------------------------
+
ScStyleFamilyObj::ScStyleFamilyObj(ScDocShell* pDocSh, SfxStyleFamily eFam) :
pDocShell( pDocSh ),
@@ -939,7 +939,7 @@ void SAL_CALL ScStyleFamilyObj::removeVetoableChangeListener( const OUString&, c
OSL_FAIL( "###unexpected!" );
}
-//------------------------------------------------------------------------
+
// Default-ctor wird fuer die Reflection gebraucht
@@ -2012,7 +2012,7 @@ uno::Sequence<OUString> SAL_CALL ScStyleObj::getSupportedServiceNames()
return aRet;
}
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/targuno.cxx b/sc/source/ui/unoobj/targuno.cxx
index 535a51f9ccb4..317672dd9127 100644
--- a/sc/source/ui/unoobj/targuno.cxx
+++ b/sc/source/ui/unoobj/targuno.cxx
@@ -39,7 +39,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
sal_uInt16 nTypeResIds[SC_LINKTARGETTYPE_COUNT] =
{
@@ -59,7 +59,7 @@ static const SfxItemPropertyMapEntry* lcl_GetLinkTargetMap()
return aLinkTargetMap_Impl;
}
-//------------------------------------------------------------------------
+
// service for ScLinkTargetTypeObj is not defined
// must not support document::LinkTarget because the target type cannot be used as a target
@@ -68,7 +68,7 @@ SC_SIMPLE_SERVICE_INFO( ScLinkTargetTypesObj, "ScLinkTargetTypesObj", "com.sun.s
SC_SIMPLE_SERVICE_INFO( ScLinkTargetTypeObj, "ScLinkTargetTypeObj", "com.sun.star.document.LinkTargetSupplier" )
SC_SIMPLE_SERVICE_INFO( ScLinkTargetsObj, "ScLinkTargetsObj", "com.sun.star.document.LinkTargets" )
-//------------------------------------------------------------------------
+
ScLinkTargetTypesObj::ScLinkTargetTypesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -137,7 +137,7 @@ sal_Bool SAL_CALL ScLinkTargetTypesObj::hasElements(void) throw( uno::RuntimeExc
return sal_True;
}
-//------------------------------------------------------------------------
+
ScLinkTargetTypeObj::ScLinkTargetTypeObj(ScDocShell* pDocSh, sal_uInt16 nT) :
pDocShell( pDocSh ),
@@ -249,7 +249,7 @@ uno::Any SAL_CALL ScLinkTargetTypeObj::getPropertyValue(const OUString& Property
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScLinkTargetTypeObj )
-//------------------------------------------------------------------------
+
ScLinkTargetsObj::ScLinkTargetsObj( const uno::Reference< container::XNameAccess > & rColl ) :
xCollection( rColl )
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx
index 3ea1258d396f..380809a2898d 100644
--- a/sc/source/ui/unoobj/textuno.cxx
+++ b/sc/source/ui/unoobj/textuno.cxx
@@ -49,7 +49,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
static const SvxItemPropertySet * lcl_GetHdFtPropertySet()
{
@@ -87,12 +87,12 @@ static const SvxItemPropertySet * lcl_GetHdFtPropertySet()
return &aHdFtPropertySet_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScHeaderFooterContentObj, "ScHeaderFooterContentObj", "com.sun.star.sheet.HeaderFooterContent" )
SC_SIMPLE_SERVICE_INFO( ScHeaderFooterTextObj, "ScHeaderFooterTextObj", "stardiv.one.Text.Text" )
-//------------------------------------------------------------------------
+
ScHeaderFooterContentObj::ScHeaderFooterContentObj( const EditTextObject* pLeft,
const EditTextObject* pCenter,
@@ -181,7 +181,7 @@ ScHeaderFooterContentObj* ScHeaderFooterContentObj::getImplementation(
}
-//------------------------------------------------------------------------
+
ScHeaderFooterTextData::ScHeaderFooterTextData(
ScHeaderFooterContentObj& rContent, sal_uInt16 nP, const EditTextObject* pTextObj) :
@@ -266,7 +266,7 @@ const EditTextObject* ScHeaderFooterTextData::GetTextObject() const
return mpTextObj;
}
-//------------------------------------------------------------------------
+
ScHeaderFooterTextObj::ScHeaderFooterTextObj(
ScHeaderFooterContentObj& rContent, sal_uInt16 nP, const EditTextObject* pTextObj) :
@@ -578,7 +578,7 @@ sal_Bool SAL_CALL ScHeaderFooterTextObj::hasElements() throw(uno::RuntimeExcepti
return mxUnoText->hasElements();
}
-//------------------------------------------------------------------------
+
ScCellTextCursor::ScCellTextCursor(const ScCellTextCursor& rOther) :
SvxUnoTextCursor( rOther ),
@@ -674,7 +674,7 @@ ScCellTextCursor* ScCellTextCursor::getImplementation( const uno::Reference<uno:
return pRet;
}
-//------------------------------------------------------------------------
+
ScHeaderFooterTextCursor::ScHeaderFooterTextCursor(const ScHeaderFooterTextCursor& rOther) :
SvxUnoTextCursor( rOther ),
@@ -771,7 +771,7 @@ ScHeaderFooterTextCursor* ScHeaderFooterTextCursor::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScDrawTextCursor::ScDrawTextCursor(const ScDrawTextCursor& rOther) :
SvxUnoTextCursor( rOther ),
@@ -866,7 +866,7 @@ ScDrawTextCursor* ScDrawTextCursor::getImplementation( const uno::Reference<uno:
return pRet;
}
-//------------------------------------------------------------------------
+
ScSimpleEditSourceHelper::ScSimpleEditSourceHelper()
{
@@ -911,7 +911,7 @@ EditTextObject* ScEditEngineTextObj::CreateTextObject()
return GetEditEngine()->CreateTextObject();
}
-//------------------------------------------------------------------------
+
ScCellTextData::ScCellTextData(ScDocShell* pDocSh, const ScAddress& rP) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/unoreflist.cxx b/sc/source/ui/unoobj/unoreflist.cxx
index 139fb4e57fc8..aa78b4124473 100644
--- a/sc/source/ui/unoobj/unoreflist.cxx
+++ b/sc/source/ui/unoobj/unoreflist.cxx
@@ -20,7 +20,7 @@
#include "unoreflist.hxx"
#include "document.hxx"
-//------------------------------------------------------------------------
+
ScUnoRefList::ScUnoRefList()
{
@@ -46,7 +46,7 @@ void ScUnoRefList::Undo( ScDocument* pDoc )
}
}
-//------------------------------------------------------------------------
+
TYPEINIT1(ScUnoRefUndoHint, SfxHint);
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index f54eba652565..86f4dd6ce43c 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -74,7 +74,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
//! Clipping-Markierungen
@@ -117,14 +117,14 @@ static const SfxItemPropertyMapEntry* lcl_GetViewOptPropertyMap()
return aViewOptPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCTABVIEWOBJ_SERVICE "com.sun.star.sheet.SpreadsheetView"
#define SCVIEWSETTINGS_SERVICE "com.sun.star.sheet.SpreadsheetViewSettings"
SC_SIMPLE_SERVICE_INFO( ScViewPaneBase, "ScViewPaneObj", "com.sun.star.sheet.SpreadsheetViewPane" )
-//------------------------------------------------------------------------
+
ScViewPaneBase::ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP) :
pViewShell( pViewSh ),
@@ -424,7 +424,7 @@ awt::Rectangle ScViewPaneBase::GetVisArea() const
return aVisArea;
}
-//------------------------------------------------------------------------
+
ScViewPaneObj::ScViewPaneObj(ScTabViewShell* pViewSh, sal_uInt16 nP) :
ScViewPaneBase( pViewSh, nP )
@@ -456,7 +456,7 @@ void SAL_CALL ScViewPaneObj::release() throw()
OWeakObject::release();
}
-//------------------------------------------------------------------------
+
// Default-ctor wird fuer SMART_REFLECTION_IMPLEMENTATION gebraucht
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index 868f48633c7e..a8fc770bcb6b 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -937,7 +937,7 @@ ScVbaApplication::getPathSeparator() throw (uno::RuntimeException)
return OUString( (sal_Unicode) SAL_PATHDELIMITER );
}
-// ----------------------------------------------------------------------------
+
// Helpers for Intersect and Union
namespace {
@@ -1113,7 +1113,7 @@ uno::Reference< excel::XRange > lclCreateVbaRange(
} // namespace
-// ----------------------------------------------------------------------------
+
uno::Reference< excel::XRange > SAL_CALL ScVbaApplication::Intersect(
const uno::Reference< excel::XRange >& rArg1, const uno::Reference< excel::XRange >& rArg2,
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx
index f22a6c029d9f..7f3cc718a85a 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -180,7 +180,7 @@ private:
bool mbDisposed;
};
-// ----------------------------------------------------------------------------
+
ScVbaEventListener::ScVbaEventListener( ScVbaEventsHelper& rVbaEvents, const uno::Reference< frame::XModel >& rxModel, ScDocShell* pDocShell ) :
mrVbaEvents( rVbaEvents ),
diff --git a/sc/source/ui/vba/vbahyperlinks.cxx b/sc/source/ui/vba/vbahyperlinks.cxx
index 52f27ffce710..b9423a611c90 100644
--- a/sc/source/ui/vba/vbahyperlinks.cxx
+++ b/sc/source/ui/vba/vbahyperlinks.cxx
@@ -45,7 +45,7 @@ bool lclContains( const ScRangeList& rScOuter, const uno::Reference< excel::XRan
return true;
}
-// ----------------------------------------------------------------------------
+
/** Functor to decide whether the anchors of two Hyperlink objects are equal. */
struct EqualAnchorFunctor
@@ -130,7 +130,7 @@ private:
HyperlinkVector maHlinks;
};
-// ----------------------------------------------------------------------------
+
ScVbaHlinkContainer::ScVbaHlinkContainer() throw (uno::RuntimeException)
{
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 0decef12d3dc..57259716ef22 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1275,7 +1275,7 @@ getRangeForName( const uno::Reference< uno::XComponentContext >& xContext, const
return new ScVbaRange( xFixThisParent, xContext, xRanges );
}
-// ----------------------------------------------------------------------------
+
namespace {
@@ -1381,7 +1381,7 @@ util::TriState lclGetMergedState( const uno::Reference< table::XCellRange >& rxC
} // namespace
-// ----------------------------------------------------------------------------
+
css::uno::Reference< excel::XRange >
ScVbaRange::getRangeObjectForName(
diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx
index c2244873e84b..24be47bb2fa7 100644
--- a/sc/source/ui/vba/vbasheetobjects.cxx
+++ b/sc/source/ui/vba/vbasheetobjects.cxx
@@ -134,7 +134,7 @@ private:
ShapeVector maShapes;
};
-// ----------------------------------------------------------------------------
+
ScVbaObjectContainer::ScVbaObjectContainer(
const uno::Reference< XHelperInterface >& rxParent,
@@ -251,7 +251,7 @@ private:
ScVbaObjectContainerRef mxContainer;
};
-// ----------------------------------------------------------------------------
+
ScVbaObjectEnumeration::ScVbaObjectEnumeration( const ScVbaObjectContainerRef& rxContainer ) :
SimpleEnumerationBase( rxContainer->getParent(), rxContainer->getContext(), rxContainer.get() ),
@@ -371,7 +371,7 @@ protected:
sal_Int16 mnComponentType;
};
-// ----------------------------------------------------------------------------
+
ScVbaControlContainer::ScVbaControlContainer(
const uno::Reference< XHelperInterface >& rxParent,
@@ -473,7 +473,7 @@ protected:
virtual bool implCheckProperties( const uno::Reference< beans::XPropertySet >& rxModelProps ) const;
};
-// ----------------------------------------------------------------------------
+
ScVbaButtonContainer::ScVbaButtonContainer(
const uno::Reference< XHelperInterface >& rxParent,
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx
index 9a4bbc3cc9a1..193bdfed4b41 100644
--- a/sc/source/ui/view/auditsh.cxx
+++ b/sc/source/ui/view/auditsh.cxx
@@ -31,12 +31,12 @@
#include "sc.hrc"
#include "document.hxx"
-//------------------------------------------------------------------------
+
#define ScAuditingShell
#include "scslots.hxx"
-//------------------------------------------------------------------------
+
TYPEINIT1( ScAuditingShell, SfxShell );
@@ -46,7 +46,7 @@ SFX_IMPL_INTERFACE(ScAuditingShell, SfxShell, ScResId(SCSTR_AUDITSHELL))
}
-//------------------------------------------------------------------------
+
ScAuditingShell::ScAuditingShell(ScViewData* pData) :
SfxShell(pData->GetViewShell()),
@@ -65,13 +65,13 @@ ScAuditingShell::ScAuditingShell(ScViewData* pData) :
SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_Auditing));
}
-//------------------------------------------------------------------------
+
ScAuditingShell::~ScAuditingShell()
{
}
-//------------------------------------------------------------------------
+
void ScAuditingShell::Execute( SfxRequest& rReq )
{
@@ -132,7 +132,7 @@ void ScAuditingShell::Execute( SfxRequest& rReq )
}
}
-//------------------------------------------------------------------------
+
void ScAuditingShell::GetState( SfxItemSet& rSet )
{
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 6b5dfe57a3be..dfea35039125 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -57,7 +57,7 @@
#include "clipparam.hxx"
#include "markdata.hxx"
-//------------------------------------------------------------------
+
#define ScCellShell
#define CellMovement
@@ -102,7 +102,7 @@ ScCellShell::~ScCellShell()
delete pImpl;
}
-//------------------------------------------------------------------
+
void ScCellShell::GetBlockState( SfxItemSet& rSet )
{
@@ -1046,7 +1046,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
} // while ( nWitch )
}
-//------------------------------------------------------------------
+
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index e4cc9bc8c8ff..780c08e69f0d 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -94,7 +94,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::uno;
-//------------------------------------------------------------------
+
void ScCellShell::ExecuteEdit( SfxRequest& rReq )
{
ScModule* pScMod = SC_MOD();
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index 0553dde76833..5ee73670f36b 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -54,7 +54,7 @@ using sc::HMMToTwips;
using sc::TwipsToHMM;
using sc::TwipsToEvenHMM;
-//------------------------------------------------------------------
+
void ScCellShell::Execute( SfxRequest& rReq )
{
@@ -322,9 +322,9 @@ void ScCellShell::Execute( SfxRequest& rReq )
{
if ( pReqArgs != NULL )
{
- //----------------------------------
+
// set cell attribute without dialog:
- //----------------------------------
+
SfxItemSet* pEmptySet =
new SfxItemSet( *pReqArgs->GetPool(),
ATTR_PATTERN_START,
@@ -523,7 +523,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
}
break;
- //----------------------------------------------------------------
+
case FID_ROW_HEIGHT:
{
@@ -714,7 +714,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
rReq.Done();
break;
- //----------------------------------------------------------------
+
case SID_CELL_FORMAT_RESET:
diff --git a/sc/source/ui/view/dbfunc4.cxx b/sc/source/ui/view/dbfunc4.cxx
index 7142f812cdda..ec6bd68e6f6f 100644
--- a/sc/source/ui/view/dbfunc4.cxx
+++ b/sc/source/ui/view/dbfunc4.cxx
@@ -25,7 +25,7 @@
#include "drwlayer.hxx"
#include "document.hxx"
-// -----------------------------------------------------------------------
+
using namespace com::sun::star;
diff --git a/sc/source/ui/view/drawattr.cxx b/sc/source/ui/view/drawattr.cxx
index 296f9b7bdf2f..8e630933731e 100644
--- a/sc/source/ui/view/drawattr.cxx
+++ b/sc/source/ui/view/drawattr.cxx
@@ -20,14 +20,14 @@
#include "drawattr.hxx"
#include "global.hxx"
-//------------------------------------------------------------------------
+
OUString SvxDrawToolItem::GetValueText() const
{
return GetValueText(GetValue());
}
-//------------------------------------------------------------------------
+
OUString SvxDrawToolItem::GetValueText( sal_uInt16 nVal ) const
{
@@ -50,14 +50,14 @@ OUString SvxDrawToolItem::GetValueText( sal_uInt16 nVal ) const
return OUString::createFromAscii( p );
}
-//------------------------------------------------------------------------
+
SfxPoolItem* SvxDrawToolItem::Clone( SfxItemPool * ) const
{
return new SvxDrawToolItem(*this);
}
-//------------------------------------------------------------------------
+
SfxPoolItem* SvxDrawToolItem::Create( SvStream& rStream, sal_uInt16 nVer ) const
{
diff --git a/sc/source/ui/view/drawvie2.cxx b/sc/source/ui/view/drawvie2.cxx
index 2a0291ffb9df..dec25bc19cfe 100644
--- a/sc/source/ui/view/drawvie2.cxx
+++ b/sc/source/ui/view/drawvie2.cxx
@@ -21,7 +21,7 @@
// STATIC DATA -----------------------------------------------------------
-// -----------------------------------------------------------------------
+
// UpdateBrowser in MarkListHasChanged gerufen
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx
index 94ccd3e33e80..3973d09622fc 100644
--- a/sc/source/ui/view/drawvie4.cxx
+++ b/sc/source/ui/view/drawvie4.cxx
@@ -54,7 +54,7 @@ using namespace com::sun::star;
Point aDragStartDiff;
-// -----------------------------------------------------------------------
+
void ScDrawView::CheckOle( const SdrMarkList& rMarkList, bool& rAnyOle, bool& rOneOle )
{
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 89d227e6dfd1..92c3c4a5cc67 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -58,11 +58,11 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
#define SC_HANDLESIZE_BIG 9
-// -----------------------------------------------------------------------
+
void ScDrawView::Construct()
{
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 22293589bccf..243c3498b07c 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -150,7 +150,7 @@ ScFormatShell::~ScFormatShell()
{
}
-//------------------------------------------------------------------
+
void ScFormatShell::GetStyleState( SfxItemSet& rSet )
{
@@ -246,7 +246,7 @@ void ScFormatShell::GetStyleState( SfxItemSet& rSet )
}
}
-//------------------------------------------------------------------
+
void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
{
@@ -257,7 +257,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
return;
}
- //--------------------------------------------------------------------
+
SfxBindings& rBindings = pViewData->GetBindings();
const SfxItemSet* pArgs = rReq.GetArgs();
const sal_uInt16 nSlotId = rReq.GetSlot();
@@ -1252,7 +1252,7 @@ void ScFormatShell::ExecuteNumFormat( SfxRequest& rReq )
}
-//------------------------------------------------------------------
+
void ScFormatShell::ExecuteAlignment( SfxRequest& rReq )
{
@@ -1604,7 +1604,7 @@ void ScFormatShell::ExecuteTextAttr( SfxRequest& rReq )
}
-//------------------------------------------------------------------
+
void ScFormatShell::ExecuteAttr( SfxRequest& rReq )
{
@@ -2149,7 +2149,7 @@ void ScFormatShell::GetAttrState( SfxItemSet& rSet )
Invalidate(SID_ATTR_ALIGN_STACKED);
}
-//------------------------------------------------------------------
+
void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
{
@@ -2173,11 +2173,11 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
SfxItemState eState;
// const SfxPoolItem* pItem;
- //--------------------------------------------------------------------
+
// eigene Kontrolle ueber RadioButton-Funktionalitaet:
- //--------------------------------------------------------------------
+
// Unterstreichung
- //------------------------
+
eState = rAttrSet.GetItemState( ATTR_FONT_UNDERLINE, true );
if ( eState == SFX_ITEM_DONTCARE )
@@ -2203,9 +2203,9 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
rSet.Put( SfxBoolItem( nId, true ) );
}
- //------------------------
+
// horizontale Ausrichtung
- //------------------------
+
const SvxHorJustifyItem* pHorJustify = NULL;
const SvxVerJustifyItem* pVerJustify = NULL;
@@ -2276,9 +2276,9 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
bJustifyStd = false;
}
- //------------------------
+
// vertikale Ausrichtung
- //------------------------
+
nWhich = 0;
aBoolItem.SetValue( true );
@@ -2340,7 +2340,7 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
}
-//------------------------------------------------------------------
+
void ScFormatShell::GetBorderState( SfxItemSet& rSet )
{
@@ -2356,7 +2356,7 @@ void ScFormatShell::GetBorderState( SfxItemSet& rSet )
rSet.Put( aInfoItem );
}
-//------------------------------------------------------------------
+
void ScFormatShell::GetAlignState( SfxItemSet& rSet )
{
diff --git a/sc/source/ui/view/gridmerg.cxx b/sc/source/ui/view/gridmerg.cxx
index 71244d20f04c..20d85945bc8d 100644
--- a/sc/source/ui/view/gridmerg.cxx
+++ b/sc/source/ui/view/gridmerg.cxx
@@ -21,7 +21,7 @@
#include "gridmerg.hxx"
-//------------------------------------------------------------------
+
ScGridMerger::ScGridMerger( OutputDevice* pOutDev, long nOnePixelX, long nOnePixelY ) :
pDev( pOutDev ),
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 3449885204ca..4ff4264c3ab9 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -237,7 +237,7 @@ public:
bool HasDates() const { return mbListHasDates; }
};
-//-------------------------------------------------------------------
+
// ListBox in einem FloatingWindow (pParent)
ScFilterListBox::ScFilterListBox( Window* pParent, ScGridWindow* pGrid,
@@ -280,7 +280,7 @@ void ScFilterListBox::LoseFocus()
#endif
}
-// -----------------------------------------------------------------------
+
bool ScFilterListBox::PreNotify( NotifyEvent& rNEvt )
{
@@ -433,7 +433,7 @@ static bool lcl_GetHyperlinkCell(
return bFound;
}
-// ---------------------------------------------------------------------------
+
// WB_DIALOGCONTROL noetig fuer UNO-Controls
ScGridWindow::ScGridWindow( Window* pParent, ScViewData* pData, ScSplitPos eWhichPos )
: Window( pParent, WB_CLIPCHILDREN | WB_DIALOGCONTROL ),
@@ -3409,7 +3409,7 @@ void ScGridWindow::UpdateInputContext()
SetInputContext( aContext );
}
-//--------------------------------------------------------
+
// sensitiver Bereich (Pixel)
#define SCROLL_SENSITIVE 20
@@ -3498,12 +3498,12 @@ static ScRange lcl_MakeDropRange( SCCOL nPosX, SCROW nPosY, SCTAB nTab, const Sc
return ScRange( nCol1, nRow1, nTab, nCol2, nRow2, nTab );
}
-//--------------------------------------------------------
+
extern bool bPasteIsDrop; // viewfun4 -> move to header
extern bool bPasteIsMove; // viewfun7 -> move to header
-//--------------------------------------------------------
+
sal_Int8 ScGridWindow::AcceptPrivateDrop( const AcceptDropEvent& rEvt )
{
@@ -4477,7 +4477,7 @@ sal_Int8 ScGridWindow::ExecuteDrop( const ExecuteDropEvent& rEvt )
return nRet;
}
-//--------------------------------------------------------
+
void ScGridWindow::PasteSelection( const Point& rPosPixel )
{
@@ -4550,7 +4550,7 @@ void ScGridWindow::PasteSelection( const Point& rPosPixel )
}
}
-//--------------------------------------------------------
+
void ScGridWindow::UpdateEditViewPos()
{
@@ -4771,7 +4771,7 @@ void ScGridWindow::LoseFocus()
Point ScGridWindow::GetMousePosPixel() const { return aCurMousePos; }
-//------------------------------------------------------------------------
+
bool ScGridWindow::HitRangeFinder( const Point& rMouse, RfCorner& rCorner,
sal_uInt16* pIndex, SCsCOL* pAddX, SCsROW* pAddY)
@@ -5154,7 +5154,7 @@ void ScGridWindow::RFMouseMove( const MouseEvent& rMEvt, bool bUp )
pViewData->GetView()->ResetTimer();
}
-//------------------------------------------------------------------------
+
bool ScGridWindow::GetEditUrl( const Point& rPos,
OUString* pName, OUString* pUrl, OUString* pTarget )
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index 3bdbdce67af8..359cf3ae376d 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -57,7 +57,7 @@ using ::boost::unordered_map;
// STATIC DATA -----------------------------------------------------------
-// -----------------------------------------------------------------------
+
DataPilotFieldOrientation ScGridWindow::GetDPFieldOrientation( SCCOL nCol, SCROW nRow ) const
{
@@ -240,7 +240,7 @@ void ScGridWindow::DoPushPivotButton( SCCOL nCol, SCROW nRow, const MouseEvent&
}
}
-// -----------------------------------------------------------------------
+
//
// Data Pilot interaction
//
@@ -627,7 +627,7 @@ void ScGridWindow::DPMouseButtonUp( const MouseEvent& rMEvt )
SetPointer( Pointer( POINTER_ARROW ) );
}
-// -----------------------------------------------------------------------
+
void ScGridWindow::UpdateDragRect( bool bShowRange, const Rectangle& rPosRect )
{
@@ -656,7 +656,7 @@ void ScGridWindow::UpdateDragRect( bool bShowRange, const Rectangle& rPosRect )
UpdateDragRectOverlay();
}
-// -----------------------------------------------------------------------
+
// Page-Break-Modus
diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx
index b9a400dce490..8a646ff8e0c7 100644
--- a/sc/source/ui/view/gridwin3.cxx
+++ b/sc/source/ui/view/gridwin3.cxx
@@ -43,7 +43,7 @@
#include "userdat.hxx"
#include "unitconv.hxx"
#include <svx/svdpage.hxx>
-// -----------------------------------------------------------------------
+
bool ScGridWindow::DrawMouseButtonDown(const MouseEvent& rMEvt)
{
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 42ddaf6544ba..5a0d7854822a 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -65,7 +65,7 @@
// #i74769#
#include <svx/sdrpaintwindow.hxx>
-//------------------------------------------------------------------------
+
static void lcl_LimitRect( Rectangle& rRect, const Rectangle& rVisible )
{
@@ -252,7 +252,7 @@ static void lcl_DrawScenarioFrames( OutputDevice* pDev, ScViewData* pViewData, S
}
}
-//------------------------------------------------------------------------
+
static void lcl_DrawHighlight( ScOutputData& rOutputData, ScViewData* pViewData,
const std::vector<ScHighlightEntry>& rHighlightRanges )
@@ -272,7 +272,7 @@ static void lcl_DrawHighlight( ScOutputData& rOutputData, ScViewData* pViewData,
}
}
-//------------------------------------------------------------------------
+
void ScGridWindow::DoInvertRect( const Rectangle& rPixel )
{
@@ -288,7 +288,7 @@ void ScGridWindow::DoInvertRect( const Rectangle& rPixel )
UpdateHeaderOverlay(); // uses aInvertRect
}
-//------------------------------------------------------------------------
+
void ScGridWindow::PrePaint()
{
@@ -306,7 +306,7 @@ void ScGridWindow::PrePaint()
}
}
-//------------------------------------------------------------------------
+
void ScGridWindow::Paint( const Rectangle& rRect )
{
@@ -480,7 +480,7 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod
nPPTX, nPPTY, false, bFormulaMode,
&pViewData->GetMarkData() );
- //--------------------------------------------------------------------
+
Fraction aZoomX = pViewData->GetZoomX();
Fraction aZoomY = pViewData->GetZoomY();
@@ -1525,7 +1525,7 @@ void ScGridWindow::GetSelectionRects( ::std::vector< Rectangle >& rPixelRects )
}
}
-// -------------------------------------------------------------------------
+
void ScGridWindow::DataChanged( const DataChangedEvent& rDCEvt )
{
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index f039502a6c30..ca2c578f144e 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -53,7 +53,7 @@
#include "postit.hxx"
#include "global.hxx"
#include "globstr.hrc"
-// -----------------------------------------------------------------------
+
bool ScGridWindow::ShowNoteMarker( SCsCOL nPosX, SCsROW nPosY, bool bKeyboard )
{
@@ -240,7 +240,7 @@ bool ScGridWindow::ShowNoteMarker( SCsCOL nPosX, SCsROW nPosY, bool bKeyboard )
return bDone;
}
-// -----------------------------------------------------------------------
+
void ScGridWindow::RequestHelp(const HelpEvent& rHEvt)
{
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx
index 9ce482b73659..16039fb5b57a 100644
--- a/sc/source/ui/view/hdrcont.cxx
+++ b/sc/source/ui/view/hdrcont.cxx
@@ -934,9 +934,9 @@ void ScHeaderControl::RequestHelp( const HelpEvent& rHEvt )
Window::RequestHelp(rHEvt);
}
-// -----------------------------------------------------------------------
+
// Dummys fuer virtuelle Methoden
-// -----------------------------------------------------------------------
+
SCCOLROW ScHeaderControl::GetHiddenCount( SCCOLROW nEntryNo ) const
{
diff --git a/sc/source/ui/view/invmerge.cxx b/sc/source/ui/view/invmerge.cxx
index acd397707abd..ec0a02fb5f0d 100644
--- a/sc/source/ui/view/invmerge.cxx
+++ b/sc/source/ui/view/invmerge.cxx
@@ -21,7 +21,7 @@
#include "invmerge.hxx"
-//------------------------------------------------------------------
+
ScInvertMerger::ScInvertMerger( ::std::vector< Rectangle >* pRectangles ) :
pRects( pRectangles )
diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx
index 624df51021de..20c503a19b18 100644
--- a/sc/source/ui/view/notemark.cxx
+++ b/sc/source/ui/view/notemark.cxx
@@ -35,7 +35,7 @@
#define SC_NOTEMARK_TIME 800
#define SC_NOTEMARK_SHORT 70
-// -----------------------------------------------------------------------
+
ScNoteMarker::ScNoteMarker( Window* pWin, Window* pRight, Window* pBottom, Window* pDiagonal,
ScDocument* pD, ScAddress aPos, const OUString& rUser,
diff --git a/sc/source/ui/view/olkact.cxx b/sc/source/ui/view/olkact.cxx
index 4417e9467e42..b79e5b7129ee 100644
--- a/sc/source/ui/view/olkact.cxx
+++ b/sc/source/ui/view/olkact.cxx
@@ -28,7 +28,7 @@
// STATIC DATA -----------------------------------------------------------
-// -----------------------------------------------------------------------
+
void ActivateOlk( ScViewData* /* pViewData */ )
{
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 1a934bbab2c5..fa9bffc26ae8 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -81,7 +81,7 @@ const sal_uInt16 SC_SHRINKAGAIN_MAX = 7;
// STATIC DATA -----------------------------------------------------------
-// -----------------------------------------------------------------------
+
class ScDrawStringsVars
{
diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx
index c0e81d3113dd..2b70ae011759 100644
--- a/sc/source/ui/view/pfuncache.cxx
+++ b/sc/source/ui/view/pfuncache.cxx
@@ -25,7 +25,7 @@
#include "markdata.hxx"
#include "prevloc.hxx"
-//------------------------------------------------------------------------
+
ScPrintFuncCache::ScPrintFuncCache( ScDocShell* pD, const ScMarkData& rMark,
const ScPrintSelectionStatus& rStatus ) :
diff --git a/sc/source/ui/view/pgbrksh.cxx b/sc/source/ui/view/pgbrksh.cxx
index e5b2c33f6e25..79c0759e0bad 100644
--- a/sc/source/ui/view/pgbrksh.cxx
+++ b/sc/source/ui/view/pgbrksh.cxx
@@ -31,12 +31,12 @@
#include "document.hxx"
#include "sc.hrc"
-//------------------------------------------------------------------------
+
#define ScPageBreakShell
#include "scslots.hxx"
-//------------------------------------------------------------------------
+
TYPEINIT1( ScPageBreakShell, SfxShell );
@@ -46,7 +46,7 @@ SFX_IMPL_INTERFACE(ScPageBreakShell, SfxShell, ScResId(SCSTR_PAGEBREAKSHELL))
}
-//------------------------------------------------------------------------
+
ScPageBreakShell::ScPageBreakShell( ScTabViewShell* pViewSh ) :
SfxShell(pViewSh)
{
@@ -62,7 +62,7 @@ ScPageBreakShell::ScPageBreakShell( ScTabViewShell* pViewSh ) :
SetName(OUString("PageBreak"));
}
-//------------------------------------------------------------------------
+
ScPageBreakShell::~ScPageBreakShell()
{
}
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 798b7b1c6450..0d08c9f6e817 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -74,7 +74,7 @@
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
#define ScPreviewShell
#include "scslots.hxx"
@@ -94,7 +94,7 @@ SFX_IMPL_NAMED_VIEWFACTORY( ScPreviewShell, "PrintPreview" )
SFX_VIEW_REGISTRATION(ScDocShell);
}
-//------------------------------------------------------------------
+
void ScPreviewShell::Construct( Window* pParent )
{
@@ -205,7 +205,7 @@ void ScPreviewShell::InitStartTable(SCTAB nTab)
pPreview->SetPageNo( pPreview->GetFirstPage(nTab) );
}
-//------------------------------------------------------------------
+
OUString ScPreviewShell::GetDescription() const
{
@@ -568,7 +568,7 @@ void ScPreviewShell::Deactivate(sal_Bool bMDI)
}
}
-//------------------------------------------------------------------------
+
void ScPreviewShell::Execute( SfxRequest& rReq )
{
diff --git a/sc/source/ui/view/prevwsh2.cxx b/sc/source/ui/view/prevwsh2.cxx
index b63fe5368d5c..f223eeb3061c 100644
--- a/sc/source/ui/view/prevwsh2.cxx
+++ b/sc/source/ui/view/prevwsh2.cxx
@@ -28,7 +28,7 @@
// STATIC DATA -----------------------------------------------------------
-// -----------------------------------------------------------------------
+
void ScPreviewShell::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index b32cb95b7628..fe44102e1cb5 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -79,7 +79,7 @@
#define GET_USHORT(set,which) ((const SfxUInt16Item&)(set)->Get((which))).GetValue()
#define GET_SHOW(set,which) ( VOBJ_MODE_SHOW == ScVObjMode( ((const ScViewObjectModeItem&)(set)->Get((which))).GetValue()) )
-//------------------------------------------------------------------------
+
ScPageRowEntry::ScPageRowEntry(const ScPageRowEntry& r)
{
@@ -161,7 +161,7 @@ size_t ScPageRowEntry::CountVisible() const
return nPagesX;
}
-//------------------------------------------------------------------------
+
static long lcl_LineTotal(const ::editeng::SvxBorderLine* pLine)
{
@@ -846,9 +846,9 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions )
}
lcl_FillHFParam( aFtr, pFooterSet );
- //------------------------------------------------------
+
// Compile Table-/Area-Params from single Items
- //------------------------------------------------------
+
// TabPage "Table"
const SfxUInt16Item* pScaleItem = NULL;
@@ -926,9 +926,9 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions )
aTableParam.bForceBreaks = pOptions && pOptions->GetForceBreaks();
- //------------------------------------------------------
+
// TabPage "Parts":
- //------------------------------------------------------
+
//! walk throuch all PrintAreas of the table !!!
const ScRange* pPrintArea = pDoc->GetPrintRange( nPrintTab, 0 );
@@ -2555,7 +2555,7 @@ void ScPrintFunc::InitModes() // set MapModes from nZoom etc.
aTwipMode = MapMode( MAP_TWIP, aTwipsOfs, aHorFract, aZoomFract );
}
-//--------------------------------------------------------------------
+
void ScPrintFunc::ApplyPrintSettings()
{
@@ -2595,7 +2595,7 @@ void ScPrintFunc::ApplyPrintSettings()
}
}
-//--------------------------------------------------------------------
+
// rPageRanges = range for all tables
// nStartPage = rPageRanges starts at nStartPage
// nDisplayStart = continuous number for displaying the page number
@@ -2611,7 +2611,7 @@ long ScPrintFunc::DoPrint( const MultiSelection& rPageRanges,
if ( pPrinter && bDoPrint )
ApplyPrintSettings();
- //--------------------------------------------------------------------
+
InitModes();
if ( pLocationData )
@@ -2622,7 +2622,7 @@ long ScPrintFunc::DoPrint( const MultiSelection& rPageRanges,
MakeTableString();
- //--------------------------------------------------------------------
+
long nPageNo = 0;
long nPrinted = 0;
diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx
index 5364c13131d8..e2e804696956 100644
--- a/sc/source/ui/view/reffact.cxx
+++ b/sc/source/ui/view/reffact.cxx
@@ -31,7 +31,7 @@
#include "scmod.hxx"
#include "validate.hxx"
-// -----------------------------------------------------------------------
+
SFX_IMPL_MODELESSDIALOG_WITHID(ScNameDlgWrapper, FID_DEFINE_NAME )
SFX_IMPL_MODELESSDIALOG_WITHID(ScNameDefDlgWrapper, FID_ADD_NAME )
@@ -125,9 +125,9 @@ IMPL_CHILD_CTOR( ScPrintAreasDlgWrapper, SID_OPENDLG_EDIT_PRINTAREA )
IMPL_CHILD_CTOR( ScFormulaDlgWrapper, SID_OPENDLG_FUNCTION )
-//-------------------------------------------------------------------------
+
// ScSimpleRefDlgWrapper
-//-------------------------------------------------------------------------
+
static bool bScSimpleRefFlag;
static long nScSimpleRefHeight;
@@ -243,9 +243,9 @@ void ScSimpleRefDlgWrapper::StartRefInput()
-//-------------------------------------------------------------------------
+
// ScAcceptChgDlgWrapper //FIXME: should be moved into ViewShell
-//-------------------------------------------------------------------------
+
ScAcceptChgDlgWrapper::ScAcceptChgDlgWrapper( Window* pParentP,
sal_uInt16 nId,
@@ -279,9 +279,9 @@ void ScAcceptChgDlgWrapper::ReInitDlg()
}
}
-//-------------------------------------------------------------------------
+
// ScHighlightChgDlgWrapper
-//-------------------------------------------------------------------------
+
IMPL_CHILD_CTOR( ScHighlightChgDlgWrapper, FID_CHG_SHOW )
diff --git a/sc/source/ui/view/scextopt.cxx b/sc/source/ui/view/scextopt.cxx
index 800f5236a6fb..3753396d825f 100644
--- a/sc/source/ui/view/scextopt.cxx
+++ b/sc/source/ui/view/scextopt.cxx
@@ -80,7 +80,7 @@ private:
ScExtTabSettingsMap maMap;
};
-// ----------------------------------------------------------------------------
+
ScExtTabSettingsCont::ScExtTabSettingsCont()
{
@@ -143,7 +143,7 @@ ScExtDocOptionsImpl::ScExtDocOptionsImpl() :
{
}
-// ----------------------------------------------------------------------------
+
ScExtDocOptions::ScExtDocOptions() :
mxImpl( new ScExtDocOptionsImpl )
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index 1b4b8ad38388..f12bb5ec847f 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -44,7 +44,7 @@ using namespace com::sun::star;
static Point aSwitchPos; //! Member
static bool bDidSwitch = false;
-// -----------------------------------------------------------------------
+
// View (Gridwin / keyboard)
ScViewFunctionSet::ScViewFunctionSet( ScViewData* pNewViewData ) :
diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx
index 8ac4636722b2..cd8fd0b55c64 100644
--- a/sc/source/ui/view/spelleng.cxx
+++ b/sc/source/ui/view/spelleng.cxx
@@ -375,7 +375,7 @@ ScConversionParam::ScConversionParam( ScConversionType eConvType,
mnOptions = i18n::TextConversionOption::CHARACTER_BY_CHARACTER;
}
-// ----------------------------------------------------------------------------
+
ScTextConversionEngine::ScTextConversionEngine(
SfxItemPool* pEnginePoolP, ScViewData& rViewData,
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index bee68c7afe1b..8cac82a491db 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -94,7 +94,7 @@ ScRange lcl_getSubRangeByIndex( const ScRange& rRange, sal_Int32 nIndex )
using namespace com::sun::star;
-// -----------------------------------------------------------------------
+
//
// --- Public-Funktionen
@@ -772,7 +772,7 @@ void ScTabView::AlignToCursor( SCsCOL nCurX, SCsROW nCurY, ScFollowMode eMode,
// VisibleCellsY == CellsAtY( GetPosY( eWhichY ), 1, eWhichY )
- //-------------------------------------------------------------------------------
+
// falls z.B. Suchen-Dialog offen ist, Cursor nicht hinter den Dialog stellen
// wenn moeglich, die Zeile mit dem Cursor oberhalb oder unterhalb des Dialogs
@@ -839,7 +839,7 @@ void ScTabView::AlignToCursor( SCsCOL nCurX, SCsROW nCurY, ScFollowMode eMode,
}
}
}
- //-------------------------------------------------------------------------------
+
SCsCOL nNewDeltaX = nDeltaX;
SCsROW nNewDeltaY = nDeltaY;
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index 6eee7b5ba3a4..04fdf7e8d389 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -533,7 +533,7 @@ void ScTabView::DigitLanguageChanged()
pGridWin[i]->SetDigitLanguage( eNewLang );
}
-//---------------------------------------------------------------
+
void ScTabView::ScrollToObject( SdrObject* pDrawObj )
{
@@ -620,7 +620,7 @@ void ScTabView::MakeVisible( const Rectangle& rHMMRect )
}
}
-//---------------------------------------------------------------
+
void ScTabView::SetBrushDocument( ScDocument* pNew, bool bLock )
{
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx
index 50cb51ffbcff..fca644ab010d 100644
--- a/sc/source/ui/view/tabvwsh2.cxx
+++ b/sc/source/ui/view/tabvwsh2.cxx
@@ -49,7 +49,7 @@
#include <svx/svdpage.hxx>
#include <fuconcustomshape.hxx>
-// -----------------------------------------------------------------------
+
SdrView* ScTabViewShell::GetDrawView() const
{
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index bd7ef6fe2fa6..a6f201accb5f 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -70,7 +70,7 @@
using ::std::auto_ptr;
-//------------------------------------------------------------------
+
/** Try to parse the given range using Calc-style syntax first, then
Excel-style if that fails. */
@@ -766,7 +766,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
}
break;
- //----------------------------------------------------------------
+
case FID_TAB_SELECTALL:
SelectAllTables();
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index e9da7c7719c3..978500e4bc27 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -101,7 +101,7 @@ sal_uInt16 ScTabViewShell::nInsertCtrlState = SID_INSERT_GRAPHIC;
sal_uInt16 ScTabViewShell::nInsCellsCtrlState = 0;
sal_uInt16 ScTabViewShell::nInsObjCtrlState = SID_INSERT_DIAGRAM;
-// -----------------------------------------------------------------------
+
void ScTabViewShell::Activate(sal_Bool bMDI)
{
@@ -310,7 +310,7 @@ bool ScTabViewShell::PrepareClose(sal_Bool bUI)
return SfxViewShell::PrepareClose(bUI);
}
-//------------------------------------------------------------------
+
// Zoom fuer In-Place berechnen
// aus Verhaeltnis von VisArea und Fenstergroesse des GridWin
@@ -451,7 +451,7 @@ void ScTabViewShell::QueryObjAreaPixel( Rectangle& rRect ) const
rRect.SetSize( pWin->LogicToPixel( aLogicRect.GetSize() ) );
}
-//------------------------------------------------------------------
+
void ScTabViewShell::Move()
{
@@ -464,7 +464,7 @@ void ScTabViewShell::Move()
}
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ShowCursor(bool /* bOn */)
{
@@ -478,7 +478,7 @@ void ScTabViewShell::ShowCursor(bool /* bOn */)
*/
}
-//------------------------------------------------------------------
+
void ScTabViewShell::WriteUserData(OUString& rData, bool /* bBrowse */)
{
@@ -570,7 +570,7 @@ void ScTabViewShell::DoReadUserData( const OUString& rData )
//! if ViewData has more tables than document, remove tables in ViewData
}
-//------------------------------------------------------------------
+
void ScTabViewShell::UpdateDrawShell()
{
@@ -1052,14 +1052,14 @@ void ScTabViewShell::SetDrawTextUndo( ::svl::IUndoManager* pNewUndoMgr )
}
}
-//------------------------------------------------------------------
+
ScTabViewShell* ScTabViewShell::GetActiveViewShell()
{
return PTR_CAST(ScTabViewShell,Current());
}
-//------------------------------------------------------------------
+
SfxPrinter* ScTabViewShell::GetPrinter( sal_Bool bCreate )
{
@@ -1093,7 +1093,7 @@ void ScTabViewShell::StopEditShell()
SetEditShell(NULL, false );
}
-//------------------------------------------------------------------
+
// close handler to ensure function of dialog:
@@ -1201,7 +1201,7 @@ void ScTabViewShell::StopSimpleRefDialog()
}
}
-//------------------------------------------------------------------
+
bool ScTabViewShell::TabKeyInput(const KeyEvent& rKEvt)
{
@@ -1466,7 +1466,7 @@ bool ScTabViewShell::KeyInput( const KeyEvent &rKeyEvent )
return TabKeyInput( rKeyEvent );
}
-//------------------------------------------------------------------
+
#define __INIT_ScTabViewShell \
eCurOST(OST_NONE), \
@@ -1516,7 +1516,7 @@ bool ScTabViewShell::KeyInput( const KeyEvent &rKeyEvent )
mbInSwitch(false)
-//------------------------------------------------------------------
+
void ScTabViewShell::Construct( sal_uInt8 nForceDesignMode )
{
@@ -1716,10 +1716,10 @@ void ScTabViewShell::Construct( sal_uInt8 nForceDesignMode )
SetBorderPixel( aBorder );
}
-//------------------------------------------------------------------
-//------------------------------------------------------------------
+
+
ScTabViewShell::ScTabViewShell( SfxViewFrame* pViewFrame,
SfxViewShell* pOldSh ) :
@@ -1773,7 +1773,7 @@ ScTabViewShell::ScTabViewShell( SfxViewFrame* pViewFrame,
#undef __INIT_ScTabViewShell
-//------------------------------------------------------------------
+
ScTabViewShell::~ScTabViewShell()
{
@@ -1817,7 +1817,7 @@ ScTabViewShell::~ScTabViewShell()
DELETEZ(pAccessibilityBroadcaster);
}
-//------------------------------------------------------------------
+
void ScTabViewShell::SetDialogDPObject( const ScDPObject* pObj )
{
@@ -1828,7 +1828,7 @@ void ScTabViewShell::SetDialogDPObject( const ScDPObject* pObj )
pDialogDPObject = NULL;
}
-//------------------------------------------------------------------
+
void ScTabViewShell::FillFieldData( ScHeaderFieldData& rData )
{
@@ -1856,7 +1856,7 @@ void ScTabViewShell::FillFieldData( ScHeaderFieldData& rData )
// eNumType kennt der Dialog selber
}
-//------------------------------------------------------------------
+
void ScTabViewShell::SetChartArea( const ScRangeListRef& rSource, const Rectangle& rDest )
{
@@ -1882,7 +1882,7 @@ ScNavigatorSettings* ScTabViewShell::GetNavigatorSettings()
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecTbx( SfxRequest& rReq )
{
diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx
index ae8205817c30..d8357a03fdba 100644
--- a/sc/source/ui/view/tabvwsh5.cxx
+++ b/sc/source/ui/view/tabvwsh5.cxx
@@ -306,13 +306,13 @@ void ScTabViewShell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SfxViewShell::Notify( rBC, rHint );
}
-//------------------------------------------------------------------
+
SvxNumberInfoItem* ScTabViewShell::MakeNumberInfoItem( ScDocument* pDoc, ScViewData* pViewData )
{
- //------------------------------
+
// NumberInfo-Item konstruieren:
- //------------------------------
+
SvxNumberValueType eValType = SVX_VALUE_TYPE_UNDEFINED;
double nCellValue = 0;
OUString aCellString;
@@ -379,7 +379,7 @@ SvxNumberInfoItem* ScTabViewShell::MakeNumberInfoItem( ScDocument* pDoc, ScViewD
pDoc->GetFormatTable(), static_cast<const sal_uInt16>(SID_ATTR_NUMBERFORMAT_INFO));
}
-//------------------------------------------------------------------
+
void ScTabViewShell::UpdateNumberFormatter(
const SvxNumberInfoItem& rInfoItem )
diff --git a/sc/source/ui/view/tabvwsh8.cxx b/sc/source/ui/view/tabvwsh8.cxx
index c60115eb7dc0..6674445d28b3 100644
--- a/sc/source/ui/view/tabvwsh8.cxx
+++ b/sc/source/ui/view/tabvwsh8.cxx
@@ -24,7 +24,7 @@
#include "document.hxx"
-//------------------------------------------------------------------
+
void ScTabViewShell::SetDefaultFrameLine( const ::editeng::SvxBorderLine* pLine )
{
@@ -42,7 +42,7 @@ void ScTabViewShell::SetDefaultFrameLine( const ::editeng::SvxBorderLine* pLine
}
}
-//------------------------------------------------------------------
+
sal_Bool ScTabViewShell::HasSelection( sal_Bool bText ) const
{
@@ -70,7 +70,7 @@ sal_Bool ScTabViewShell::HasSelection( sal_Bool bText ) const
return bHas;
}
-//------------------------------------------------------------------
+
void ScTabViewShell::UIDeactivated( SfxInPlaceClient* pClient )
{
diff --git a/sc/source/ui/view/tabvwsh9.cxx b/sc/source/ui/view/tabvwsh9.cxx
index 5f2f415b12c2..72a38f273161 100644
--- a/sc/source/ui/view/tabvwsh9.cxx
+++ b/sc/source/ui/view/tabvwsh9.cxx
@@ -45,7 +45,7 @@ SvxIMapDlg* ScGetIMapDlg();
const void* ScIMapDlgGetObj( SvxIMapDlg* pDlg );
const ImageMap& ScIMapDlgGetMap( SvxIMapDlg* pDlg );
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecChildWin(SfxRequest& rReq)
{
@@ -72,7 +72,7 @@ void ScTabViewShell::GetChildWinState( SfxItemSet& rSet )
}
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecGallery( SfxRequest& rReq )
{
@@ -106,14 +106,14 @@ void ScTabViewShell::GetGalleryState( SfxItemSet& /* rSet */ )
{
}
-//------------------------------------------------------------------
+
ScInputHandler* ScTabViewShell::GetInputHandler() const
{
return pInputHandler;
}
-//------------------------------------------------------------------
+
OUString ScTabViewShell::GetDescription() const
{
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index a9d2767bf4a6..57abb07c31a5 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -466,7 +466,7 @@ void ScTabViewShell::GetState( SfxItemSet& rSet )
} // while ( nWitch )
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecuteCellFormatDlg(SfxRequest& rReq, const OString &rName)
{
ScDocument* pDoc = GetViewData()->GetDocument();
@@ -553,7 +553,7 @@ void ScTabViewShell::ExecuteCellFormatDlg(SfxRequest& rReq, const OString &rName
}
}
-//------------------------------------------------------------------
+
bool ScTabViewShell::IsRefInputMode() const
{
@@ -600,7 +600,7 @@ bool ScTabViewShell::IsRefInputMode() const
return false;
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecuteInputDirect()
{
@@ -614,7 +614,7 @@ void ScTabViewShell::ExecuteInputDirect()
}
}
-//------------------------------------------------------------------
+
void ScTabViewShell::UpdateInputHandler( bool bForce /* = sal_False */, bool bStopEditing /* = sal_True */ )
{
@@ -714,7 +714,7 @@ void ScTabViewShell::UpdateInputHandlerCellAdjust( SvxCellHorJustify eJust )
pHdl->UpdateCellAdjust( eJust );
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecuteSave( SfxRequest& rReq )
{
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 86f8c66d222d..8a8c5df576dd 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -487,7 +487,7 @@ void ScTabViewShell::GetDrawInsState(SfxItemSet &rSet)
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecuteUndo(SfxRequest& rReq)
{
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index afdd056de325..03430eae901c 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -73,7 +73,7 @@
#include <config_orcus.h>
-//------------------------------------------------------------------
+
void ScTabViewShell::SetCurRefDlgId( sal_uInt16 nNew )
{
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index 49c9d8a98c0b..c593bf695d73 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -118,7 +118,7 @@ OUString ScTabViewShell::GetSelectionText( bool bWholeWord )
return aStrSelection;
}
-//------------------------------------------------------------------------
+
void ScTabViewShell::InsertURL( const OUString& rName, const OUString& rURL, const OUString& rTarget,
sal_uInt16 nMode )
@@ -153,7 +153,7 @@ void ScTabViewShell::InsertURL( const OUString& rName, const OUString& rURL, con
}
}
-//------------------------------------------------------------------------
+
static void lcl_SelectFieldAfterInsert( EditView& rView )
{
@@ -350,7 +350,7 @@ void ScTabViewShell::ExecSearch( SfxRequest& rReq )
}
}
-//--------------------------------------------------------------------
+
diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx
index 059fdce5b63d..17b7e17a7d6b 100644
--- a/sc/source/ui/view/tabvwshf.cxx
+++ b/sc/source/ui/view/tabvwshf.cxx
@@ -781,7 +781,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq )
}
}
- //------------------------------------------------------------------
+
void ScTabViewShell::GetStateTable( SfxItemSet& rSet )
{
diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx
index e256e55c40ca..85f335e005b4 100644
--- a/sc/source/ui/view/tabvwshg.cxx
+++ b/sc/source/ui/view/tabvwshg.cxx
@@ -36,7 +36,7 @@ using namespace com::sun::star;
#include "globstr.hrc"
#include <avmedia/mediawindow.hxx>
-//------------------------------------------------------------------------
+
void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rURL,
const OUString& rTarget,
diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx
index f99c60617fc6..4be04c6e49ee 100644
--- a/sc/source/ui/view/tabvwshh.cxx
+++ b/sc/source/ui/view/tabvwshh.cxx
@@ -40,7 +40,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecuteSbx( SfxRequest& /* rReq */ )
{
@@ -53,7 +53,7 @@ void ScTabViewShell::GetSbxState( SfxItemSet& /* rSet */ )
// SID_RANGE_REGION (CurrentRegion) - removed (old Basic)
}
-//------------------------------------------------------------------
+
void ScTabViewShell::ExecuteObject( SfxRequest& rReq )
{
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 2364c1bf8aa1..0ddaecf34901 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -101,7 +101,7 @@ void VBA_DeleteModule( ScDocShell& rDocSh, const OUString& sModuleName );
// STATIC DATA ---------------------------------------------------------------
-//----------------------------------------------------------------------------
+
bool ScViewFunc::AdjustBlockHeight( bool bPaint, ScMarkData* pMarkData )
{
@@ -163,7 +163,7 @@ bool ScViewFunc::AdjustBlockHeight( bool bPaint, ScMarkData* pMarkData )
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, bool bPaint )
{
@@ -203,7 +203,7 @@ bool ScViewFunc::AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, bool bPaint )
}
-//----------------------------------------------------------------------------
+
enum ScAutoSum
{
@@ -236,7 +236,7 @@ static ScAutoSum lcl_IsAutoSumData( ScDocument* pDoc, SCCOL nCol, SCROW nRow,
}
-//----------------------------------------------------------------------------
+
#define SC_AUTOSUM_MAXCOUNT 20
@@ -271,7 +271,7 @@ static ScAutoSum lcl_SeekAutoSumData( ScDocument* pDoc, SCCOL& nCol, SCROW& nRow
#undef SC_AUTOSUM_MAXCOUNT
-//----------------------------------------------------------------------------
+
static bool lcl_FindNextSumEntryInColumn( ScDocument* pDoc, SCCOL nCol, SCROW& nRow,
SCTAB nTab, SCCOLROW& nExtend, SCROW nMinRow )
@@ -290,7 +290,7 @@ static bool lcl_FindNextSumEntryInColumn( ScDocument* pDoc, SCCOL nCol, SCROW& n
return false;
}
-//----------------------------------------------------------------------------
+
static bool lcl_FindNextSumEntryInRow( ScDocument* pDoc, SCCOL& nCol, SCROW nRow,
SCTAB nTab, SCCOLROW& nExtend, SCROW nMinCol )
@@ -309,7 +309,7 @@ static bool lcl_FindNextSumEntryInRow( ScDocument* pDoc, SCCOL& nCol, SCROW nRow
return false;
}
-//----------------------------------------------------------------------------
+
static bool lcl_GetAutoSumForColumnRange( ScDocument* pDoc, ScRangeList& rRangeList, const ScRange& rRange )
{
@@ -353,7 +353,7 @@ static bool lcl_GetAutoSumForColumnRange( ScDocument* pDoc, ScRangeList& rRangeL
return true;
}
-//----------------------------------------------------------------------------
+
static bool lcl_GetAutoSumForRowRange( ScDocument* pDoc, ScRangeList& rRangeList, const ScRange& rRange )
{
@@ -397,7 +397,7 @@ static bool lcl_GetAutoSumForRowRange( ScDocument* pDoc, ScRangeList& rRangeList
return true;
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::GetAutoSumArea( ScRangeList& rRangeList )
{
@@ -503,7 +503,7 @@ bool ScViewFunc::GetAutoSumArea( ScRangeList& rRangeList )
return false;
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::EnterAutoSum(const ScRangeList& rRangeList, bool bSubTotal, const ScAddress& rAddr)
{
@@ -511,7 +511,7 @@ void ScViewFunc::EnterAutoSum(const ScRangeList& rRangeList, bool bSubTotal, con
EnterBlock( aFormula, NULL );
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::AutoSum( const ScRange& rRange, bool bSubTotal, bool bSetCursor, bool bContinue )
{
@@ -712,7 +712,7 @@ bool ScViewFunc::AutoSum( const ScRange& rRange, bool bSubTotal, bool bSetCursor
return true;
}
-//----------------------------------------------------------------------------
+
OUString ScViewFunc::GetAutoSumFormula( const ScRangeList& rRangeList, bool bSubTotal, const ScAddress& rAddr )
{
@@ -757,7 +757,7 @@ OUString ScViewFunc::GetAutoSumFormula( const ScRangeList& rRangeList, bool bSub
return aBuf.makeStringAndClear();
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::EnterBlock( const OUString& rString, const EditTextObject* pData )
{
@@ -846,7 +846,7 @@ void ScViewFunc::EnterBlock( const OUString& rString, const EditTextObject* pDat
}
-//----------------------------------------------------------------------------
+
// manual page break
void ScViewFunc::InsertPageBreak( bool bColumn, bool bRecord, const ScAddress* pPos,
@@ -867,7 +867,7 @@ void ScViewFunc::InsertPageBreak( bool bColumn, bool bRecord, const ScAddress* p
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::DeletePageBreak( bool bColumn, bool bRecord, const ScAddress* pPos,
bool bSetModified )
@@ -886,7 +886,7 @@ void ScViewFunc::DeletePageBreak( bool bColumn, bool bRecord, const ScAddress* p
UpdatePageBreakData( true ); // for PageBreak-Mode
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::RemoveManualBreaks()
{
@@ -912,7 +912,7 @@ void ScViewFunc::RemoveManualBreaks()
pDocSh->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID );
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::SetPrintZoom(sal_uInt16 nScale, sal_uInt16 nPages)
{
@@ -929,7 +929,7 @@ void ScViewFunc::AdjustPrintZoom()
GetViewData()->GetDocShell()->AdjustPrintZoom( aRange );
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::SetPrintRanges( bool bEntireSheet, const OUString* pPrint,
const OUString* pRepCol, const OUString* pRepRow,
@@ -1041,7 +1041,7 @@ void ScViewFunc::SetPrintRanges( bool bEntireSheet, const OUString* pPrint,
pDocSh->SetDocumentModified();
}
-//----------------------------------------------------------------------------
+
// Merge cells
bool ScViewFunc::TestMergeCells() // pre-test (for menu)
@@ -1059,7 +1059,7 @@ bool ScViewFunc::TestMergeCells() // pre-test (for menu)
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::MergeCells( bool bApi, bool& rDoContents, bool bRecord, bool bCenter )
{
@@ -1156,7 +1156,7 @@ bool ScViewFunc::MergeCells( bool bApi, bool& rDoContents, bool bRecord, bool bC
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::TestRemoveMerge()
{
@@ -1172,7 +1172,7 @@ bool ScViewFunc::TestRemoveMerge()
}
-//----------------------------------------------------------------------------
+
static bool lcl_extendMergeRange(ScCellMergeOption& rOption, const ScRange& rRange)
{
@@ -1248,7 +1248,7 @@ bool ScViewFunc::RemoveMerge( bool bRecord )
return true; //! bOk ??
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::FillSimple( FillDir eDir, bool bRecord )
{
@@ -1268,7 +1268,7 @@ void ScViewFunc::FillSimple( FillDir eDir, bool bRecord )
ErrorMessage(STR_NOMULTISELECT);
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::FillSeries( FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd,
double fStart, double fStep, double fMax, bool bRecord )
@@ -1293,7 +1293,7 @@ void ScViewFunc::FillSeries( FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd,
ErrorMessage(STR_NOMULTISELECT);
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::FillAuto( FillDir eDir, SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow, sal_uLong nCount, bool bRecord )
@@ -1338,7 +1338,7 @@ void ScViewFunc::FillAuto( FillDir eDir, SCCOL nStartCol, SCROW nStartRow,
}
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::FillTab( sal_uInt16 nFlags, sal_uInt16 nFunction, bool bSkipEmpty, bool bAsLink )
{
@@ -1407,7 +1407,7 @@ void ScViewFunc::FillTab( sal_uInt16 nFlags, sal_uInt16 nFunction, bool bSkipEmp
pDocSh->PostDataChanged();
}
-//----------------------------------------------------------------------------
+
/** Downward fill of selected cell(s) by double-clicking cross-hair cursor
@@ -1482,7 +1482,7 @@ void ScViewFunc::FillCrossDblClick()
}
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::TransliterateText( sal_Int32 nType )
{
@@ -1503,7 +1503,7 @@ void ScViewFunc::TransliterateText( sal_Int32 nType )
}
}
-//----------------------------------------------------------------------------
+
// AutoFormat
ScAutoFormatData* ScViewFunc::CreateAutoFormatData()
@@ -1528,7 +1528,7 @@ ScAutoFormatData* ScViewFunc::CreateAutoFormatData()
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::AutoFormat( sal_uInt16 nFormatNo, bool bRecord )
{
@@ -1547,7 +1547,7 @@ void ScViewFunc::AutoFormat( sal_uInt16 nFormatNo, bool bRecord )
}
-//----------------------------------------------------------------------------
+
// Suchen & Ersetzen
bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
@@ -1765,7 +1765,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
}
-//----------------------------------------------------------------------------
+
// Zielwertsuche
void ScViewFunc::Solve( const ScSolveParam& rParam )
@@ -1841,7 +1841,7 @@ void ScViewFunc::Solve( const ScSolveParam& rParam )
}
-//----------------------------------------------------------------------------
+
// multi operation
void ScViewFunc::TabOp( const ScTabOpParam& rParam, bool bRecord )
@@ -1858,7 +1858,7 @@ void ScViewFunc::TabOp( const ScTabOpParam& rParam, bool bRecord )
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::MakeScenario( const OUString& rName, const OUString& rComment,
const Color& rColor, sal_uInt16 nFlags )
@@ -1881,7 +1881,7 @@ void ScViewFunc::MakeScenario( const OUString& rName, const OUString& rComment,
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::ExtendScenario()
{
@@ -1902,7 +1902,7 @@ void ScViewFunc::ExtendScenario()
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::UseScenario( const OUString& rName )
{
@@ -1915,7 +1915,7 @@ void ScViewFunc::UseScenario( const OUString& rName )
}
-//----------------------------------------------------------------------------
+
// Insert table
bool ScViewFunc::InsertTable( const OUString& rName, SCTAB nTab, bool bRecord )
@@ -1929,7 +1929,7 @@ bool ScViewFunc::InsertTable( const OUString& rName, SCTAB nTab, bool bRecord )
return bSuccess;
}
-//----------------------------------------------------------------------------
+
// Insert tables
bool ScViewFunc::InsertTables(std::vector<OUString>& aNames, SCTAB nTab,
@@ -1980,7 +1980,7 @@ bool ScViewFunc::InsertTables(std::vector<OUString>& aNames, SCTAB nTab,
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::AppendTable( const OUString& rName, bool bRecord )
{
@@ -2014,7 +2014,7 @@ bool ScViewFunc::AppendTable( const OUString& rName, bool bRecord )
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::DeleteTable( SCTAB nTab, bool bRecord )
{
@@ -2206,7 +2206,7 @@ bool ScViewFunc::DeleteTables(const vector<SCTAB> &TheTabs, bool bRecord )
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::RenameTable( const OUString& rName, SCTAB nTab )
{
@@ -2222,7 +2222,7 @@ bool ScViewFunc::RenameTable( const OUString& rName, SCTAB nTab )
}
-//----------------------------------------------------------------------------
+
bool ScViewFunc::SetTabBgColor( const Color& rColor, SCTAB nTab )
{
@@ -2244,7 +2244,7 @@ bool ScViewFunc::SetTabBgColor( ScUndoTabColorInfo::List& rUndoSetTabBgColorInfo
return bSuccess;
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::InsertAreaLink( const OUString& rFile,
const OUString& rFilter, const OUString& rOptions,
@@ -2260,7 +2260,7 @@ void ScViewFunc::InsertAreaLink( const OUString& rFile,
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::InsertTableLink( const OUString& rFile,
const OUString& rFilter, const OUString& rOptions,
@@ -2296,7 +2296,7 @@ void ScViewFunc::InsertTableLink( const OUString& rFile,
}
-//----------------------------------------------------------------------------
+
// Copy/link tables from another document
void ScViewFunc::ImportTables( ScDocShell* pSrcShell,
@@ -2420,7 +2420,7 @@ void ScViewFunc::ImportTables( ScDocShell* pSrcShell,
}
-//----------------------------------------------------------------------------
+
// Move/Copy table to another document
void ScViewFunc::MoveTable(
@@ -2776,7 +2776,7 @@ void ScViewFunc::MoveTable(
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::ShowTable( const std::vector<OUString>& rNames )
{
@@ -2816,7 +2816,7 @@ void ScViewFunc::ShowTable( const std::vector<OUString>& rNames )
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::HideTable( const ScMarkData& rMark )
{
@@ -2867,7 +2867,7 @@ void ScViewFunc::HideTable( const ScMarkData& rMark )
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::InsertSpecialChar( const OUString& rStr, const Font& rFont )
{
@@ -2904,7 +2904,7 @@ void ScViewFunc::InsertSpecialChar( const OUString& rStr, const Font& rFont )
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::UpdateLineAttrs( SvxBorderLine& rLine,
const SvxBorderLine* pDestLine,
@@ -2943,7 +2943,7 @@ void ScViewFunc::UpdateLineAttrs( SvxBorderLine& rLine,
}
-//----------------------------------------------------------------------------
+
void ScViewFunc::SetSelectionFrameLines( const SvxBorderLine* pLine,
bool bColorOnly )
@@ -2987,7 +2987,7 @@ void ScViewFunc::SetSelectionFrameLines( const SvxBorderLine* pLine,
ATTR_PATTERN_START,
ATTR_PATTERN_END );
- //------------------------------------------------------------
+
const SvxBorderLine* pBoxLine = NULL;
SvxBorderLine aLine;
@@ -3060,7 +3060,7 @@ void ScViewFunc::SetSelectionFrameLines( const SvxBorderLine* pLine,
#undef SET_LINE_ATTRIBUTES
-//----------------------------------------------------------------------------
+
void ScViewFunc::SetValidation( const ScValidationData& rNew )
{
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index ae40407029e2..e83551516ee1 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -75,7 +75,7 @@ using namespace com::sun::star;
// GlobalName der Writer-DocShell kommt jetzt aus comphelper/classids.hxx
-//----------------------------------------------------------------------------
+
// C U T
void ScViewFunc::CutToClip( ScDocument* pClipDoc, bool bIncludeObjects )
@@ -151,7 +151,7 @@ void ScViewFunc::CutToClip( ScDocument* pClipDoc, bool bIncludeObjects )
}
-//----------------------------------------------------------------------------
+
// C O P Y
bool ScViewFunc::CopyToClip( ScDocument* pClipDoc, bool bCut, bool bApi, bool bIncludeObjects, bool bStopEdit )
@@ -436,7 +436,7 @@ ScTransferObj* ScViewFunc::CopyToTransferable()
return NULL;
}
-//----------------------------------------------------------------------------
+
// P A S T E
void ScViewFunc::PasteDraw()
@@ -689,7 +689,7 @@ bool ScViewFunc::PasteFromSystem( sal_uLong nFormatId, bool bApi )
}
-//----------------------------------------------------------------------------
+
// P A S T E
bool ScViewFunc::PasteOnDrawObjectLinked(
@@ -1748,7 +1748,7 @@ void ScViewFunc::PostPasteFromClip(const ScRangeList& rPasteRanges, const ScMark
}
-//----------------------------------------------------------------------------
+
// D R A G A N D D R O P
//
// innerhalb des Dokuments
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 9a7910b453c7..ea3595717fe4 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -25,7 +25,7 @@
#include <svx/unomodel.hxx>
#include <unotools/streamwrap.hxx>
-//------------------------------------------------------------------
+
#include <svx/fmmodel.hxx>
#include <svx/svdetc.hxx>
@@ -72,7 +72,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------
+
bool ScViewFunc::PasteDataFormat( sal_uLong nFormatId,
const uno::Reference<datatransfer::XTransferable>& rxTransferable,
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index 1404d5b2cf39..88640ee3a6d1 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -102,7 +102,7 @@ ScViewFunc::~ScViewFunc()
{
}
-//------------------------------------------------------------------------------------
+
void ScViewFunc::StartFormatArea()
{
@@ -226,7 +226,7 @@ void ScViewFunc::DoAutoAttributes( SCCOL nCol, SCROW nRow, SCTAB nTab,
aFormatSource.Set( nCol, nRow, nTab ); // then set a new source
}
-//------------------------------------------------------------------------------------
+
// additional routines
@@ -1325,7 +1325,7 @@ void ScViewFunc::SetStyleSheetToMarked( SfxStyleSheet* pStyleSheet, bool bRecord
}
if ( !pStyleSheet) return;
- // -------------------------------------------------------------------
+
ScViewData* pViewData = GetViewData();
ScDocShell* pDocSh = pViewData->GetDocShell();
@@ -1417,7 +1417,7 @@ void ScViewFunc::SetStyleSheetToMarked( SfxStyleSheet* pStyleSheet, bool bRecord
void ScViewFunc::RemoveStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet )
{
if ( !pStyleSheet) return;
- // -------------------------------------------------------------------
+
ScViewData* pViewData = GetViewData();
ScDocument* pDoc = pViewData->GetDocument();
@@ -1444,7 +1444,7 @@ void ScViewFunc::RemoveStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet )
void ScViewFunc::UpdateStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet )
{
if ( !pStyleSheet) return;
- // -------------------------------------------------------------------
+
ScViewData* pViewData = GetViewData();
ScDocument* pDoc = pViewData->GetDocument();
diff --git a/sc/source/ui/view/waitoff.cxx b/sc/source/ui/view/waitoff.cxx
index cd981c29338c..e9a63b0d4338 100644
--- a/sc/source/ui/view/waitoff.cxx
+++ b/sc/source/ui/view/waitoff.cxx
@@ -21,7 +21,7 @@
#include "waitoff.hxx"
-//------------------------------------------------------------------------
+
ScWaitCursorOff::ScWaitCursorOff( Window* pWinP )
: