diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/print.cxx | 9 | ||||
-rw-r--r-- | vcl/source/gdi/print3.cxx | 5 |
2 files changed, 0 insertions, 14 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 5fbee3c918fb..0d72b18e1231 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1454,15 +1454,6 @@ OUString Printer::GetPaperName( Paper ePaper ) return (it != pSVData->maPaperNames.end()) ? it->second : OUString(); } -OUString Printer::GetPaperName() const -{ - Size aPageSize = PixelToLogic( GetPaperSizePixel(), MapMode(MapUnit::Map100thMM)); - Paper ePaper = ImplGetPaperFormat( aPageSize.Width(), aPageSize.Height() ); - if( ePaper == PAPER_USER ) - ePaper = ImplGetPaperFormat( aPageSize.Height(), aPageSize.Width() ); - return (ePaper != PAPER_USER) ? GetPaperName( ePaper ) : OUString(); -} - const PaperInfo& Printer::GetPaperInfo( int nPaper ) const { if( ! mpInfoPrinter ) diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index f8ecb70a1889..fa16e55326a8 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -1362,11 +1362,6 @@ void PrinterController::setReversePrint( bool i_bReverse ) mpImplData->mbReversePageOrder = i_bReverse; } -bool PrinterController::getReversePrint() const -{ - return mpImplData->mbReversePageOrder; -} - void PrinterController::setPapersizeFromSetup( bool i_bPapersizeFromSetup ) { mpImplData->mbPapersizeFromSetup = i_bPapersizeFromSetup; |