diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-07-26 12:36:33 +0000 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-07-30 20:44:15 +0200 |
commit | 3d8b7fd32b63370919b6d215be0af6fba6eb4ca4 (patch) | |
tree | ec5b817d63ca54ee0c08425dd962bc4b015e190f /svtools | |
parent | e80e2a8dbed8a6cea71eca333564a9fa75b5cfbc (diff) |
tdf#156230: Deprecate and stop using PDFAsStandardPrintJobFormat
PDF is the only supported printing format (on Unix) going forward.
Change-Id: I1bd442bac370b89a77e2035d4c17bfc43a869ab1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154974
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/printoptions.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx index ca9484356dc1..3f6293813a09 100644 --- a/svtools/source/config/printoptions.cxx +++ b/svtools/source/config/printoptions.cxx @@ -52,7 +52,6 @@ void GetPrinterOptions( vcl::printer::Options& rOptions, bool bFile ) rOptions.SetReducedBitmapIncludesTransparency( officecfg::Office::Common::Print::Option::File::ReducedBitmapIncludesTransparency::get() ); rOptions.SetConvertToGreyscales( officecfg::Office::Common::Print::Option::File::ConvertToGreyscales::get() ); - rOptions.SetPDFAsStandardPrintJobFormat( officecfg::Office::Common::Print::Option::File::PDFAsStandardPrintJobFormat::get() ); } else { @@ -71,7 +70,6 @@ void GetPrinterOptions( vcl::printer::Options& rOptions, bool bFile ) rOptions.SetReducedBitmapIncludesTransparency( officecfg::Office::Common::Print::Option::Printer::ReducedBitmapIncludesTransparency::get() ); rOptions.SetConvertToGreyscales( officecfg::Office::Common::Print::Option::Printer::ConvertToGreyscales::get() ); - rOptions.SetPDFAsStandardPrintJobFormat( officecfg::Office::Common::Print::Option::Printer::PDFAsStandardPrintJobFormat::get() ); } } @@ -98,8 +96,6 @@ void SetPrinterOptions( const vcl::printer::Options& rOptions, bool bFile ) rOptions.IsReducedBitmapIncludesTransparency(), batch ); officecfg::Office::Common::Print::Option::File::ConvertToGreyscales::set( rOptions.IsConvertToGreyscales(), batch ); - officecfg::Office::Common::Print::Option::File::PDFAsStandardPrintJobFormat::set( - rOptions.IsPDFAsStandardPrintJobFormat(), batch ); const sal_uInt16 nDPI = rOptions.GetReducedBitmapResolution(); @@ -138,8 +134,6 @@ void SetPrinterOptions( const vcl::printer::Options& rOptions, bool bFile ) rOptions.IsReducedBitmapIncludesTransparency(), batch ); officecfg::Office::Common::Print::Option::Printer::ConvertToGreyscales::set( rOptions.IsConvertToGreyscales(), batch ); - officecfg::Office::Common::Print::Option::Printer::PDFAsStandardPrintJobFormat::set( - rOptions.IsPDFAsStandardPrintJobFormat(), batch ); const sal_uInt16 nDPI = rOptions.GetReducedBitmapResolution(); |