diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /sc/source/ui/docshell | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/arealink.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/dbdocfun.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/docshell/dbdocimp.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 46 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 14 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 18 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 24 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh5.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh6.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh7.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh8.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/docshell/editable.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/docshell/olinefun.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/docshell/pntlock.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/servobj.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/sizedev.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/tablink.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/tpstat.cxx | 8 |
20 files changed, 92 insertions, 92 deletions
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 */ ) { |