summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-08-09 19:34:13 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-08-09 19:38:21 +0200
commit49ab16c9ad3eb0d27f8c66f2b535a8495671878f (patch)
tree5ad54d21b506762cd2095f255c0b82693646cbc3 /sc
parentb5b855c3f9b026dfd2f3163c63df784944e4f038 (diff)
Bin 2 other functions
ScDocument::GetFormattedAndUsedArea(short, short&, int&) const ScDocument::InitializeAllNoteCaptions(bool) Change-Id: I210815aef7c4096b040af841444dc65dd5138606
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx4
-rw-r--r--sc/source/core/data/document.cxx19
2 files changed, 0 insertions, 23 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 8fcdc6d29e4b..7b8e48b83b88 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 58f834f0f73a..c160b6882906 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();