From 6f364ab4b8947cfca6779140cf64da3c7c7d6f46 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Mon, 19 Jun 2006 12:06:32 +0000
Subject: [PATCH] INTEGRATION: CWS warnings01 (1.2.150); FILE MERGED 2006/03/14
15:20:36 fs 1.2.150.1: #i57457# warning-free code
---
forms/source/xforms/xpathlib/extension.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/forms/source/xforms/xpathlib/extension.cxx b/forms/source/xforms/xpathlib/extension.cxx
index dd05927e8286..5aa3836c4b9e 100644
--- a/forms/source/xforms/xpathlib/extension.cxx
+++ b/forms/source/xforms/xpathlib/extension.cxx
@@ -17,7 +17,7 @@ using namespace com::sun::star::beans;
using com::sun::star::xml::dom::XNode;
Reference< XInterface > SAL_CALL CLibxml2XFormsExtension::Create(
- const Reference< XMultiServiceFactory >& aFactory)
+ const Reference< XMultiServiceFactory >& /*aFactory*/)
{
// printf("_create_\n");
Reference< XInterface > aInstance(static_cast< XXPathExtension* >(new CLibxml2XFormsExtension(/*aFactory*/)));
@@ -41,8 +41,8 @@ Sequence< OUString > SAL_CALL CLibxml2XFormsExtension::getSupportedServiceNames_
Libxml2ExtensionHandle SAL_CALL CLibxml2XFormsExtension::getLibxml2ExtensionHandle() throw (RuntimeException)
{
Libxml2ExtensionHandle aHandle;
- aHandle.functionLookupFunction = (sal_Int64)&xforms_lookupFunc;
- aHandle.functionData = (sal_Int64)this;
+ aHandle.functionLookupFunction = reinterpret_cast< sal_Int64 >( &xforms_lookupFunc );
+ aHandle.functionData = reinterpret_cast< sal_Int64 >( this );
aHandle.variableLookupFunction = (sal_Int64)0;
aHandle.variableData = (sal_Int64)0;
return aHandle;