diff options
author | Herbert Dürr <hdu@apache.org> | 2014-05-15 11:14:25 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2014-05-15 11:14:25 +0000 |
commit | ea26e7c8dc51192aff7cd89ae5f12669d0f1ef4a (patch) | |
tree | 203e4eadb84ed7d63568f042372fb090da35f931 /sd/source | |
parent | 276ee5d5d31e40fc0fa97465091811a2d3a91e50 (diff) |
#i124422# fix implicit conversions to pointer from bool/int32
implicit conversions from bool or int32 to pointer types are not a good idea
and clang>=3.4 or xcode>=5.1 now report errors for such code. The errors break
the build and so they have to be fixed.
Notes
Notes:
prefer: 99c2a1c64b3517a4cbbc0ddcf9acd3e190188d1e
Diffstat (limited to 'sd/source')
-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 8b2fcf42be12..cea5308163fd 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -115,7 +115,7 @@ namespace { bool IsHandoutHorizontal (void) const { - return GetBoolValue("SlidesPerPageOrder", sal_Int32(0), true); + return GetBoolValue("SlidesPerPageOrder", NULL, true); } sal_Int32 GetHandoutPageCount (void) const |