summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2014-05-15 11:14:25 +0000
committerHerbert Dürr <hdu@apache.org>2014-05-15 11:14:25 +0000
commitea26e7c8dc51192aff7cd89ae5f12669d0f1ef4a (patch)
tree203e4eadb84ed7d63568f042372fb090da35f931 /sc
parent276ee5d5d31e40fc0fa97465091811a2d3a91e50 (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 'sc')
-rw-r--r--sc/source/ui/view/drawview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index d539a84fd342..768e32bcde36 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -1011,7 +1011,7 @@ SdrObject* ScDrawView::ApplyGraphicToObject(
return &rHitObject;
}
- return false;
+ return NULL;
}
// eof