summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-25 05:20:47 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-25 05:41:10 +0200
commit37e6631cc5d4147e9d0a4ebefbd0c9d2a8137d24 (patch)
tree060cf0aafda3f205b3e12508465a5403826d014d /sc/source/ui/docshell
parented6b8a100c1aabb342573f252509573bbe124d29 (diff)
remove whitespace
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/arealink.cxx1
-rw-r--r--sc/source/ui/docshell/autostyl.cxx2
-rw-r--r--sc/source/ui/docshell/datastream.cxx2
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx3
-rw-r--r--sc/source/ui/docshell/dbdocimp.cxx14
-rw-r--r--sc/source/ui/docshell/docfunc.cxx14
-rw-r--r--sc/source/ui/docshell/docsh.cxx22
-rw-r--r--sc/source/ui/docshell/docsh2.cxx4
-rw-r--r--sc/source/ui/docshell/docsh3.cxx2
-rw-r--r--sc/source/ui/docshell/docsh4.cxx7
-rw-r--r--sc/source/ui/docshell/docsh5.cxx4
-rw-r--r--sc/source/ui/docshell/docsh6.cxx6
-rw-r--r--sc/source/ui/docshell/docsh8.cxx2
-rw-r--r--sc/source/ui/docshell/externalrefmgr.cxx2
-rw-r--r--sc/source/ui/docshell/impex.cxx1
-rw-r--r--sc/source/ui/docshell/macromgr.cxx1
-rw-r--r--sc/source/ui/docshell/olinefun.cxx3
-rw-r--r--sc/source/ui/docshell/pntlock.cxx1
-rw-r--r--sc/source/ui/docshell/servobj.cxx2
-rw-r--r--sc/source/ui/docshell/tpstat.cxx3
20 files changed, 0 insertions, 96 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx
index 6bfb499821ae..7239ad0bf9e4 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -482,7 +482,6 @@ bool ScAreaLink::Refresh( const OUString& rNewFile, const OUString& rNewFilter,
return bCanDo;
}
-
IMPL_LINK_NOARG(ScAreaLink, RefreshHdl)
{
return long(
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx
index 5c9bdd8b2672..7873310fd4c5 100644
--- a/sc/source/ui/docshell/autostyl.cxx
+++ b/sc/source/ui/docshell/autostyl.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <time.h>
#include "attrib.hxx"
@@ -216,5 +215,4 @@ IMPL_LINK_NOARG(ScAutoStyleList, TimerHdl)
return 0;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx
index 84f4db54704f..5a196d406248 100644
--- a/sc/source/ui/docshell/datastream.cxx
+++ b/sc/source/ui/docshell/datastream.cxx
@@ -377,8 +377,6 @@ ScRange DataStream::GetRange() const
return aRange;
}
-
-
void DataStream::Decode(const OUString& rURL, const ScRange& rRange,
sal_Int32 nLimit, MoveType eMove, const sal_uInt32 nSettings)
{
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index d6c9a0df990a..0c8e5d1dc63c 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -485,7 +485,6 @@ bool ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam& rSortParam,
return false;
}
-
// ausfuehren
WaitObject aWait( rDocShell.GetActiveDialogParent() );
@@ -990,7 +989,6 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
pOld, bDoSize, pAdvSource ) );
}
-
if (bCopy)
{
SCCOL nEndX = aLocalParam.nCol2;
@@ -1739,5 +1737,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 8aec5c0c9feb..702b239da276 100644
--- a/sc/source/ui/docshell/dbdocimp.cxx
+++ b/sc/source/ui/docshell/dbdocimp.cxx
@@ -36,7 +36,6 @@
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
-
#include "dbdocfun.hxx"
#include "docsh.hxx"
#include "globstr.hrc"
@@ -189,10 +188,8 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
ScDocument* pImportDoc = new ScDocument( SCDOCMODE_UNDO );
pImportDoc->InitUndo( &rDoc, nTab, nTab );
-
// get data from database into import document
-
try
{
// progress bar
@@ -216,7 +213,6 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
// set source parameters
-
sal_Int32 nType = rParam.bSql ? sdb::CommandType::COMMAND :
( (rParam.nType == ScDbQuery) ? sdb::CommandType::QUERY :
sdb::CommandType::TABLE );
@@ -251,7 +247,6 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
// get column descriptions
-
long nColCount = 0;
uno::Reference<sdbc::XResultSetMetaData> xMeta;
uno::Reference<sdbc::XResultSetMetaDataSupplier> xMetaSupp( xRowSet, uno::UNO_QUERY );
@@ -398,10 +393,8 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
OSL_FAIL("Unexpected exception in database");
}
-
// test for cell protection
-
bool bKeepFormat = !bAddrInsert && pDBData->IsKeepFmt();
bool bMoveCells = !bAddrInsert && pDBData->IsDoSize();
SCCOL nFormulaCols = 0; // columns to be filled with formulas
@@ -446,10 +439,8 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
}
}
-
// copy data from import doc into real document
-
if ( bSuccess )
{
if (bKeepFormat)
@@ -486,10 +477,8 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
pImportDoc->ApplyPatternAreaTab( 0,0,MAXCOL,MAXROW, nTab, aPattern );
}
-
// copy old data for undo
-
SCCOL nUndoEndCol = std::max( nEndCol, rParam.nCol2 ); // rParam = old end
SCROW nUndoEndRow = std::max( nEndRow, rParam.nRow2 );
@@ -526,10 +515,8 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
nCopyFlags, false, pUndoDoc );
}
-
// move new data
-
if (bMoveCells)
{
// clear only the range without the formulas,
@@ -660,5 +647,4 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
return bSuccess;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index fbac2b51c6ef..f45db67ef0b9 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -96,7 +96,6 @@ using namespace com::sun::star;
using ::com::sun::star::uno::Sequence;
using ::std::vector;
-
// STATIC DATA -----------------------------------------------------------
IMPL_LINK( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction )
@@ -162,7 +161,6 @@ bool ScDocFunc::AdjustRowHeight( const ScRange& rRange, bool bPaint )
return bChanged;
}
-
bool ScDocFunc::DetectiveAddPred(const ScAddress& rPos)
{
ScDocShellModificator aModificator( rDocShell );
@@ -1113,7 +1111,6 @@ bool ScDocFunc::PutData( const ScAddress& rPos, ScEditEngineDefaulter& rEngine,
return bRet;
}
-
static ScTokenArray* lcl_ScDocFunc_CreateTokenArrayXML( const OUString& rText, const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar )
{
ScTokenArray* pCode = new ScTokenArray;
@@ -1341,7 +1338,6 @@ bool ScDocFunc::ApplyAttributes( const ScMarkData& rMark, const ScPatternAttr& r
return true;
}
-
bool ScDocFunc::ApplyStyle( const ScMarkData& rMark, const OUString& rStyleName,
bool bRecord, bool bApi )
{
@@ -2275,10 +2271,8 @@ bool ScDocFunc::DeleteCells( const ScRange& rRange, const ScMarkData* pTabMark,
}
}
-
// ausfuehren
-
WaitObject aWait( rDocShell.GetActiveDialogParent() ); // wichtig wegen TrackFormulas bei UpdateReference
ScDocument* pUndoDoc = NULL;
@@ -2639,10 +2633,8 @@ bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos,
sal_uInt16 nDestExt = 0;
rDocShell.UpdatePaintExt( nDestExt, nDestCol,nDestRow,nDestTab, nDestEndCol,nDestEndRow,nDestEndTab );
-
// ausfuehren
-
ScDocument* pUndoDoc = NULL;
ScDocument* pRefUndoDoc = NULL;
ScRefUndoData* pUndoData = NULL;
@@ -2728,7 +2720,6 @@ bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos,
rDoc.CopyFromClip( aPasteDest, aDestMark, IDF_ALL & ~(IDF_OBJECTS),
NULL, pClipDoc, true, false, bIncludeFiltered );
-
// skipped rows and merged cells don't mix
if ( !bIncludeFiltered && pClipDoc->HasClipFilteredRows() )
UnmergeCells( aPasteDest, false );
@@ -2855,7 +2846,6 @@ 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);
@@ -2954,7 +2944,6 @@ void VBA_DeleteModule( ScDocShell& rDocSh, const OUString& sModuleName )
}
}
-
bool ScDocFunc::InsertTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi )
{
bool bSuccess = false;
@@ -2964,7 +2953,6 @@ bool ScDocFunc::InsertTable( SCTAB nTab, const OUString& rName, bool bRecord, bo
ScDocument& rDoc = rDocShell.GetDocument();
-
// Strange loop, also basic is loaded too early ( InsertTable )
// is called via the xml import for sheets in described in ODF
bool bInsertDocModule = false;
@@ -3514,7 +3502,6 @@ bool ScDocFunc::SetWidthOrHeight(
return bSuccess;
}
-
bool ScDocFunc::InsertPageBreak( bool bColumn, const ScAddress& rPos,
bool bRecord, bool bSetModified, bool /* bApi */ )
{
@@ -4520,7 +4507,6 @@ bool ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir e
ScRange aSourceArea = rRange;
ScRange aDestArea = rRange;
-
switch (eDir)
{
case FILL_TO_BOTTOM:
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 8c1ea5b0b2db..1e5e4486c6c2 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -169,7 +169,6 @@ static const sal_Char pFilterRtf[] = "Rich Text Format (StarCalc)";
#define ScDocShell
#include "scslots.hxx"
-
SFX_IMPL_INTERFACE(ScDocShell,SfxObjectShell, ScResId(SCSTR_DOCSHELL))
void ScDocShell::InitInterface_Impl()
@@ -315,7 +314,6 @@ void ScDocShell::AfterXMLLoading(bool bRet)
++pNameBuffer;
}
-
if( *pNameBuffer == SC_COMPILER_FILE_TAB_SEP ) // after the last quote of the docname should be the # char
{
sal_Int32 nIndex = nNameLength - nLinkTabNameLength;
@@ -1503,7 +1501,6 @@ bool ScDocShell::ConvertFrom( SfxMedium& rMedium )
}
FinishedLoading( SFX_LOADED_MAINDOCUMENT | SFX_LOADED_IMAGES );
-
// invalidate eventually temporary table areas
if ( bRet )
aDocument.InvalidateTableArea();
@@ -1554,7 +1551,6 @@ bool ScDocShell::LoadExternal( SfxMedium& rMed )
return false;
}
-
ScDocShell::PrepareSaveGuard::PrepareSaveGuard( ScDocShell& rDocShell )
: mrDocShell( rDocShell)
{
@@ -1592,7 +1588,6 @@ ScDocShell::PrepareSaveGuard::~PrepareSaveGuard()
}
}
-
bool ScDocShell::Save()
{
ScRefreshTimerProtector aProt( aDocument.GetRefreshTimerControlAddress() );
@@ -1672,7 +1667,6 @@ bool ScDocShell::SaveAs( SfxMedium& rMedium )
return false;
}
-
ScRefreshTimerProtector aProt( aDocument.GetRefreshTimerControlAddress() );
PrepareSaveGuard aPrepareGuard( *this);
@@ -1696,7 +1690,6 @@ bool ScDocShell::SaveAs( SfxMedium& rMedium )
return bRet;
}
-
bool ScDocShell::IsInformationLost()
{
//FIXME: If we have time build a correct own way how to handle this
@@ -1717,7 +1710,6 @@ sal_Int32 lcl_ScDocShell_GetColWidthInChars( sal_uInt16 nWidth )
return sal_Int32( f );
}
-
void lcl_ScDocShell_GetFixedWidthString( OUString& rStr, const ScDocument& rDoc,
SCTAB nTab, SCCOL nCol, bool bValue, SvxCellHorJustify eHorJust )
{
@@ -1771,7 +1763,6 @@ void lcl_ScDocShell_GetFixedWidthString( OUString& rStr, const ScDocument& rDoc,
rStr = aString;
}
-
void lcl_ScDocShell_WriteEmptyFixedWidthString( SvStream& rStream,
const ScDocument& rDoc, SCTAB nTab, SCCOL nCol )
{
@@ -2452,7 +2443,6 @@ bool ScDocShell::SaveCompleted( const uno::Reference < embed::XStorage >& xStor
return SfxObjectShell::SaveCompleted( xStor );
}
-
bool ScDocShell::DoSaveCompleted( SfxMedium * pNewStor )
{
bool bRet = SfxObjectShell::DoSaveCompleted( pNewStor );
@@ -2462,7 +2452,6 @@ bool ScDocShell::DoSaveCompleted( SfxMedium * pNewStor )
return bRet;
}
-
bool ScDocShell::QuerySlotExecutable( sal_uInt16 nSlotId )
{
// #i112634# ask VBA event handlers whether to save or print the document
@@ -2501,7 +2490,6 @@ bool ScDocShell::QuerySlotExecutable( sal_uInt16 nSlotId )
return bSlotExecutable;
}
-
bool ScDocShell::PrepareClose( bool bUI )
{
if(SC_MOD()->GetCurRefDlgId()>0)
@@ -2568,7 +2556,6 @@ void ScDocShell::PrepareReload()
aDocument.GetDocLinkManager().disconnectDdeLinks();
}
-
OUString ScDocShell::GetOwnFilterName()
{
return OUString(pFilterSc50);
@@ -2777,7 +2764,6 @@ void ScDocShell::SetModified( bool bModified )
}
}
-
void ScDocShell::SetDocumentModified( bool bIsModified /* = true */ )
{
// BroadcastUno must also happen right away with pPaintLockData
@@ -2880,7 +2866,6 @@ void ScDocShell::SetInUndo(bool bSet)
bIsInUndo = bSet;
}
-
void ScDocShell::GetDocStat( ScDocStat& rDocStat )
{
SfxPrinter* pPrinter = GetPrinter();
@@ -2894,7 +2879,6 @@ void ScDocShell::GetDocStat( ScDocStat& rDocStat )
(sal_uInt16) ScPrintFunc( this, pPrinter, i ).GetTotalPages() );
}
-
SfxDocumentInfoDialog* ScDocShell::CreateDocumentInfoDialog(
Window *pParent, const SfxItemSet &rSet )
{
@@ -3077,7 +3061,6 @@ ScDocShellModificator::ScDocShellModificator( ScDocShell& rDS )
rDoc.EnableIdle(false);
}
-
ScDocShellModificator::~ScDocShellModificator()
{
ScDocument& rDoc = rDocShell.GetDocument();
@@ -3087,7 +3070,6 @@ ScDocShellModificator::~ScDocShellModificator()
rDoc.EnableIdle(bIdleEnabled);
}
-
void ScDocShellModificator::SetDocumentModified()
{
ScDocument& rDoc = rDocShell.GetDocument();
@@ -3114,7 +3096,6 @@ bool ScDocShell::IsChangeRecording() const
return pChangeTrack != NULL;
}
-
bool ScDocShell::HasChangeRecordProtection() const
{
bool bRes = false;
@@ -3124,7 +3105,6 @@ bool ScDocShell::HasChangeRecordProtection() const
return bRes;
}
-
void ScDocShell::SetChangeRecording( bool bActivate )
{
bool bOldChangeRecording = IsChangeRecording();
@@ -3152,7 +3132,6 @@ void ScDocShell::SetChangeRecording( bool bActivate )
}
}
-
bool ScDocShell::SetProtectionPassword( const OUString &rNewPassword )
{
bool bRes = false;
@@ -3186,7 +3165,6 @@ bool ScDocShell::SetProtectionPassword( const OUString &rNewPassword )
return bRes;
}
-
bool ScDocShell::GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal_Int8 > &rPasswordHash )
{
bool bRes = false;
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index 216599f8c43b..a7047fa504f3 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -60,8 +60,6 @@ bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
return bRet;
}
-
-
void ScDocShell::SetEmpty(bool bSet)
{
bIsEmpty = bSet;
@@ -146,12 +144,10 @@ void ScDocShell::Activate()
{
}
-
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 d7862d17195e..e3eb97b3ecf5 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -127,7 +127,6 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, sal_uInt16 nPart, sal_uI
continue;
}
-
if (nExtFlags & SC_PF_LINES) // Platz fuer Linien beruecksichtigen
{
//! Abfrage auf versteckte Spalten/Zeilen!
@@ -802,7 +801,6 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
//! Abfrage, ob die Dokumente vor dem Change-Tracking gleich waren !!!
-
const ScChangeAction* pFirstMergeAction = pSourceAction;
const ScChangeAction* pFirstSearchAction = pThisAction;
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 04751134d07b..0f5a9cffdab5 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -112,7 +112,6 @@ using namespace ::com::sun::star;
#define SC_PREVIEW_SIZE_X 10000
#define SC_PREVIEW_SIZE_Y 12400
-
void ScDocShell::Execute( SfxRequest& rReq )
{
// SID_SC_RANGE (Range),
@@ -542,7 +541,6 @@ void ScDocShell::Execute( SfxRequest& rReq )
}
break;
-
case SID_AUTO_STYLE:
OSL_FAIL("use ScAutoStyleHint instead of SID_AUTO_STYLE");
break;
@@ -1105,7 +1103,6 @@ void ScDocShell::Execute( SfxRequest& rReq )
}
}
-
void UpdateAcceptChangesDialog()
{
// update "accept changes" dialog
@@ -1182,7 +1179,6 @@ bool ScDocShell::ExecuteChangeProtectionDialog( Window* _pParent, bool bJustQuer
return bDone;
}
-
void ScDocShell::DoRecalc( bool bApi )
{
bool bDone = false;
@@ -1849,11 +1845,9 @@ void ScDocShell::GetSbxState( SfxItemSet &rSet )
// SID_TABLES_GET (Tables),
// SID_PIVOT_GET (DataPilotTables) - removed (old Basic)
-
// Wenn hier Slots von der View-Shell executed werden, muss auch der
// GetState weitergeleitet werden!
-
ScTabViewShell* pVisibleSh = GetBestViewShell(); // sichtbare View
if ( pVisibleSh )
pVisibleSh->GetState( rSet );
@@ -1998,7 +1992,6 @@ void SnapVer( const ScDocument& rDoc, SCTAB nTab, long& rVal, SCROW& rStartRow )
rStartRow = nRow;
}
-
}
void ScDocShell::SnapVisArea( Rectangle& rRect ) const
diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx
index 88cab9572471..d9ba6d37c5e8 100644
--- a/sc/source/ui/docshell/docsh5.cxx
+++ b/sc/source/ui/docshell/docsh5.cxx
@@ -66,10 +66,8 @@ using com::sun::star::uno::UNO_QUERY;
using ::std::auto_ptr;
using ::std::vector;
-
// former viewfunc/dbfunc methods
-
void ScDocShell::ErrorMessage( sal_uInt16 nGlobStrId )
{
//! StopMarking an der (aktiven) View?
@@ -367,7 +365,6 @@ void ScDocShell::CancelAutoDBRange()
}
}
-
// Hoehen anpassen
//! mit docfunc zusammenfassen
@@ -986,7 +983,6 @@ bool ScDocShell::MoveTable( SCTAB nSrcTab, SCTAB nDestTab, bool bCopy, bool bRec
return true;
}
-
IMPL_LINK( ScDocShell, RefreshDBDataHdl, ScRefreshTimer*, pRefreshTimer )
{
ScDBDocFunc aFunc(*this);
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx
index 1e21b7541ea7..c6b3dc600c20 100644
--- a/sc/source/ui/docshell/docsh6.cxx
+++ b/sc/source/ui/docshell/docsh6.cxx
@@ -66,10 +66,8 @@ struct ScStylePair
// STATIC DATA -----------------------------------------------------------
-
// Ole
-
void ScDocShell::SetVisArea( const Rectangle & rVisArea )
{
// with the SnapVisArea call in SetVisAreaOrSize, it's safe to always
@@ -214,16 +212,13 @@ void ScDocShell::UpdateOle( const ScViewData* pViewData, bool bSnapSize )
SetVisAreaOrSize( aNewArea, true ); // hier muss auch der Start angepasst werden
}
-
// Style-Krempel fuer Organizer etc.
-
SfxStyleSheetBasePool* ScDocShell::GetStyleSheetPool()
{
return (SfxStyleSheetBasePool*)aDocument.GetStyleSheetPool();
}
-
// nach dem Laden von Vorlagen aus einem anderen Dokment (LoadStyles, Insert)
// muessen die SetItems (ATTR_PAGE_HEADERSET, ATTR_PAGE_FOOTERSET) auf den richtigen
// Pool umgesetzt werden, bevor der Quell-Pool geloescht wird.
@@ -336,7 +331,6 @@ void ScDocShell::LoadStylesArgs( ScDocShell& rSource, bool bReplace, bool bCellS
PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID | PAINT_LEFT ); // Paint
}
-
void ScDocShell::ReconnectDdeLink(SfxObjectShell& rServer)
{
::sfx2::LinkManager* pLinkManager = aDocument.GetLinkManager();
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index a37f78fdbc30..570e0d605dc0 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -152,7 +152,6 @@ namespace
#endif // HAVE_FEATURE_DBCONNECTIVITY
-
// MoveFile/KillFile/IsDocument: similar to SfxContentHelper
bool ScDocShell::MoveFile( const INetURLObject& rSourceObj, const INetURLObject& rDestObj )
@@ -199,7 +198,6 @@ bool ScDocShell::MoveFile( const INetURLObject& rSourceObj, const INetURLObject&
return bRet;
}
-
bool ScDocShell::KillFile( const INetURLObject& rURL )
{
bool bRet = true;
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx
index 5269d78b58c4..f251164af674 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -274,7 +274,6 @@ void ScExternalRefCache::Table::setReferenced( bool bReferenced )
meReferenced = (bReferenced ? REFERENCED_MARKED : UNREFERENCED);
}
-
bool ScExternalRefCache::Table::isReferenced() const
{
return meReferenced != UNREFERENCED;
@@ -1103,7 +1102,6 @@ void ScExternalRefCache::addCacheDocToReferenced( sal_uInt16 nFileId )
}
}
-
void ScExternalRefCache::getAllCachedDataSpans( sal_uInt16 nFileId, sc::ColumnSpanSet& rSet ) const
{
const DocItem* pDocItem = getDocItem(nFileId);
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index 9882966a1992..4b252823c549 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -2140,7 +2140,6 @@ bool ScImportExport::RTF2Doc( SvStream& rStrm, const OUString& rBaseURL )
return bOk;
}
-
bool ScImportExport::HTML2Doc( SvStream& rStrm, const OUString& rBaseURL )
{
ScEEAbsImport *pImp = ScFormatFilter::Get().CreateHTMLImport( pDoc, rBaseURL, aRange, true);
diff --git a/sc/source/ui/docshell/macromgr.cxx b/sc/source/ui/docshell/macromgr.cxx
index b4e0e336d82c..c17c0b7563f9 100644
--- a/sc/source/ui/docshell/macromgr.cxx
+++ b/sc/source/ui/docshell/macromgr.cxx
@@ -89,7 +89,6 @@ private:
ModuleCellMap maCells;
};
-
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 3aa5cf6b0c64..9def268ed97a 100644
--- a/sc/source/ui/docshell/olinefun.cxx
+++ b/sc/source/ui/docshell/olinefun.cxx
@@ -27,7 +27,6 @@
#include "globstr.hrc"
#include "sc.hrc"
-
static void lcl_InvalidateOutliner( SfxBindings* pBindings )
{
if ( pBindings )
@@ -752,6 +751,4 @@ bool ScOutlineDocFunc::HideOutline( SCTAB nTab, bool bColumns, sal_uInt16 nLevel
return true; //! immer ???
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/docshell/pntlock.cxx b/sc/source/ui/docshell/pntlock.cxx
index 58a31495fbfa..81813b71567e 100644
--- a/sc/source/ui/docshell/pntlock.cxx
+++ b/sc/source/ui/docshell/pntlock.cxx
@@ -40,5 +40,4 @@ void ScPaintLockData::AddRange( const ScRange& rRange, sal_uInt16 nP )
nParts |= 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 416e6359311e..b23f9c751930 100644
--- a/sc/source/ui/docshell/servobj.cxx
+++ b/sc/source/ui/docshell/servobj.cxx
@@ -254,6 +254,4 @@ void ScServerObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SvLinkSource::NotifyDataChanged();
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/docshell/tpstat.cxx b/sc/source/ui/docshell/tpstat.cxx
index a13a09fa0527..892cc1d2008f 100644
--- a/sc/source/ui/docshell/tpstat.cxx
+++ b/sc/source/ui/docshell/tpstat.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#undef SC_DLLIMPLEMENTATION
#include "document.hxx"
@@ -28,7 +27,6 @@
// Dokumentinfo-Tabpage:
-
SfxTabPage* ScDocStatPage::Create( Window *pParent, const SfxItemSet* rSet )
{
return new ScDocStatPage( pParent, *rSet );
@@ -69,5 +67,4 @@ void ScDocStatPage::Reset( const SfxItemSet* /* rSet */ )
{
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */