#i124875# use AVAsset's best guess duration if AVPlayerItem isn't ready yet

in AV Foundation the most accurate media asset duration is available when the
AVPlayerItem's status changes to AVPlayerItemStatusReadyToPlay. There already
is an observer for this, but the upper layers expect getDuration() to be
synchronous and to return within a reasonable time. Since returning an
approximation is sufficient using the AVAsset's duration as fallback is fine.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594838 13f79535-47bb-0310-9956-ffa450edef68
#i124896# remove obsoleted sal-module-internal custom STL allocator

The SAL module avoided the heavy dependency on the stlport4-libraries by using
a custom allocator for its internal STL containers. With stlport4 removed these
dependencies are gone and the SAL-internal custom allocator is obsoleted. Since
the custom allocator results in build problems with clang>=3.4 or xcode>=5.1 it
is time to remove it for good.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594842 13f79535-47bb-0310-9956-ffa450edef68
#i124422# fix comparisons between pointers and bools or integers

comparing pointers with bools or integers is 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.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594862 13f79535-47bb-0310-9956-ffa450edef68
#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.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594864 13f79535-47bb-0310-9956-ffa450edef68
#i124422# fix default arguments in friend declarations

chapter 8.3.6.4 of the C++11 standard requests that friend declarations must not
specify default unless these declarations are also definitions. Older compilers
still tolerate such constructs that were still undecided until
   http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#136
but 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. Cleaner alternatives to the fixes are possible
but for now they are intended to allow the build while being minimally invasive.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594871 13f79535-47bb-0310-9956-ffa450edef68
#i124908# remove custom allocator support in stlport-replacement headers

with the sal-internal custom allocator removed AOO no longer needs the
stlport-replacement headers to support the complexity of containers with
non-default allocators. Xcode>=5.1's libc++ runs into build problems with
such custom allocator support in the stlport-replacement headers because
of constness mismatches.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594887 13f79535-47bb-0310-9956-ffa450edef68
#i124796# fix Preferences->OpenOffice->Appearance tabpage listbox column width

Patch-by: Thorsten Wagner <thorsten.wagner.4@gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594952 13f79535-47bb-0310-9956-ffa450edef68