summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx6
-rw-r--r--xmlhelp/source/cxxhelp/provider/services.cxx10
2 files changed, 11 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
index 502299448445..eafd4e613892 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: resultsetforroot.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 12:21:35 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:40:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -93,6 +93,6 @@ ResultSetForRoot::ResultSetForRoot( const uno::Reference< lang::XMultiServiceFac
if( ! ( cmd->execute( aCommand,0,uno::Reference< XCommandEnvironment >( 0 ) ) >>= m_aItems[i] ) )
;
}
- m_nRow = -1;
+ m_nRow = 0xffffffff;
}
}
diff --git a/xmlhelp/source/cxxhelp/provider/services.cxx b/xmlhelp/source/cxxhelp/provider/services.cxx
index 06986a01476c..6f3e363aca2a 100644
--- a/xmlhelp/source/cxxhelp/provider/services.cxx
+++ b/xmlhelp/source/cxxhelp/provider/services.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: services.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 12:21:55 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:40:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -94,6 +94,8 @@ static sal_Bool writeInfo( void * pRegistryKey,
extern "C" void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv )
{
+ (void)ppEnv;
+
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
@@ -101,6 +103,8 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
extern "C" sal_Bool SAL_CALL component_writeInfo(
void * pServiceManager, void * pRegistryKey )
{
+ (void)pServiceManager;
+
return pRegistryKey &&
//////////////////////////////////////////////////////////////////////
@@ -117,6 +121,8 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(
extern "C" void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
+ (void)pRegistryKey;
+
void * pRet = 0;
Reference< XMultiServiceFactory > xSMgr(