coverity#706466 Uncaught exception
and coverity#706463 Uncaught exception Change-Id: I77cb09054f00d86cd3e206e44ef4942ddf148a7f
This commit is contained in:
parent
e8fb86134c
commit
2602a41f76
@ -111,7 +111,6 @@
|
||||
#include <com/sun/star/lang/IllegalArgumentException.hpp>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
#include <com/sun/star/lang/NotInitializedException.hpp>
|
||||
#include <com/sun/star/lang/NullPointerException.hpp>
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <com/sun/star/lang/XLocalizable.hpp>
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include <com/sun/star/resource/XResourceBundle.hpp>
|
||||
#include <com/sun/star/resource/XResourceBundleLoader.hpp>
|
||||
#include <com/sun/star/lang/NullPointerException.hpp>
|
||||
#include <osl/mutex.hxx>
|
||||
#include <osl/diagnose.h>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
@ -36,7 +35,6 @@ namespace comphelper
|
||||
using com::sun::star::resource::XResourceBundleLoader;
|
||||
using com::sun::star::resource::MissingResourceException;
|
||||
using ::com::sun::star::uno::XComponentContext;
|
||||
using ::com::sun::star::lang::NullPointerException;
|
||||
using ::com::sun::star::uno::UNO_QUERY;
|
||||
using ::com::sun::star::uno::Exception;
|
||||
using ::com::sun::star::uno::Any;
|
||||
@ -191,8 +189,6 @@ namespace comphelper
|
||||
OfficeResourceBundle::OfficeResourceBundle( const Reference< XComponentContext >& _context, const sal_Char* _bundleBaseAsciiName )
|
||||
:m_pImpl( new ResourceBundle_Impl( _context, OUString::createFromAscii( _bundleBaseAsciiName ) ) )
|
||||
{
|
||||
if ( !_context.is() )
|
||||
throw NullPointerException();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user