diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-06 17:13:43 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-06 17:19:54 +0200 |
commit | c4c51709eaa02a5c9a2af3e5d436790307109813 (patch) | |
tree | c67362b4f2c3d3f34655ca65ec10d54e1509cf73 /sc/source/ui/docshell | |
parent | c78f918a7cb267a713804b8feacc3425196d4428 (diff) |
whitespace cleanup in sc
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
Diffstat (limited to 'sc/source/ui/docshell')
24 files changed, 0 insertions, 236 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx index bfda73213579..d74983558519 100644 --- a/sc/source/ui/docshell/arealink.cxx +++ b/sc/source/ui/docshell/arealink.cxx @@ -56,8 +56,6 @@ struct AreaLink_Impl TYPEINIT1(ScAreaLink,::sfx2::SvBaseLink); - - ScAreaLink::ScAreaLink( SfxObjectShell* pShell, const OUString& rFile, const OUString& rFilter, const OUString& rOpt, const OUString& rArea, const ScRange& rDest, diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx index 5e031faec11e..5c9bdd8b2672 100644 --- a/sc/source/ui/docshell/autostyl.cxx +++ b/sc/source/ui/docshell/autostyl.cxx @@ -217,6 +217,4 @@ IMPL_LINK_NOARG(ScAutoStyleList, TimerHdl) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index 1698b621a1c5..364f9bb2aae5 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -53,8 +53,6 @@ using namespace ::com::sun::star; - - bool ScDBDocFunc::AddDBRange( const OUString& rName, const ScRange& rRange, bool /* bApi */ ) { @@ -242,8 +240,6 @@ bool ScDBDocFunc::ModifyDBData( const ScDBData& rNewData ) return bDone; } - - bool ScDBDocFunc::RepeatDB( const OUString& rDBName, bool bRecord, bool bApi, bool bIsUnnamed, SCTAB aTab ) { //! auch fuer ScDBFunc::RepeatDB benutzen! @@ -426,8 +422,6 @@ 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 ) { @@ -669,8 +663,6 @@ 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 ) { @@ -1010,8 +1002,6 @@ 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 ) { @@ -1670,8 +1660,6 @@ void ScDBDocFunc::RefreshPivotTableGroups(ScDPObject* pDPObj) } } - - // database import void ScDBDocFunc::UpdateImport( const OUString& rTarget, const svx::ODataAccessDescriptor& rDescriptor ) @@ -1737,6 +1725,4 @@ void ScDBDocFunc::UpdateImport( const OUString& rTarget, const svx::ODataAccessD } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx index 62e4e51e1f53..270cad2bdf8e 100644 --- a/sc/source/ui/docshell/dbdocimp.cxx +++ b/sc/source/ui/docshell/dbdocimp.cxx @@ -101,8 +101,6 @@ void ScDBDocFunc::ShowInBeamer( const ScImportParam& rParam, SfxViewFrame* pFram } } - - bool ScDBDocFunc::DoImportUno( const ScAddress& rPos, const uno::Sequence<beans::PropertyValue>& aArgs ) { @@ -118,8 +116,6 @@ bool ScDBDocFunc::DoImportUno( const ScAddress& rPos, return true; } - - bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam, const svx::ODataAccessDescriptor* pDescriptor, bool bRecord, bool bAddrInsert ) { @@ -665,6 +661,4 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam, } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index e4b080b317ca..74c34673531f 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -99,8 +99,6 @@ using ::std::vector; // STATIC DATA ----------------------------------------------------------- - - IMPL_LINK( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction ) { // #i101118# if drawing layer collects the undo actions, add it there @@ -121,8 +119,6 @@ IMPL_LINK( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction ) return 0; } - - // Zeile ueber dem Range painten (fuer Linien nach AdjustRowHeight) static void lcl_PaintAbove( ScDocShell& rDocShell, const ScRange& rRange ) @@ -136,8 +132,6 @@ static void lcl_PaintAbove( ScDocShell& rDocShell, const ScRange& rRange ) } } - - bool ScDocFunc::AdjustRowHeight( const ScRange& rRange, bool bPaint ) { ScDocument* pDoc = rDocShell.GetDocument(); @@ -169,8 +163,6 @@ bool ScDocFunc::AdjustRowHeight( const ScRange& rRange, bool bPaint ) } - - bool ScDocFunc::DetectiveAddPred(const ScAddress& rPos) { ScDocShellModificator aModificator( rDocShell ); @@ -565,8 +557,6 @@ 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 ) { @@ -678,8 +668,6 @@ bool ScDocFunc::DeleteContents( const ScMarkData& rMark, sal_uInt16 nFlags, return true; } - - bool ScDocFunc::TransliterateText( const ScMarkData& rMark, sal_Int32 nType, bool bRecord, bool bApi ) { @@ -734,8 +722,6 @@ 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 ) { ScDocShellModificator aModificator( rDocShell ); @@ -1185,8 +1171,6 @@ bool ScDocFunc::SetCellText( return bSet; } - - bool ScDocFunc::ShowNote( const ScAddress& rPos, bool bShow ) { ScDocument& rDoc = *rDocShell.GetDocument(); @@ -1206,8 +1190,6 @@ bool ScDocFunc::ShowNote( const ScAddress& rPos, bool bShow ) return true; } - - bool ScDocFunc::SetNoteText( const ScAddress& rPos, const OUString& rText, bool bApi ) { ScDocShellModificator aModificator( rDocShell ); @@ -1237,8 +1219,6 @@ 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 ) { bool bDone = false; @@ -1299,8 +1279,6 @@ 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 ) { @@ -3347,8 +3325,6 @@ bool ScDocFunc::SetTabBgColor( return bSuccess; } - - //! SetWidthOrHeight - noch doppelt zu ViewFunc !!!!!! //! Probleme: //! - Optimale Hoehe fuer Edit-Zellen ist unterschiedlich zwischen Drucker und Bildschirm @@ -3667,8 +3643,6 @@ bool ScDocFunc::RemovePageBreak( bool bColumn, const ScAddress& rPos, return true; } - - void ScDocFunc::ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect ) { ScDocument* pDoc = rDocShell.GetDocument(); @@ -3831,8 +3805,6 @@ bool ScDocFunc::Unprotect( SCTAB nTab, const OUString& rPassword, bool bApi ) return true; } - - bool ScDocFunc::ClearItems( const ScMarkData& rMark, const sal_uInt16* pWhich, bool bApi ) { ScDocShellModificator aModificator( rDocShell ); @@ -4050,8 +4022,6 @@ 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, const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar ) @@ -4139,8 +4109,6 @@ 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 ) { @@ -4200,8 +4168,6 @@ bool ScDocFunc::TabOp( const ScRange& rRange, const ScMarkData* pTabMark, return bSuccess; } - - inline ScDirection DirFromFillDir( FillDir eDir ) { if (eDir==FILL_TO_BOTTOM) @@ -4655,8 +4621,6 @@ bool ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir e return true; } - - bool ScDocFunc::MergeCells( const ScCellMergeOption& rOption, bool bContents, bool bRecord, bool bApi ) { using ::std::set; @@ -4846,8 +4810,6 @@ bool ScDocFunc::UnmergeCells( const ScCellMergeOption& rOption, bool bRecord ) return true; } - - bool ScDocFunc::ModifyRangeNames( const ScRangeName& rNewRanges, SCTAB nTab ) { return SetNewRangeNames( new ScRangeName(rNewRanges), true, nTab ); @@ -4925,8 +4887,6 @@ 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, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, @@ -5081,8 +5041,6 @@ bool ScDocFunc::CreateNames( const ScRange& rRange, sal_uInt16 nFlags, bool bApi return bDone; } - - bool ScDocFunc::InsertNameList( const ScAddress& rStartPos, bool bApi ) { ScDocShellModificator aModificator( rDocShell ); @@ -5193,8 +5151,6 @@ bool ScDocFunc::InsertNameList( const ScAddress& rStartPos, bool bApi ) return bDone; } - - bool ScDocFunc::ResizeMatrix( const ScRange& rOldRange, const ScAddress& rNewEnd, bool bApi ) { ScDocument* pDoc = rDocShell.GetDocument(); @@ -5239,8 +5195,6 @@ 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, const ScRange& rDestRange, sal_uLong nRefresh, diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 329e38e9634f..0c2b700a8f57 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -166,8 +166,6 @@ 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" @@ -181,8 +179,6 @@ SFX_IMPL_OBJECTFACTORY( ScDocShell, SvGlobalName(SO3_SC_CLASSID), SFXOBJECTSHELL TYPEINIT1( ScDocShell, SfxObjectShell ); // SfxInPlaceObject: No TypeInfo? - - void ScDocShell::FillClass( SvGlobalName* pClassName, sal_uInt32* pFormat, OUString* /* pAppName */, @@ -211,8 +207,6 @@ void ScDocShell::FillClass( SvGlobalName* pClassName, } } - - void ScDocShell::DoEnterHandler() { ScTabViewShell* pViewSh = ScTabViewShell::GetActiveViewShell(); @@ -221,8 +215,6 @@ void ScDocShell::DoEnterHandler() SC_MOD()->InputEnterHandler(); } - - SCTAB ScDocShell::GetSaveTab() { SCTAB nTab = 0; @@ -2683,8 +2675,6 @@ 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 ), aDocument ( SCDOCMODE_DOCUMENT, this ), @@ -2732,8 +2722,6 @@ ScDocShell::ScDocShell( const sal_uInt64 i_nSfxCreationFlags ) : // InitItems and CalcOutputFactor are called now in Load/ConvertFrom/InitNew } - - ScDocShell::~ScDocShell() { ResetDrawObjectShell(); // If the Drawing Layer still tries to access it, access it @@ -2770,8 +2758,6 @@ ScDocShell::~ScDocShell() #endif } - - ::svl::IUndoManager* ScDocShell::GetUndoManager() { return aDocument.GetUndoManager(); diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index bbda71a56c23..cbf967aaf74c 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -32,8 +32,6 @@ using namespace com::sun::star; - - bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor ) { bool bRet = SfxObjectShell::InitNew( xStor ); @@ -62,8 +60,6 @@ bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor ) return bRet; } - - bool ScDocShell::IsEmpty() const { return bIsEmpty; @@ -75,8 +71,6 @@ void ScDocShell::SetEmpty(bool bSet) bIsEmpty = bSet; } - - void ScDocShell::InitItems() { // Fill AllItemSet for Controller with needed Items: @@ -145,8 +139,6 @@ void ScDocShell::InitItems() } } - - void ScDocShell::ResetDrawObjectShell() { ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); @@ -154,8 +146,6 @@ void ScDocShell::ResetDrawObjectShell() pDrawLayer->SetObjectShell( NULL ); } - - void ScDocShell::Activate() { } @@ -166,8 +156,6 @@ void ScDocShell::Deactivate() } - - ScDrawLayer* ScDocShell::MakeDrawLayer() { ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index 5de3b11dcf53..4d9580dea59e 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -63,12 +63,8 @@ #include "markdata.hxx" - - // Redraw - Benachrichtigungen - - void ScDocShell::PostEditView( ScEditEngineDefaulter* pEditEngine, const ScAddress& rCursorPos ) { // Broadcast( ScEditViewHint( pEditEngine, rCursorPos ) ); @@ -216,8 +212,6 @@ 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) { if ( !pPaintLockData ) @@ -337,8 +331,6 @@ void ScDocShell::UnlockDocument() } } - - void ScDocShell::SetInplace( bool bInplace ) { if (bIsInplace != bInplace) @@ -403,8 +395,6 @@ double ScDocShell::GetOutputFactor() const return nPrtToScreenFactor; } - - void ScDocShell::InitOptions(bool bForLoading) // called from InitNew and Load { // Einstellungen aus dem SpellCheckCfg kommen in Doc- und ViewOptions @@ -439,8 +429,6 @@ void ScDocShell::InitOptions(bool bForLoading) // called from InitNew and L aDocument.SetLanguage( (LanguageType) nDefLang, (LanguageType) nCjkLang, (LanguageType) nCtlLang ); } - - Printer* ScDocShell::GetDocumentPrinter() // fuer OLE { return aDocument.GetPrinter(); @@ -568,8 +556,6 @@ sal_uInt16 ScDocShell::SetPrinter( SfxPrinter* pNewPrinter, sal_uInt16 nDiffFlag return 0; } - - ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos ) { ScChangeTrack* pTrack = GetDocument()->GetChangeTrack(); @@ -668,8 +654,6 @@ void ScDocShell::ExecuteChangeCommentDialog( ScChangeAction* pAction, Window* pP delete pDlg; } - - void ScDocShell::CompareDocument( ScDocument& rOtherDoc ) { ScChangeTrack* pTrack = aDocument.GetChangeTrack(); @@ -731,12 +715,8 @@ void ScDocShell::CompareDocument( ScDocument& rOtherDoc ) SetDocumentModified(); } - - // Merge (Aenderungen zusammenfuehren) - - static inline sal_Bool lcl_Equal( const ScChangeAction* pA, const ScChangeAction* pB, sal_Bool bIgnore100Sec ) { return pA && pB && diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index c0941fece774..c993c1127d1e 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -98,8 +98,6 @@ using namespace ::com::sun::star; #include "sheetevents.hxx" #include <documentlinkmgr.hxx> - - #define IS_SHARE_HEADER(set) \ ((SfxBoolItem&) \ ((SvxSetItem&)(set).Get(ATTR_PAGE_HEADERSET)).GetItemSet(). \ @@ -114,8 +112,6 @@ using namespace ::com::sun::star; #define SC_PREVIEW_SIZE_Y 12400 - - void ScDocShell::Execute( SfxRequest& rReq ) { // SID_SC_RANGE (Range), @@ -1114,8 +1110,6 @@ void ScDocShell::Execute( SfxRequest& rReq ) } - - void UpdateAcceptChangesDialog() { // update "accept changes" dialog @@ -1129,8 +1123,6 @@ void UpdateAcceptChangesDialog() } } - - bool ScDocShell::ExecuteChangeProtectionDialog( Window* _pParent, bool bJustQueryIfProtected ) { bool bDone = false; @@ -1195,8 +1187,6 @@ bool ScDocShell::ExecuteChangeProtectionDialog( Window* _pParent, bool bJustQuer } - - void ScDocShell::DoRecalc( bool bApi ) { bool bDone = false; @@ -1272,8 +1262,6 @@ void ScDocShell::DoHardRecalc( bool /* bApi */ ) PostPaintGridAll(); } - - void ScDocShell::DoAutoStyle( const ScRange& rRange, const OUString& rStyle ) { ScStyleSheetPool* pStylePool = aDocument.GetStyleSheetPool(); @@ -1297,8 +1285,6 @@ void ScDocShell::DoAutoStyle( const ScRange& rRange, const OUString& rStyle ) } } - - void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint ) { sal_uInt16 nId = rHint.GetHint(); @@ -2198,8 +2184,6 @@ bool ScDocShell::DdeSetData( const OUString& rItem, return pObj; } - - ScViewData* ScDocShell::GetViewData() { SfxViewShell* pCur = SfxViewShell::Current(); @@ -2207,8 +2191,6 @@ ScViewData* ScDocShell::GetViewData() return pViewSh ? pViewSh->GetViewData() : NULL; } - - SCTAB ScDocShell::GetCurTab() { //! this must be made non-static and use a ViewShell from this document! @@ -2248,8 +2230,6 @@ SfxBindings* ScDocShell::GetViewBindings() return NULL; } - - ScDocShell* ScDocShell::GetShellByNum( sal_uInt16 nDocNo ) // static { ScDocShell* pFound = NULL; @@ -2271,8 +2251,6 @@ ScDocShell* ScDocShell::GetShellByNum( sal_uInt16 nDocNo ) // static return pFound; } - - IMPL_LINK( ScDocShell, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg ) { OSL_ENSURE( _pFileDlg, "ScDocShell::DialogClosedHdl(): no file dialog" ); diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx index 5ad9284e79d9..a743c3def4ad 100644 --- a/sc/source/ui/docshell/docsh5.cxx +++ b/sc/source/ui/docshell/docsh5.cxx @@ -67,8 +67,6 @@ using ::std::auto_ptr; using ::std::vector; - - // former viewfunc/dbfunc methods @@ -291,8 +289,6 @@ ScDBData* ScDocShell::GetDBData( const ScRange& rMarked, ScGetDBMode eMode, ScGe aDocument.SetAnonymousDBData(nTab, pNoNameData); } - - if ( pUndoColl ) { aDocument.CompileDBFormula( false ); // CompileFormulaString diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index 4c573f4cfe7e..6853ff2ea99e 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -66,8 +66,6 @@ struct ScStylePair // STATIC DATA ----------------------------------------------------------- - - // Ole diff --git a/sc/source/ui/docshell/docsh7.cxx b/sc/source/ui/docshell/docsh7.cxx index 2c21ac0b9206..3400001d3561 100644 --- a/sc/source/ui/docshell/docsh7.cxx +++ b/sc/source/ui/docshell/docsh7.cxx @@ -19,13 +19,9 @@ #include "docsh.hxx" - - void ScDocShell::GetDrawObjState( SfxItemSet & /* rSet */ ) { // SID_SC_ACTIVEOBJECT (SelectedObject) - removed (old Basic) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index e35989354207..28bbecac3eeb 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -79,8 +79,6 @@ using namespace com::sun::star; using ::std::vector; - - #define SC_SERVICE_ROWSET "com.sun.star.sdb.RowSet" //! move to a header file? @@ -239,8 +237,6 @@ bool ScDocShell::IsDocument( const INetURLObject& rURL ) return bRet; } - - #ifndef DISABLE_DBCONNECTIVITY static void lcl_setScalesToColumns(ScDocument& rDoc, const vector<long>& rScales) diff --git a/sc/source/ui/docshell/editable.cxx b/sc/source/ui/docshell/editable.cxx index 2a575aa02611..aab817d0d04e 100644 --- a/sc/source/ui/docshell/editable.cxx +++ b/sc/source/ui/docshell/editable.cxx @@ -67,8 +67,6 @@ ScEditableTester::ScEditableTester( ScViewFunc* pView ) : TestView( pView ); } - - void ScEditableTester::TestBlock( ScDocument* pDoc, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) { @@ -134,8 +132,6 @@ void ScEditableTester::TestView( ScViewFunc* pView ) } } - - sal_uInt16 ScEditableTester::GetMessageId() const { if (mbIsEditable) diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 76b394939bfa..257291248d18 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -243,8 +243,6 @@ void removeRangeNamesBySrcDoc(ScRangeName& rRanges, sal_uInt16 nFileId) } - - ScExternalRefCache::Table::Table() : meReferenced( REFERENCED_MARKED ) // Prevent accidental data loss due to lack of knowledge. @@ -472,22 +470,16 @@ 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() {} ScExternalRefCache::~ScExternalRefCache() {} @@ -1228,8 +1220,6 @@ ScExternalRefCache::DocItem* ScExternalRefCache::getDocItem(sal_uInt16 nFileId) return &itrDoc->second; } - - ScExternalRefLink::ScExternalRefLink(ScDocument* pDoc, sal_uInt16 nFileId, const OUString& rFilter) : ::sfx2::SvBaseLink(::sfx2::LINKUPDATE_ONCALL, FORMAT_FILE), mnFileId(nFileId), @@ -1298,8 +1288,6 @@ IMPL_LINK_NOARG(ScExternalRefLink, ExternalRefEndEditHdl) return 0; } - - static FormulaToken* convertToToken( ScDocument* pHostDoc, ScDocument* pSrcDoc, ScRefCellValue& rCell ) { if (rCell.hasEmptyValue()) @@ -1574,8 +1562,6 @@ ScExternalRefCache::TableTypeRef ScExternalRefManager::getCacheTable( return maRefCache.getCacheTable(nFileId, rTabName, bCreateNew, pnIndex); } - - ScExternalRefManager::LinkListener::LinkListener() { } @@ -1584,8 +1570,6 @@ ScExternalRefManager::LinkListener::~LinkListener() { } - - ScExternalRefManager::ApiGuard::ApiGuard(ScDocument* pDoc) : mpMgr(pDoc->GetExternalRefManager()), mbOldInteractionEnabled(mpMgr->mbUserInteractionEnabled) @@ -1600,8 +1584,6 @@ ScExternalRefManager::ApiGuard::~ApiGuard() mpMgr->mbUserInteractionEnabled = mbOldInteractionEnabled; } - - void ScExternalRefManager::getAllCachedTableNames(sal_uInt16 nFileId, vector<OUString>& rTabNames) const { maRefCache.getAllTableNames(nFileId, rTabNames); diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 6fa8b4fac2a5..e048ffef0f9a 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -56,8 +56,6 @@ #include <boost/scoped_ptr.hpp> - - // We don't want to end up with 2GB read in one line just because of malformed // multiline fields, so chop it _somewhere_, which is twice supported columns // times maximum cell content length, 2*1024*64K=128M, and because it's @@ -206,8 +204,6 @@ bool ScImportExport::IsFormatSupported( sal_uLong nFormat ) } - - // Vorbereitung fuer Undo: Undo-Dokument erzeugen @@ -264,8 +260,6 @@ void ScImportExport::EndPaste(bool bAutoRowHeight) } - - bool ScImportExport::ImportData( const OUString& /* rMimeType */, const ::com::sun::star::uno::Any & /* rValue */ ) { @@ -863,8 +857,6 @@ static inline void lcl_WriteSimpleString( SvStream& rStrm, const OUString& rStri } - - bool ScImportExport::Text2Doc( SvStream& rStrm ) { bool bOk = true; @@ -960,8 +952,6 @@ bool ScImportExport::Text2Doc( SvStream& rStrm ) // erweiterter Ascii-Import - - static bool lcl_PutString( ScDocumentImport& rDocImport, SCCOL nCol, SCROW nRow, SCTAB nTab, const OUString& rStr, sal_uInt8 nColFormat, SvNumberFormatter* pFormatter, bool bDetectNumFormat, diff --git a/sc/source/ui/docshell/macromgr.cxx b/sc/source/ui/docshell/macromgr.cxx index 9d31d398c850..6de5358fd9f2 100644 --- a/sc/source/ui/docshell/macromgr.cxx +++ b/sc/source/ui/docshell/macromgr.cxx @@ -36,8 +36,6 @@ using ::std::list; using ::std::for_each; using ::std::pair; - - /** * A simple container to keep track of cells that depend on basic modules * changes. We don't check for duplicates at insertion time; instead, we @@ -92,8 +90,6 @@ private: }; - - ScMacroManager::ScMacroManager(ScDocument* pDoc) : mpDepTracker(new ScUserMacroDepTracker), mpDoc(pDoc) diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx index 5759666d14da..240b1ad7b71c 100644 --- a/sc/source/ui/docshell/olinefun.cxx +++ b/sc/source/ui/docshell/olinefun.cxx @@ -28,8 +28,6 @@ #include "sc.hrc" - - static void lcl_InvalidateOutliner( SfxBindings* pBindings ) { if ( pBindings ) @@ -43,8 +41,6 @@ static void lcl_InvalidateOutliner( SfxBindings* pBindings ) } } - - //! PaintWidthHeight zur DocShell verschieben? static void lcl_PaintWidthHeight( ScDocShell& rDocShell, SCTAB nTab, @@ -78,8 +74,6 @@ 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 ) { bool bSuccess = false; @@ -265,8 +259,6 @@ bool ScOutlineDocFunc::RemoveAllOutlines( SCTAB nTab, bool bRecord ) return bSuccess; } - - bool ScOutlineDocFunc::AutoOutline( const ScRange& rRange, bool bRecord ) { SCCOL nStartCol = rRange.aStart.Col(); @@ -331,8 +323,6 @@ 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,8 +416,6 @@ bool ScOutlineDocFunc::SelectLevel( SCTAB nTab, bool bColumns, sal_uInt16 nLevel return true; } - - bool ScOutlineDocFunc::ShowMarkedOutlines( const ScRange& rRange, bool bRecord ) { bool bDone = false; @@ -624,8 +612,6 @@ 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 ) { @@ -771,6 +757,4 @@ bool ScOutlineDocFunc::HideOutline( SCTAB nTab, bool bColumns, sal_uInt16 nLevel - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/pagedata.cxx b/sc/source/ui/docshell/pagedata.cxx index cad02c397574..b0c6110490db 100644 --- a/sc/source/ui/docshell/pagedata.cxx +++ b/sc/source/ui/docshell/pagedata.cxx @@ -21,8 +21,6 @@ #include "pagedata.hxx" - - ScPrintRangeData::ScPrintRangeData() { nPagesX = nPagesY = 0; @@ -64,8 +62,6 @@ void ScPrintRangeData::SetPagesY( size_t nCount, const SCROW* pData ) nPagesY = nCount; } - - ScPageBreakData::ScPageBreakData(size_t nMax) { nUsed = 0; @@ -121,6 +117,4 @@ void ScPageBreakData::AddPages() } } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/pntlock.cxx b/sc/source/ui/docshell/pntlock.cxx index 9db2dfe7a594..58a31495fbfa 100644 --- a/sc/source/ui/docshell/pntlock.cxx +++ b/sc/source/ui/docshell/pntlock.cxx @@ -19,8 +19,6 @@ #include "pntlock.hxx" - - ScPaintLockData::ScPaintLockData() : nLevel( 0 ), nDocLevel( 0 ), @@ -43,6 +41,4 @@ void ScPaintLockData::AddRange( const ScRange& rRange, sal_uInt16 nP ) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/servobj.cxx b/sc/source/ui/docshell/servobj.cxx index 5f1d8d18d8e9..71d1368c3872 100644 --- a/sc/source/ui/docshell/servobj.cxx +++ b/sc/source/ui/docshell/servobj.cxx @@ -29,8 +29,6 @@ using namespace formula; - - static bool lcl_FillRangeFromName( ScRange& rRange, ScDocShell* pDocSh, const OUString& rName ) { if (pDocSh) @@ -258,6 +256,4 @@ void ScServerObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/docshell/sizedev.cxx b/sc/source/ui/docshell/sizedev.cxx index 3b73fc9e41d2..1a9da440b651 100644 --- a/sc/source/ui/docshell/sizedev.cxx +++ b/sc/source/ui/docshell/sizedev.cxx @@ -25,8 +25,6 @@ #include "scmod.hxx" #include "inputopt.hxx" - - ScSizeDeviceProvider::ScSizeDeviceProvider( ScDocShell* pDocSh ) { sal_Bool bTextWysiwyg = SC_MOD()->GetInputOptions().GetTextWysiwyg(); diff --git a/sc/source/ui/docshell/tablink.cxx b/sc/source/ui/docshell/tablink.cxx index c67fada503dd..cf28198beffb 100644 --- a/sc/source/ui/docshell/tablink.cxx +++ b/sc/source/ui/docshell/tablink.cxx @@ -56,8 +56,6 @@ struct TableLink_Impl TYPEINIT1(ScTableLink, ::sfx2::SvBaseLink); - - ScTableLink::ScTableLink(ScDocShell* pDocSh, const OUString& rFile, const OUString& rFilter, const OUString& rOpt, sal_uLong nRefresh ): diff --git a/sc/source/ui/docshell/tpstat.cxx b/sc/source/ui/docshell/tpstat.cxx index de9afa62bd45..d1dbac731dc3 100644 --- a/sc/source/ui/docshell/tpstat.cxx +++ b/sc/source/ui/docshell/tpstat.cxx @@ -20,16 +20,12 @@ #undef SC_DLLIMPLEMENTATION - - #include "document.hxx" #include "docsh.hxx" #include "scresid.hxx" #include "tpstat.hxx" - - // Dokumentinfo-Tabpage: @@ -38,8 +34,6 @@ 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,26 +56,18 @@ ScDocStatPage::ScDocStatPage( Window *pParent, const SfxItemSet& rSet ) } - - ScDocStatPage::~ScDocStatPage() { } - - bool ScDocStatPage::FillItemSet( SfxItemSet& /* rSet */ ) { return false; } - - void ScDocStatPage::Reset( const SfxItemSet& /* rSet */ ) { } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |