summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-13 13:22:07 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 09:16:06 +0200
commite50b5526e24ff552def8f08d393037d2c020dc29 (patch)
tree78dd5361445053d65857e5cc6fc6351da22883fb /sd
parentb14c9d14a10ec9c789594b5a9d0726acb618bc29 (diff)
remove default value from PrinterOptionsHelper::getIntValue
more useful to make it explicit Change-Id: I4023fa19fd23ef3a180096a853b2d431d57d2772
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
};