callcatcher: ScJobSetup never constructed

This commit is contained in:
Caolán McNamara 2011-12-19 22:18:34 +00:00
parent 275e6c6291
commit 865aba9fa7
4 changed files with 0 additions and 28 deletions

View file

@ -2514,7 +2514,6 @@ ScDocShell::ScDocShell( const ScDocShell& rShell ) :
pDocHelper ( NULL ),
pAutoStyleList ( NULL ),
pPaintLockData ( NULL ),
pOldJobSetup ( NULL ),
pSolverSaveData ( NULL ),
pSheetSaveData ( NULL ),
pModificator ( NULL )
@ -2561,7 +2560,6 @@ ScDocShell::ScDocShell( const sal_uInt64 i_nSfxCreationFlags ) :
pDocHelper ( NULL ),
pAutoStyleList ( NULL ),
pPaintLockData ( NULL ),
pOldJobSetup ( NULL ),
pSolverSaveData ( NULL ),
pSheetSaveData ( NULL ),
pModificator ( NULL )
@ -2614,8 +2612,6 @@ ScDocShell::~ScDocShell()
delete pPaintLockData;
delete pOldJobSetup; // gesetzt nur bei Fehler in StartJob()
delete pSolverSaveData;
delete pSheetSaveData;
delete pOldAutoDBRange;

View file

@ -65,7 +65,6 @@ class ScAutoStyleList;
class ScRange;
class ScMarkData;
class ScPaintLockData;
class ScJobSetup;
class ScChangeAction;
class VirtualDevice;
class ScImportOptions;
@ -118,7 +117,6 @@ class SC_DLLPUBLIC ScDocShell: public SfxObjectShell, public SfxListener
ScAutoStyleList* pAutoStyleList;
ScPaintLockData* pPaintLockData;
ScJobSetup* pOldJobSetup;
ScOptSolverSave* pSolverSaveData;
ScSheetSaveData* pSheetSaveData;

View file

@ -3051,25 +3051,4 @@ void ScPrintFunc::CalcPages() // berechnet aPageRect und Seiten au
}
}
//------------------------------------------------------------------------
// class ScJobSetup
//------------------------------------------------------------------------
ScJobSetup::ScJobSetup( SfxPrinter* pPrinter )
{
eOrientation = pPrinter->GetOrientation();
nPaperBin = pPrinter->GetPaperBin();
ePaper = pPrinter->GetPaper();
if ( PAPER_USER == ePaper )
{
aUserSize = pPrinter->GetPaperSize();
aUserMapMode = pPrinter->GetMapMode();
}
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -349,7 +349,6 @@ ScHTMLColOffset_SAR::Replace(unsigned long const&, unsigned short)
ScHTMLColOffset_SAR::Replace(unsigned long const*, unsigned short, unsigned short)
ScHTMLColOffset_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
ScHorizontalValueIterator::GetCurNumFmtInfo(short&, unsigned long&)
ScJobSetup::ScJobSetup(SfxPrinter*)
ScLeftFooterEditPage::GetRanges()
ScLeftHeaderEditPage::GetRanges()
ScMatrix::CalcOffset(unsigned long, unsigned long) const