sc/inc/document.hxx | 4 ---- sc/source/core/data/document.cxx | 19 ------------------- unusedcode.easy | 2 -- 3 files changed, 25 deletions(-)
New commits: commit 49ab16c9ad3eb0d27f8c66f2b535a8495671878f Author: Julien Nabet <serval2...@yahoo.fr> Date: Thu Aug 9 19:34:13 2012 +0200 Bin 2 other functions ScDocument::GetFormattedAndUsedArea(short, short&, int&) const ScDocument::InitializeAllNoteCaptions(bool) Change-Id: I210815aef7c4096b040af841444dc65dd5138606 diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 8fcdc6d..7b8e48b 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -816,9 +816,6 @@ public: /** Creates the captions of all uninitialized cell notes in the specified sheet. @param bForced True = always create all captions, false = skip when Undo is disabled. */ void InitializeNoteCaptions( SCTAB nTab, bool bForced = false ); - /** Creates the captions of all uninitialized cell notes in all sheets. - @param bForced True = always create all captions, false = skip when Undo is disabled. */ - void InitializeAllNoteCaptions( bool bForced = false ); void SetDrawPageSize(SCTAB nTab); @@ -935,7 +932,6 @@ public: SCCOL& rEndCol, SCROW& rEndRow, bool bIncludeOld, bool bOnlyDown ) const; SC_DLLPUBLIC bool GetCellArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow ) const; SC_DLLPUBLIC bool GetTableArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow ) const; - SC_DLLPUBLIC void GetFormattedAndUsedArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow ) const; SC_DLLPUBLIC bool GetPrintArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow, bool bNotes = true ) const; SC_DLLPUBLIC bool GetPrintAreaHor( SCTAB nTab, SCROW nStartRow, SCROW nEndRow, diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 58f834f..c160b68 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -940,19 +940,6 @@ bool ScDocument::GetTableArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow ) cons return false; } -void ScDocument::GetFormattedAndUsedArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow ) const -{ - if (VALIDTAB(nTab) && nTab < static_cast<SCTAB> (maTabs.size())) - if (maTabs[nTab]) - { - maTabs[nTab]->GetPrintArea( rEndCol, rEndRow, true, true ); - return; - } - - rEndCol = 0; - rEndRow = 0; -} - bool ScDocument::ShrinkToDataArea(SCTAB nTab, SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, SCROW& rEndRow) const { if (!ValidTab(nTab) || nTab >= static_cast<SCTAB> (maTabs.size()) || !maTabs[nTab]) @@ -3266,12 +3253,6 @@ void ScDocument::InitializeNoteCaptions( SCTAB nTab, bool bForced ) maTabs[ nTab ]->InitializeNoteCaptions( bForced ); } -void ScDocument::InitializeAllNoteCaptions( bool bForced ) -{ - for( SCTAB nTab = 0; nTab < static_cast<SCTAB>(maTabs.size()); ++nTab ) - InitializeNoteCaptions( nTab, bForced ); -} - void ScDocument::SetDirty() { bool bOldAutoCalc = GetAutoCalc(); diff --git a/unusedcode.easy b/unusedcode.easy index 4681351..0a25bec 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -11,8 +11,6 @@ ScCompressedArray<int, unsigned short>::Remove(int, unsigned long) ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short const&, unsigned long) ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short const*, unsigned long) ScCompressedArray<int, unsigned short>::SetValue(int, unsigned short const&) -ScDocument::GetFormattedAndUsedArea(short, short&, int&) const -ScDocument::InitializeAllNoteCaptions(bool) ScTabView::HideCursor() ScVbaFormat<ooo::vba::excel::XRange>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&) ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits