diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 09:19:02 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 09:19:02 +0000 |
commit | 1bb222cd3bc3ca8ffffed3b5e221085e6998947c (patch) | |
tree | c393c0b647fd8cb0bf6a6bc61ae532f84fe83710 /scripting | |
parent | c4c73363160c4e24aec76b74217785ee17641621 (diff) |
INTEGRATION: CWS warnings01 (1.5.14); FILE MERGED
2005/12/22 14:40:48 ab 1.5.14.1: #i53898# Removed warnings for unxlngi6, unxlngi6.pro
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index a8f0ce00850d..ebdfec06aa0e 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dlgprov.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 02:25:12 $ + * last change: $Author: hr $ $Date: 2006-06-19 10:19:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -322,10 +322,10 @@ namespace dlgprov Reference< io::XInputStream > xInput( xISP->createInputStream() ); if ( xInput.is() && m_xContext.is() ) { - Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager() ); - if ( xSMgr.is() ) + Reference< XMultiComponentFactory > xSMgr_( m_xContext->getServiceManager() ); + if ( xSMgr_.is() ) { - Reference< container::XNameContainer > xDialogModel( xSMgr->createInstanceWithContext( + Reference< container::XNameContainer > xDialogModel( xSMgr_->createInstanceWithContext( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ), m_xContext ), UNO_QUERY ); if ( xDialogModel.is() ) @@ -557,6 +557,8 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) { + (void)ppEnv; + *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } |