Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On 14/02/14 11:46, Norbert Thiebaud wrote:
On Fri, Feb 14, 2014 at 3:12 AM, Stephan Bergmann <sbergman@redhat.com> wrote:
On 02/13/2014 08:41 AM, Muthu Subramanian wrote:
+    sal_uInt64 hashCode64() const SAL_THROW(())   <---

--- a/sal/rtl/strtmpl.cxx
+++ b/sal/rtl/strtmpl.cxx

+sal_uInt64 SAL_CALL IMPL_RTL_STRNAME( hashCode64_WithLength )( const
IMPL_RTL_STRCODE* pStr,
+                                                               sal_Int32
nLen )
+    SAL_THROW_EXTERN_C()   <----
+{
+    sal_uInt64 nHash = 0;
+
+    for( sal_Int32 i = 0; i < nLen; i++ )
+        nHash = (nHash << 5) - nHash + *pStr++;
+    return nHash;
+}

What does this 'throw' ?

Norbert

well according to the throw annotation it's not throwing anything.




Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.