diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 15:34:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-31 11:44:36 +0000 |
commit | 6527b4073c72d3fdf2307a58a06023fe28fd9960 (patch) | |
tree | 9a6637dd50d6b86ce42c616cab2c5be2c12fdf46 /include/vcl/print.hxx | |
parent | 127a34ef2cf9fe0ac13a273c12c6d45ef57eaf49 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I697b9081424acdc61107709392baa8af8ce29028
Reviewed-on: https://gerrit.libreoffice.org/28497
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r-- | include/vcl/print.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index d4e9dfe5e4fb..809f16497489 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -292,7 +292,7 @@ public: bool SetJobSetup( const JobSetup& rSetup ); const JobSetup& GetJobSetup() const { return maJobSetup; } - bool Setup( vcl::Window* pWindow = nullptr, bool bPapersizeFromSetup = false ); + bool Setup( vcl::Window* pWindow, bool bPapersizeFromSetup = false ); bool SetPrinterProps( const Printer* pPrinter ); /** SetPrinterOptions is used internally only now @@ -338,7 +338,7 @@ public: const Point& GetPageOffsetPixel() const { return maPageOffset; } Point GetPageOffset() const { return PixelToLogic( maPageOffset ); } - bool SetCopyCount( sal_uInt16 nCopy, bool bCollate = false ); + bool SetCopyCount( sal_uInt16 nCopy, bool bCollate ); sal_uInt16 GetCopyCount() const { return mnCopyCount; } bool IsCollateCopy() const { return mbCollateCopy; } @@ -599,7 +599,7 @@ public: /** @return An empty Any for not existing properties */ css::uno::Any getValue( const OUString& i_rPropertyName ) const; - bool getBoolValue( const OUString& i_rPropertyName, bool i_bDefault = false ) const; + bool getBoolValue( const OUString& i_rPropertyName, bool i_bDefault ) const; // convenience for fixed strings bool getBoolValue( const char* i_pPropName, bool i_bDefault = false ) const { return getBoolValue( OUString::createFromAscii( i_pPropName ), i_bDefault ); } @@ -682,7 +682,7 @@ public: note: max value < min value means do not apply min/max values */ static css::uno::Any setRangeControlOpt( const OUString& i_rID, const OUString& i_rTitle, const OUString& i_rHelpId, - const OUString& i_rProperty, sal_Int32 i_nValue, sal_Int32 i_nMinValue = -1, + const OUString& i_rProperty, sal_Int32 i_nValue, sal_Int32 i_nMinValue, sal_Int32 i_nMaxValue = -2, const UIControlOptions& i_rControlOptions = UIControlOptions()); /** Show a string field @@ -691,7 +691,7 @@ public: */ static css::uno::Any setEditControlOpt( const OUString& i_rID, const OUString& i_rTitle, const OUString& i_rHelpId, const OUString& i_rProperty, const OUString& i_rValue, - const UIControlOptions& i_rControlOptions = UIControlOptions()); + const UIControlOptions& i_rControlOptions); }; // class PrinterOptionsHelper } // namespace vcl |