diff options
Diffstat (limited to 'lotuswordpro/source/filter/clone.hxx')
-rw-r--r-- | lotuswordpro/source/filter/clone.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/clone.hxx b/lotuswordpro/source/filter/clone.hxx index a6747c005a86..fe4c6451989d 100644 --- a/lotuswordpro/source/filter/clone.hxx +++ b/lotuswordpro/source/filter/clone.hxx @@ -29,7 +29,7 @@ struct has_clone enum { - value = sizeof(check_sig<T>(0)) == sizeof(yes) + value = sizeof(check_sig<T>(nullptr)) == sizeof(yes) }; }; @@ -63,7 +63,7 @@ struct cloner<T, true> template<typename T> T* clone(T* const other) { - return other ? ::detail::cloner<T, ::detail::has_clone<T>::value>::clone(other) : 0; + return other ? ::detail::cloner<T, ::detail::has_clone<T>::value>::clone(other) : nullptr; } #endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_CLONE_HXX |