Include <algorithm> for std::min() and max()

Change-Id: I339577c5b34de0cf3e5dcc644ec1dc080c35d01c
Include <algorithm> for std::min() and max()

Change-Id: I6a46e6466ab56aea14e16902cb51f9c3f088f30e
No atlsd.lib in VS 2013

Instead, atls.lib should be used also with code compiled to use the
debugging runtime. See
http://msdn.microsoft.com/en-us/library/bb531344.aspx which says
"Atls.lib no longer has character-set dependencies or code that's
specific for debug/release. Because it works the same for Unicode/ANSI
and debug/release, only one version of the library is required."

Change-Id: Ie39ea271513dec1084cae8d1bbf93afa286f357a
'internal' is a keyword in current C++/CLI

Using it as a namespace in our rtl string headers breaks compilation
of cli_ure/source/climaker/climaker_emit.cxx (and other C++/CLI
sources we might have that include rtl string headers). Rename it to
'libreoffice_internal'.

Change-Id: Ieae68bd612b05d326d570945c1d08a54bf011852
WaE: Unreachable code

Not sure if the intent is that clearCache() should be called, but the
calls have just accidentally been placed after the return statements,
or whether the code works correctly and as intended as it is now,
i.e. with the unreachable calls to clearCache().

Warning emitted by VS 2013, why don't other compilers warn? Perhaps
these functions are never called?

Change-Id: I16b0bc1b836753ef5579dadba211cbce4f50cbc3