diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-03 15:19:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-03 15:25:44 +0200 |
commit | ab3d2e568fe1595584c66c2ff07843e72f608944 (patch) | |
tree | f8490f9286c1cb3012c74743a864d6d9bb4ce7e4 /unotools/source/config/lingucfg.cxx | |
parent | 2ce95e838260ed1e7e64ac8f5662aa2e2234ab9e (diff) |
Prevent Any ctor from reinterpreting bool* as sal_Bool*
...which only happens to work in environments where sizeof (bool) == 1. The
simpler alternative is to use the Any ctor template without passing explicit UNO
type information, anyway.
The std::nullptr_t overloads are needed to disambiguate calls with a nullptr
argument. (Which can at least be meaningful for VOID, but for other types what
it happens to do is store a default value of the given type.) As std::nullptr_t
is only C++11, this all needs to be LIBO_INTERNAL_ONLY.
Change-Id: I0f72c73a088ef96e069c3ed8c78546b16d89b50a
Diffstat (limited to 'unotools/source/config/lingucfg.cxx')
0 files changed, 0 insertions, 0 deletions