Change-Id: Ia19534f38ed01a44262b47ad04e98dde6948669b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167601
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
This commit is contained in:
Andrea Gelmini
2024-05-13 15:45:45 +02:00
committed by Taichi Haradaguchi
parent 2fb694785d
commit f597c88103

View File

@@ -492,7 +492,7 @@ MasterScriptProvider::insertByName( const OUString& aName, const Any& aElement )
{ {
if ( !m_xMSPPkg.is() ) if ( !m_xMSPPkg.is() )
{ {
throw RuntimeException( u"PackageMasterScriptProvider is unitialised"_ustr ); throw RuntimeException( u"PackageMasterScriptProvider is uninitialised"_ustr );
} }
Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW ); Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW );
@@ -537,7 +537,7 @@ MasterScriptProvider::removeByName( const OUString& Name )
{ {
if ( !m_xMSPPkg.is() ) if ( !m_xMSPPkg.is() )
{ {
throw RuntimeException( u"PackageMasterScriptProvider is unitialised"_ustr ); throw RuntimeException( u"PackageMasterScriptProvider is uninitialised"_ustr );
} }
Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW ); Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW );
@@ -598,7 +598,7 @@ MasterScriptProvider::hasByName( const OUString& aName )
// have a PackageProvider // have a PackageProvider
else if (!m_xModel.is()) else if (!m_xModel.is())
{ {
throw RuntimeException( u"PackageMasterScriptProvider is unitialised"_ustr ); throw RuntimeException( u"PackageMasterScriptProvider is uninitialised"_ustr );
} }
} }