diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-12-23 19:12:48 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-27 13:25:24 +0100 |
commit | 1241ae1327242dca4af2e38e571f872aa882e156 (patch) | |
tree | 06f3539d8bf19fd97d82a60c9b971c6719950949 /include/svtools | |
parent | sal_osl_security: Windows: Handle cases with same hostname and username (diff) | |
download | core-1241ae1327242dca4af2e38e571f872aa882e156.tar.gz core-1241ae1327242dca4af2e38e571f872aa882e156.zip |
tdf#46037: simplify is/get methods in svtools/printoptions
Change-Id: I4358cfdbb2dbd7ad8d3cc7de82163303d403a8ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85767
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/printoptions.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/svtools/printoptions.hxx b/include/svtools/printoptions.hxx index 44f064f9c782..f5fe0a6da2a8 100644 --- a/include/svtools/printoptions.hxx +++ b/include/svtools/printoptions.hxx @@ -48,17 +48,17 @@ public: SvtBasePrintOptions(); virtual ~SvtBasePrintOptions() override; - bool IsReduceTransparency() const; - sal_Int16 GetReducedTransparencyMode() const; - bool IsReduceGradients() const; - sal_Int16 GetReducedGradientMode() const; - sal_Int16 GetReducedGradientStepCount() const; - bool IsReduceBitmaps() const; - sal_Int16 GetReducedBitmapMode() const; - sal_Int16 GetReducedBitmapResolution() const; - bool IsReducedBitmapIncludesTransparency() const; - bool IsConvertToGreyscales() const; - bool IsPDFAsStandardPrintJobFormat() const; + static bool IsReduceTransparency(); + static sal_Int16 GetReducedTransparencyMode(); + static bool IsReduceGradients(); + static sal_Int16 GetReducedGradientMode(); + static sal_Int16 GetReducedGradientStepCount(); + static bool IsReduceBitmaps(); + static sal_Int16 GetReducedBitmapMode(); + static sal_Int16 GetReducedBitmapResolution(); + static bool IsReducedBitmapIncludesTransparency(); + static bool IsConvertToGreyscales(); + static bool IsPDFAsStandardPrintJobFormat(); void SetReduceTransparency( bool bState ); void SetReducedTransparencyMode( sal_Int16 nMode ); @@ -74,8 +74,8 @@ public: public: - void GetPrinterOptions( PrinterOptions& rOptions ) const; - void SetPrinterOptions( const PrinterOptions& rOptions ); + static void GetPrinterOptions( PrinterOptions& rOptions ); + void SetPrinterOptions( const PrinterOptions& rOptions ); }; |