summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forms/source/xforms/xpathlib/extension.cxx6
1 files 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;