Kaydet (Commit) 146033f5 authored tarafından Noel Grandin's avatar Noel Grandin

spelling instanciate -> instantiate

Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81
Reviewed-on: https://gerrit.libreoffice.org/38401Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 17a2c9e8
......@@ -427,7 +427,7 @@ SAL_IMPLEMENT_MAIN()
xContext = defaultBootstrap_InitialComponentContext();
// accept, instanciate, etc.
// accept, instantiate, etc.
if (!aUnoUrl.isEmpty()) // accepting connections
{
......
......@@ -59,7 +59,7 @@ class FWI_DLLPUBLIC ConfigAccess final
/**
reference to the uno service manager
It's necessary to instanciate own needed services.
It's necessary to instantiate own needed services.
*/
css::uno::Reference< css::uno::XComponentContext > m_xContext;
......
......@@ -49,7 +49,7 @@ ________________________________________________________________________________
}
// public
// define method to instanciate new services
// define method to instantiate new services
#define COMPONENTGETFACTORY( LIB, IFFACTORIES ) \
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL LIB##_component_getFactory( const sal_Char* pImplementationName, \
......
......@@ -25,7 +25,7 @@
namespace framework{
/*-************************************************************************************************************
@short make it possible to instanciate a transaction manager as first member!
@short make it possible to instantiate a transaction manager as first member!
@descr If you use a transaction manager as a member of your class and wish to use it earlier then other ones
you should have a look on this implementation. You must use it as the first base class
of your implementation - because base classes are initialized by his order and before your
......
......@@ -35,7 +35,7 @@ namespace framework{
/*-****************************************************************************************************
@short initialize instance with necessary information
@descr We need a valid uno service manager to create or instanciate new services.
@descr We need a valid uno service manager to create or instantiate new services.
All other information to create frames or tasks come in on right interface methods.
@param xContext
......
......@@ -43,7 +43,7 @@ OFrames::OFrames( const css::uno::Reference< XFrame >& xOwner
, m_bRecursiveSearchProtection( false )
{
// An instance of this class can only work with valid initialization.
// We share the mutex with our owner class, need a valid factory to instanciate new services and
// We share the mutex with our owner class, need a valid factory to instantiate new services and
// use the access to our owner for some operations.
SAL_WARN_IF( !xOwner.is() || !pFrameContainer, "fwk", "OFrames::OFrames(): Invalid parameter detected!" );
}
......
......@@ -1018,7 +1018,7 @@ bool MenuBarManager::CreatePopupMenuController( MenuItemHandler* pMenuItemHandle
{
OUString aItemCommand( pMenuItemHandler->aMenuItemURL );
// Try instanciate a popup menu controller. It is stored in the menu item handler.
// Try instantiate a popup menu controller. It is stored in the menu item handler.
if ( !m_xPopupMenuControllerFactory.is() )
return false;
......
......@@ -212,7 +212,7 @@ HwpImportFilter::HwpImportFilter(const Reference< XMultiServiceFactory >& rFact)
}
catch( Exception & )
{
printf(" fail to instanciate %s\n", WRITER_IMPORTER_NAME );
printf(" fail to instantiate %s\n", WRITER_IMPORTER_NAME );
exit( 1 );
}
}
......
......@@ -1331,7 +1331,7 @@ void LanguageTagImpl::convertLocaleToBcp47()
{
// Do not call LanguageTag::convertToBcp47(Locale) that for an empty
// locale via LanguageTag::convertToBcp47(LanguageType) and
// LanguageTag::convertToLocale(LanguageType) would instanciate another
// LanguageTag::convertToLocale(LanguageType) would instantiate another
// LanguageTag.
maLocale = MsLangId::Conversion::convertLanguageToLocale( LANGUAGE_SYSTEM, true);
}
......
......@@ -37,7 +37,7 @@ struct SAL_WARN_UNUSED ContextEntry_Init
/** late init denotes a object that will be raised when first get() is calling for it
The context implementation expects either a css::lang::XSingleComponentFactory
object as value (to instanciate the object) or a string as value for raising
object as value (to instantiate the object) or a string as value for raising
a service via the used service manager.
*/
bool bLateInitService;
......
......@@ -159,7 +159,7 @@ createOneInstanceComponentFactory(
css::uno::Sequence< ::rtl::OUString > const & rServiceNames,
rtl_ModuleCount * pModCount = NULL );
/** Deprecated. The type of the instanciate function used as argument of the create*Factory functions.
/** Deprecated. The type of the instantiate function used as argument of the create*Factory functions.
@see createSingleFactory
@see createOneInstanceFactory
......
......@@ -41,7 +41,7 @@ namespace ucbhelper {
*/
struct ContentProviderData
{
/** The UNO service name to use to instanciate the content provider.
/** The UNO service name to use to instantiate the content provider.
If it is the empty string, a null provider will be used (see the
documentation of the Provider argument to
......@@ -49,11 +49,11 @@ struct ContentProviderData
*/
OUString ServiceName;
/** The URL template to use to instanciate the content provider.
/** The URL template to use to instantiate the content provider.
*/
OUString URLTemplate;
/** The arguments to use to instanciate the content provider.
/** The arguments to use to instantiate the content provider.
*/
OUString Arguments;
};
......
......@@ -95,7 +95,7 @@ public class ServiceManager implements XMultiServiceFactory,
* Creates a new instance of a specified service.
*
* <p>Therefore the associated factory of the service is looked up and used
* to instanciate a new component. </p>
* to instantiate a new component. </p>
*
* @param serviceSpecifier indicates the service or component name.
* @return newly created component.
......@@ -113,7 +113,7 @@ public class ServiceManager implements XMultiServiceFactory,
* Creates a new instance of a specified service with the given parameters.
*
* <p>Therefore the associated factory of the service is looked up and used
* to instanciate a new component.</p>
* to instantiate a new component.</p>
*
* @return newly created component.
* @param serviceSpecifier indicates the service or component name.
......
......@@ -79,7 +79,7 @@ extern bool GetOutputFile( int argc, char* argv[])
int InitXrmExport( const char* pFilename)
{
// instanciate Export
// instantiate Export
OString sFilename( pFilename );
if ( bMergeMode )
......
......@@ -134,7 +134,7 @@ public class CustomShowDemo
Object xObj;
XIndexContainer xContainer;
/* instanciate an IndexContainer that will take
/* instantiate an IndexContainer that will take
a list of draw pages for the first custom show */
xObj = xFactory.createInstance();
xContainer = UnoRuntime.queryInterface( XIndexContainer.class, xObj );
......@@ -142,7 +142,7 @@ public class CustomShowDemo
xContainer.insertByIndex( xContainer.getCount(), xDrawPages.getByIndex( i ) );
xNameContainer.insertByName( "ShortVersion", xContainer );
/* instanciate an IndexContainer that will take
/* instantiate an IndexContainer that will take
a list of draw page for the second custom show */
xObj = xFactory.createInstance();
xContainer = UnoRuntime.queryInterface( XIndexContainer.class, xObj );
......
......@@ -254,7 +254,7 @@ public class ConverterServlet extends HttpServlet {
/* A desktop environment contains tasks with one or more
frames in which components can be loaded. Desktop is the
environment for components which can instanciate within
environment for components which can instantiate within
frames. */
XComponentLoader xcomponentloader = UnoRuntime.queryInterface( XComponentLoader.class,
xmulticomponentfactory.createInstanceWithContext(
......
......@@ -67,7 +67,7 @@ public class TestInspector {
/* A desktop environment contains tasks with one or more
frames in which components can be loaded. Desktop is the
environment for components which can instanciate within
environment for components which can instantiate within
frames. */
com.sun.star.frame.XComponentLoader xCmpLoader = UnoRuntime.queryInterface( com.sun.star.frame.XComponentLoader.class,
xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", xContext));
......
......@@ -141,7 +141,7 @@ public class NotesAccess implements Runnable {
/* A desktop environment contains tasks with one or more
frames in which components can be loaded. Desktop is the
environment for components which can instanciate within
environment for components which can instantiate within
frames. */
XComponentLoader xLoader = UnoRuntime.queryInterface(XComponentLoader.class,
xMCF.createInstanceWithContext(
......
......@@ -177,7 +177,7 @@ public class ChartTypeChange {
try {
/* A desktop environment contains tasks with one or more
frames in which components can be loaded. Desktop is the
environment for components which can instanciate within
environment for components which can instantiate within
frames. */
XComponentLoader xComponentloader = UnoRuntime.queryInterface( XComponentLoader.class,
xMCF.createInstanceWithContext("com.sun.star.frame.Desktop",
......@@ -219,7 +219,7 @@ public class ChartTypeChange {
try {
/* A desktop environment contains tasks with one or more
frames in which components can be loaded. Desktop is the
environment for components which can instanciate within
environment for components which can instantiate within
frames. */
XComponentLoader xcomponentloader = UnoRuntime.queryInterface( XComponentLoader.class,
xMCF.createInstanceWithContext(
......
......@@ -67,7 +67,7 @@ public class GraphicsInserter {
/* A desktop environment contains tasks with one or more
frames in which components can be loaded. Desktop is the
environment for components which can instanciate within
environment for components which can instantiate within
frames. */
com.sun.star.frame.XDesktop xDesktop = UnoRuntime.queryInterface(com.sun.star.frame.XDesktop.class,
xMCF.createInstanceWithContext("com.sun.star.frame.Desktop",
......
......@@ -68,7 +68,7 @@ constants VBAScriptEventId
const long SCRIPT_STOPPED = 1;
/** This event is fired when a VBA script in the current document tries to
instanciate a userform.
instantiate a userform.
<p>The member VBAScriptEvent::ModuleName of the event
object will contain the name of the userform module.</p>
......
......@@ -229,7 +229,7 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService,
{
SAL_WARN( "oox", "Drawing::createAndInsertXShape - error during shape object creation: " << e.Message );
}
OSL_ENSURE( xShape.is(), "Drawing::createAndInsertXShape - cannot instanciate shape object" );
OSL_ENSURE( xShape.is(), "Drawing::createAndInsertXShape - cannot instantiate shape object" );
return xShape;
}
......
......@@ -172,7 +172,7 @@ public class _XTopWindow extends MultiMethodTest {
oObj.setMenuBar(menu) ;
} catch (com.sun.star.uno.Exception e) {
log.println("Can't instanciate MenuBar service") ;
log.println("Can't instantiate MenuBar service") ;
result = false ;
}
......
......@@ -41,7 +41,7 @@ public class _XComponentContext extends MultiMethodTest {
try {
if (names[i].equals("com.sun.star.i18n.ConversionDictionary_ko")) continue;
if (names[i].equals("com.sun.star.i18n.TextConversion_ko")) continue;
log.println("try to instanciate found servicename " +
log.println("try to instantiate found servicename " +
names[i]);
directly.createInstanceWithContext(names[i], oObj);
log.println("worked .... ok");
......
......@@ -194,7 +194,7 @@ namespace
void lcl_tryLoadBibliography()
{
// lp#527938, debian#602953, fdo#33266, i#105408
// make sure we actually can instanciate services from base first
// make sure we actually can instantiate services from base first
if(!lcl_isBaseAvailable())
{
try
......
......@@ -1662,7 +1662,7 @@ void UniversalContentBroker::globalTransfer(
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >(&aProps, 1),
xEnv,
"Can't instanciate target object!",
"Can't instantiate target object!",
this );
// Unreachable
}
......@@ -1845,7 +1845,7 @@ void UniversalContentBroker::globalTransfer(
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >(&aProps, 1),
xEnv,
"Can't instanciate source object!",
"Can't instantiate source object!",
this );
// Unreachable
}
......@@ -1988,7 +1988,7 @@ uno::Any UniversalContentBroker::checkIn( const ucb::CheckinArgument& rArg,
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >( &aProps, 1 ),
xEnv,
"Can't instanciate target object!",
"Can't instantiate target object!",
this );
// Unreachable
}
......
......@@ -1640,7 +1640,7 @@ void HierarchyContent::transfer(
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >(&aProps, 1),
xEnv,
"Cannot instanciate source object!",
"Cannot instantiate source object!",
this );
// Unreachable
}
......
......@@ -465,14 +465,14 @@ HierarchyDataSource::createInstanceWithArguments(
catch ( uno::Exception const & )
{
OSL_FAIL( "HierarchyDataSource::createInstanceWithArguments - "
"Cannot instanciate configuration access!" );
"Cannot instantiate configuration access!" );
throw;
}
if ( !xConfigAccess.is() )
{
OSL_FAIL( "HierarchyDataSource::createInstanceWithArguments - "
"Cannot instanciate configuration access!" );
"Cannot instantiate configuration access!" );
return xConfigAccess;
}
......
......@@ -1832,7 +1832,7 @@ void Content::transfer(
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >(&aProps, 1),
xEnv,
"Cannot instanciate source object!",
"Cannot instantiate source object!",
this );
// Unreachable
}
......
......@@ -2109,7 +2109,7 @@ void Content::transfer(
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >(&aProps, 1),
xEnv,
"Cannot instanciate target object!",
"Cannot instantiate target object!",
this );
// Unreachable
}
......@@ -2151,7 +2151,7 @@ void Content::transfer(
ucb::IOErrorCode_CANT_READ,
uno::Sequence< uno::Any >(&aProps, 1),
xEnv,
"Cannot instanciate target object!",
"Cannot instantiate target object!",
this );
// Unreachable
}
......
......@@ -632,7 +632,7 @@ bool OfficeDocumentsManager::isBasicIDE(
}
OSL_ENSURE( m_xModuleMgr .is(),
"Could not instanciate ModuleManager service!" );
"Could not instantiate ModuleManager service!" );
}
}
......
......@@ -876,7 +876,7 @@ UUIInteractionHelper::getInteractionHandlerList(
"com.sun.star.configuration.ConfigurationAccess" , aArguments ) );
if ( !xInterface.is() )
throw uno::RuntimeException("unable to instanciate config access");
throw uno::RuntimeException("unable to instantiate config access");
uno::Reference< container::XNameAccess > xNameAccess(
xInterface, uno::UNO_QUERY_THROW );
......
......@@ -64,7 +64,7 @@ namespace vcl { class Window; }
struct InteractionHandlerData
{
/** The UNO service name to use to instanciate the content provider.
/** The UNO service name to use to instantiate the content provider.
*/
OUString ServiceName;
};
......
......@@ -104,7 +104,7 @@ wrapper_factory_create_accessible( GObject *obj )
#if GTK_CHECK_VERSION(3,0,0)
GtkWidget* pEventBox = gtk_widget_get_parent(GTK_WIDGET(obj));
// gail_container_real_remove_gtk tries to re-instanciate an accessible
// gail_container_real_remove_gtk tries to re-instantiate an accessible
// for a widget that is about to vanish ..
if (!pEventBox)
return atk_noop_object_wrapper_new();
......@@ -119,7 +119,7 @@ wrapper_factory_create_accessible( GObject *obj )
#else
GtkWidget* pTopLevel = gtk_widget_get_parent(GTK_WIDGET(obj));
// gail_container_real_remove_gtk tries to re-instanciate an accessible
// gail_container_real_remove_gtk tries to re-instantiate an accessible
// for a widget that is about to vanish ..
if (!pTopLevel)
return atk_noop_object_wrapper_new();
......
......@@ -41,7 +41,7 @@ import com.sun.star.document.XDocumentProperties;
/**
* This class delivers static convenience methods
* to use with ucb SimpleFileAccess service.
* You can also instanciate the class, to encapsulate
* You can also instantiate the class, to encapsulate
* some functionality of SimpleFileAccess. The instance
* keeps a reference to an XSimpleFileAccess and an
* XFileIdentifierConverter, saves the permanent
......
......@@ -22,7 +22,7 @@ from os import sep as FileSeparator
'''
This class delivers static convenience methods
to use with ucb SimpleFileAccess service.
You can also instanciate the class, to encapsulate
You can also instantiate the class, to encapsulate
some functionality of SimpleFileAccess. The instance
keeps a reference to an XSimpleFileAccess and an
XFileIdentifierConverter, saves the permanent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment