From e50b5526e24ff552def8f08d393037d2c020dc29 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Aug 2015 13:22:07 +0200 Subject: remove default value from PrinterOptionsHelper::getIntValue more useful to make it explicit Change-Id: I4023fa19fd23ef3a180096a853b2d431d57d2772 --- include/vcl/print.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/vcl') diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index c4cf3159dc83..93f1419c77be 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -593,9 +593,9 @@ class VCL_DLLPUBLIC PrinterOptionsHelper bool getBoolValue( const char* i_pPropName, bool i_bDefault = false ) const { return getBoolValue( OUString::createFromAscii( i_pPropName ), i_bDefault ); } - sal_Int64 getIntValue( const OUString& i_rPropertyName, sal_Int64 i_nDefault = 0 ) const; + sal_Int64 getIntValue( const OUString& i_rPropertyName, sal_Int64 i_nDefault ) const; // convenience for fixed strings - sal_Int64 getIntValue( const char* i_pPropName, sal_Int64 i_nDefault = 0 ) const + sal_Int64 getIntValue( const char* i_pPropName, sal_Int64 i_nDefault ) const { return getIntValue( OUString::createFromAscii( i_pPropName ), i_nDefault ); } OUString getStringValue( const OUString& i_rPropertyName, const OUString& i_rDefault = OUString() ) const; -- cgit