diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-13 13:22:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 09:16:06 +0200 |
commit | e50b5526e24ff552def8f08d393037d2c020dc29 (patch) | |
tree | 78dd5361445053d65857e5cc6fc6351da22883fb /sd | |
parent | remove default value from DffPropSet::GetPropertyValue (diff) | |
download | core-e50b5526e24ff552def8f08d393037d2c020dc29.tar.gz core-e50b5526e24ff552def8f08d393037d2c020dc29.zip |
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.cxx | 2 |
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; } }; |