bool improvements

Change-Id: Ia5ab74b8a8b367ea92f29eb6269ef0ede47f09bb
EndDialog takes long nResult, not bool

Change-Id: Id57ad91eb6f2a5f7f4801ebc3a1317bb7bf46adf
Whatever those "true" arguments to SotStorage ctor may once have meant

...is lost to history, but they are effectively equivalent to pssing default
SorageMode nStorageMode = 0 today, as the only thing that is done with that
nStorageMode value (in SotStorage::CreateStorage, sot/source/sdstor/storage.cxx)
is to compare it against STORAGE_TRANSACTED (0x04) STORAGE_CREATE_UNPACKED
(0x44).

Change-Id: I6ce79c03aff941b5abb5370e52a30b2294690b3a
Flag bogus "true" with a FIXME

Change-Id: I0ff052ca980f33aa62333a26c70ba91e21ede56a
Be explicit when using bool as integral value (as Link return value)

Change-Id: I3b345be909ed2cb93cd0d478af4b26c9909d2726
bool improvements

Change-Id: I7ec4f5b2e691ec03e9e2c5ca3a004f1e04efbc27
bool improvements

Change-Id: I9f5564100aa64ff4940dd93a81ff5a8d8edc7a07
bool improvements

Change-Id: Ic46fa46c200b94e2e6c5a073ba89b9aae5c14542
bool improvements

Change-Id: I89e8351001dcdda9303473f38ece3b57c0d9e72c
bool improvements

Change-Id: Ib7c2e846885812b5352b06d568d62f744a3c07c4
bool improvements

Change-Id: I19b429741a2ba972bef8863008657823b9bb7f91
bool improvements

Change-Id: I9324483db587be43238af79c2148d724397a4622
Clang plugin that flags implicit conversions from bool

...as they are often enough errors, like a typo in brace placement in

  if (foo == (FOO || bar == BAR) && baz)

or a literal true passed as an argument to a function that rather expects an
integer bit mask, etc.  The plugin is smart enough to detect interaction with
logically boolean return/parameter types of C functions that use [unsigned] int
instead, and knows the relevant boolean typedefs (sal_Bool, gboolean, etc.).

Change-Id: I5f0e4344fe86589bec35a71018c7effdedf85e3e
-Werror,-Wunused-function

Change-Id: Ia6c6d6fe484789722987cea7d8b4b4bfc1c28953
Window::Notify should return bool, redux

Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2