diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 8f4f3fc68f9f..908446fcd482 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -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; diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index fb23c04ba8a2..e52f2f1665d5 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -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; diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 476bc52b2064..1a0218962b0c 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -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: */ diff --git a/unusedcode.easy b/unusedcode.easy index 7b36792dce2e..5c73cc057aa6 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -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