From e50b5526e24ff552def8f08d393037d2c020dc29 Mon Sep 17 00:00:00 2001 From: Noel Grandin <noel@peralex.com> 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 --- sd/source/ui/view/DocumentRenderer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 734c61a636f1..c55a88fb9fa0 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -243,7 +243,7 @@ namespace { const sal_Char* pName, const sal_Int32 nTriggerValue) const { - sal_Int32 nValue = static_cast<sal_Int32>(mrProperties.getIntValue( pName )); + sal_Int32 nValue = static_cast<sal_Int32>(mrProperties.getIntValue( pName, 0 )); return nValue == nTriggerValue; } }; -- cgit