diff options
author | Michael Brauer <mib@openoffice.org> | 2002-08-15 09:25:23 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2002-08-15 09:25:23 +0000 |
commit | f28e2c8e2728972126b1930ced0d9a28e3be3565 (patch) | |
tree | 6c20e390a6600795f0a50a8078a28324ce1d5597 /sw/source/core/access/accheaderfooter.cxx | |
parent | 96d5567e2f9cc64f2307886afec73d2ed975c268 (diff) |
#102308#: getImplementationId was missing
Diffstat (limited to 'sw/source/core/access/accheaderfooter.cxx')
-rw-r--r-- | sw/source/core/access/accheaderfooter.cxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sw/source/core/access/accheaderfooter.cxx b/sw/source/core/access/accheaderfooter.cxx index 13b990ab1aac..0cc69441a9e4 100644 --- a/sw/source/core/access/accheaderfooter.cxx +++ b/sw/source/core/access/accheaderfooter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accheaderfooter.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:33 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,6 +82,9 @@ #ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_ #include <com/sun/star/uno/RuntimeException.hpp> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _SV_SVAPP_HXX //autogen #include <vcl/svapp.hxx> #endif @@ -183,3 +186,14 @@ Sequence< OUString > SAL_CALL SwAccessibleHeaderFooter::getSupportedServiceNames pArray[1] = OUString( RTL_CONSTASCII_USTRINGPARAM(sAccessibleServiceName) ); return aRet; } + +Sequence< sal_Int8 > SAL_CALL SwAccessibleHeaderFooter::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} |