diff --git a/svtools/uno/pathservice.cxx b/svtools/uno/pathservice.cxx index 79172f273c5d..d7022a75d2b8 100644 --- a/svtools/uno/pathservice.cxx +++ b/svtools/uno/pathservice.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pathservice.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2006-09-17 15:32:03 $ + * last change: $Author: obo $ $Date: 2006-10-12 15:28:51 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -117,7 +117,7 @@ css::uno::Reference< css::uno::XInterface > PathService_CreateInstance ( const css::uno::Reference< css::lang::XMultiServiceFactory > &) { return css::uno::Reference< css::uno::XInterface >( - reinterpret_cast< cppu::OWeakObject* >(new PathService())); + static_cast< cppu::OWeakObject* >(new PathService())); } // -----------------------------------------------------------------------