diff options
Diffstat (limited to 'sw/source/ui/table/tablemgr.cxx')
-rw-r--r-- | sw/source/ui/table/tablemgr.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/ui/table/tablemgr.cxx b/sw/source/ui/table/tablemgr.cxx index c0f325862d82..16958e3fc1ca 100644 --- a/sw/source/ui/table/tablemgr.cxx +++ b/sw/source/ui/table/tablemgr.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -58,7 +58,7 @@ using namespace ::com::sun::star; /*------------------------------------------------------------------------ - Beschreibung: Zeilenhoehe einstellen (Dialog) + Beschreibung: Zeilenhoehe einstellen (Dialog) ------------------------------------------------------------------------*/ @@ -119,7 +119,7 @@ SwTwips SwTableFUNC::GetMaxColWidth( USHORT nNum ) const { // Die max. Breite ergibt sich aus der eigenen Breite und // der Breite der Nachbarzellen um je MINLAY verringert - SwTwips nMax = nNum == 0 ? + SwTwips nMax = nNum == 0 ? GetColWidth(1) - MINLAY : nNum == GetColCount() ? GetColWidth( nNum-1 ) - MINLAY : @@ -214,7 +214,7 @@ void SwTableFUNC::UpdateChart() } } -uno::Reference< frame::XModel > SwTableFUNC::InsertChart( +uno::Reference< frame::XModel > SwTableFUNC::InsertChart( uno::Reference< chart2::data::XDataProvider > &rxDataProvider, sal_Bool bFillWithData, const rtl::OUString &rCellRange, @@ -248,7 +248,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart( ::svt::EmbeddedObjectRef aEmbObjRef( xObj, ::com::sun::star::embed::Aspects::MSOLE_CONTENT ); if ( xObj.is() ) { - + SwFlyFrmFmt* pTmp = 0; pSh->InsertOleObject( aEmbObjRef, &pTmp ); if (ppFlyFrmFmt) @@ -258,7 +258,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart( if( xCompSupp.is()) { xChartModel.set( xCompSupp->getComponent(), uno::UNO_QUERY ); - if( xChartModel.is() ) + if( xChartModel.is() ) xChartModel->lockControllers(); //#i79578# don't request a new replacement image for charts to often - block change notifications } @@ -308,7 +308,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart( bHasCategories = false; if (nRowLen == 1 && nColLen == 1) - bFirstCellAsLabel = false; + bFirstCellAsLabel = false; else if (nRowLen > 1) eDataRowSource = chart::ChartDataRowSource_ROWS; else if (nColLen > 1) @@ -336,12 +336,12 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart( pSh->EndUndo( UNDO_UI_INSERT_CHART ); - if( xChartModel.is() ) + if( xChartModel.is() ) xChartModel->unlockControllers(); //#i79578# don't request a new replacement image for charts to often return xChartModel; } -USHORT SwTableFUNC::GetCurColNum() const +USHORT SwTableFUNC::GetCurColNum() const { USHORT nPos = pSh->GetCurTabColNum(); USHORT nCount = 0; @@ -354,7 +354,7 @@ USHORT SwTableFUNC::GetCurColNum() const -USHORT SwTableFUNC::GetColCount() const +USHORT SwTableFUNC::GetColCount() const { USHORT nCount = 0; for(USHORT i = 0; i < aCols.Count(); i++ ) |