This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 437a659 Fixed typos (initalize -> initialize)
437a659 is described below
commit 437a659490b9fa1bb9009c6d65ba520348331630
Author: mseidel <[email protected]>
AuthorDate: Mon Apr 26 21:58:55 2021 +0200
Fixed typos (initalize -> initialize)
(cherry picked from commit 6e9cccf42f52eac53abb7399073134c0cb193d0e)
---
main/cui/source/dialogs/colorpicker.cxx | 2 +-
main/dbaccess/source/ui/app/AppController.hxx | 2 +-
main/fpicker/source/win32/filepicker/PreviewCtrl.cxx | 2 +-
main/framework/source/jobs/jobdispatch.cxx | 2 +-
main/framework/source/tabwin/tabwindow.cxx | 4 ++--
.../source/uielement/langselectionmenucontroller.cxx | 4 ++--
main/framework/source/uielement/newmenucontroller.cxx | 4 ++--
main/framework/source/uielement/toolbarsmenucontroller.cxx | 4 ++--
.../com/sun/star/configuration/backend/OfflineBackend.idl | 2 +-
.../offapi/com/sun/star/resource/XStringResourceResolver.idl | 2 +-
main/offapi/com/sun/star/ui/UIElementFactory.idl | 2 +-
main/sal/inc/rtl/byteseq.h | 2 +-
main/sc/source/ui/drawfunc/fuins2.cxx | 2 +-
main/sc/source/ui/view/printfun.cxx | 4 ++--
main/scripting/source/storage/ScriptStorage.cxx | 12 ++++++------
main/svtools/inc/svtools/addresstemplate.hxx | 2 +-
main/svtools/inc/svtools/popupmenucontrollerbase.hxx | 2 +-
main/svtools/source/uno/popupmenucontrollerbase.cxx | 4 ++--
main/svx/source/engine3d/scene3d.cxx | 2 +-
main/sw/source/core/layout/trvlfrm.cxx | 2 +-
main/sw/source/filter/html/swhtml.cxx | 10 +++++-----
main/sw/source/filter/html/swhtml.hxx | 2 +-
main/sw/source/ui/inc/unotools.hxx | 2 +-
main/vcl/source/window/window.cxx | 2 +-
main/xmlsecurity/tools/uno/TestTool.java | 2 +-
25 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/main/cui/source/dialogs/colorpicker.cxx
b/main/cui/source/dialogs/colorpicker.cxx
index 7b148c3..89be537 100644
--- a/main/cui/source/dialogs/colorpicker.cxx
+++ b/main/cui/source/dialogs/colorpicker.cxx
@@ -1548,7 +1548,7 @@ void ColorPickerDialog::setColorComponent( sal_uInt16
nComp, double dValue )
typedef ::cppu::WeakComponentImplHelper4< XServiceInfo, XExecutableDialog,
XInitialization, XPropertyAccess > ColorPickerBase;
-class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right
initalization of mutex member! Must be first of baseclasses.
+class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right
initialization of mutex member! Must be first of baseclasses.
public ColorPickerBase
{
public:
diff --git a/main/dbaccess/source/ui/app/AppController.hxx
b/main/dbaccess/source/ui/app/AppController.hxx
index 2e2c143..2fd0300 100644
--- a/main/dbaccess/source/ui/app/AppController.hxx
+++ b/main/dbaccess/source/ui/app/AppController.hxx
@@ -404,7 +404,7 @@ namespace dbaui
protected:
//
----------------------------------------------------------------
- // initalizing members
+ // initializing members
/** forces usage of a connection which we do not own
<p>To be used from within XInitialization::initialize
only.</p>
*/
diff --git a/main/fpicker/source/win32/filepicker/PreviewCtrl.cxx
b/main/fpicker/source/win32/filepicker/PreviewCtrl.cxx
index cdcdaab..3eca4c4 100644
--- a/main/fpicker/source/win32/filepicker/PreviewCtrl.cxx
+++ b/main/fpicker/source/win32/filepicker/PreviewCtrl.cxx
@@ -226,7 +226,7 @@ CFilePreview* CFilePreview::createInstance(
catch( CAutoOleInit::COleInitException& )
{
OSL_ASSERT( !s_FilePreviewInst );
- OSL_ENSURE( sal_False, "OleInitalize failed" );
+ OSL_ENSURE( sal_False, "OleInitialize failed" );
}
}
diff --git a/main/framework/source/jobs/jobdispatch.cxx
b/main/framework/source/jobs/jobdispatch.cxx
index 4a5d51d..fe879e9 100644
--- a/main/framework/source/jobs/jobdispatch.cxx
+++ b/main/framework/source/jobs/jobdispatch.cxx
@@ -125,7 +125,7 @@ JobDispatch::~JobDispatch()
//________________________________
/**
- @short implementation of XInitalization
+ @short implementation of XInitialization
@descr A protocol handler can provide this functionality, if it wish to
get additional informations
about the context it runs. In this case the frame reference would
be given by the outside code.
diff --git a/main/framework/source/tabwin/tabwindow.cxx
b/main/framework/source/tabwin/tabwindow.cxx
index 1ba2c21..8de356b 100644
--- a/main/framework/source/tabwin/tabwindow.cxx
+++ b/main/framework/source/tabwin/tabwindow.cxx
@@ -299,12 +299,12 @@ throw (css::uno::Exception, css::uno::RuntimeException)
/* SAFE AREA
-----------------------------------------------------------------------------------------------
*/
ResetableGuard aLock( m_aLock );
- sal_Bool bInitalized(
m_bInitialized );
+ sal_Bool bInitialized(
m_bInitialized );
css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR(
m_xServiceManager );
aLock.unlock();
/* SAFE AREA
-----------------------------------------------------------------------------------------------
*/
- if ( !bInitalized )
+ if ( !bInitialized )
{
css::beans::PropertyValue
aPropValue;
css::uno::Reference< css::awt::XTopWindow > xTopWindow;
diff --git a/main/framework/source/uielement/langselectionmenucontroller.cxx
b/main/framework/source/uielement/langselectionmenucontroller.cxx
index b5bb029..949497c 100644
--- a/main/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/main/framework/source/uielement/langselectionmenucontroller.cxx
@@ -354,8 +354,8 @@ void SAL_CALL LanguageSelectionMenuController::initialize(
const Sequence< Any >
{
osl::MutexGuard aLock( m_aMutex );
- sal_Bool bInitalized( m_bInitialized );
- if ( !bInitalized )
+ sal_Bool bInitialized( m_bInitialized );
+ if ( !bInitialized )
{
svt::PopupMenuControllerBase::initialize(aArguments);
diff --git a/main/framework/source/uielement/newmenucontroller.cxx
b/main/framework/source/uielement/newmenucontroller.cxx
index 3017bd5..85a6243 100644
--- a/main/framework/source/uielement/newmenucontroller.cxx
+++ b/main/framework/source/uielement/newmenucontroller.cxx
@@ -547,8 +547,8 @@ void SAL_CALL NewMenuController::initialize( const
Sequence< Any >& aArguments )
{
osl::MutexGuard aLock( m_aMutex );
- sal_Bool bInitalized( m_bInitialized );
- if ( !bInitalized )
+ sal_Bool bInitialized( m_bInitialized );
+ if ( !bInitialized )
{
svt::PopupMenuControllerBase::initialize( aArguments );
diff --git a/main/framework/source/uielement/toolbarsmenucontroller.cxx
b/main/framework/source/uielement/toolbarsmenucontroller.cxx
index 3ce1cb5..d5aeba6 100644
--- a/main/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/main/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -840,8 +840,8 @@ void SAL_CALL ToolbarsMenuController::setPopupMenu( const
Reference< css::awt::X
void SAL_CALL ToolbarsMenuController::initialize( const Sequence< Any >&
aArguments ) throw ( Exception, RuntimeException )
{
osl::MutexGuard aLock( m_aMutex );
- sal_Bool bInitalized( m_bInitialized );
- if ( !bInitalized )
+ sal_Bool bInitialized( m_bInitialized );
+ if ( !bInitialized )
{
svt::PopupMenuControllerBase::initialize(aArguments);
diff --git a/main/offapi/com/sun/star/configuration/backend/OfflineBackend.idl
b/main/offapi/com/sun/star/configuration/backend/OfflineBackend.idl
index c9f96d7..87dfad3 100644
--- a/main/offapi/com/sun/star/configuration/backend/OfflineBackend.idl
+++ b/main/offapi/com/sun/star/configuration/backend/OfflineBackend.idl
@@ -48,7 +48,7 @@ published service OfflineBackend
/** provides access to configuration data from a
<type>SingleBackend</type>.
- <p>If no backend is provided during initalization or if the context
+ <p>If no backend is provided during initialization or if the context
contains an <code>Offline</code> flag that is <TRUE/>, then offline
mode
is activated. This may fail, if the offline cache has not been filled
during a previous execution.
diff --git a/main/offapi/com/sun/star/resource/XStringResourceResolver.idl
b/main/offapi/com/sun/star/resource/XStringResourceResolver.idl
index 850a95d..0df6559 100644
--- a/main/offapi/com/sun/star/resource/XStringResourceResolver.idl
+++ b/main/offapi/com/sun/star/resource/XStringResourceResolver.idl
@@ -60,7 +60,7 @@ published interface XStringResourceResolver:
com::sun::star::util::XModifyBroadc
{
/**
Resolves the passed ResoureID for the current locale. This
- locale is set during initalisation of the object implementing
+ locale is set during initialization of the object implementing
this interface or - in case that also the interface
<type scope="com::sun::star::resource">XStringResourceManager</type>
is supported - by using the
<code>XStringResourceManager::setLocale</code>
diff --git a/main/offapi/com/sun/star/ui/UIElementFactory.idl
b/main/offapi/com/sun/star/ui/UIElementFactory.idl
index ecf659c..b1a2c26 100644
--- a/main/offapi/com/sun/star/ui/UIElementFactory.idl
+++ b/main/offapi/com/sun/star/ui/UIElementFactory.idl
@@ -50,7 +50,7 @@ module com { module sun { module star { module ui {
published service UIElementFactory
{
- /** this interface provides a function to create and initalize new
+ /** this interface provides a function to create and initialize new
instances of user interface elements.
@see XUIElementFactory
diff --git a/main/sal/inc/rtl/byteseq.h b/main/sal/inc/rtl/byteseq.h
index 598f6a3..e050cac 100644
--- a/main/sal/inc/rtl/byteseq.h
+++ b/main/sal/inc/rtl/byteseq.h
@@ -140,7 +140,7 @@ namespace rtl
enum __ByteSequence_NoDefault
{
- /** This enum value can be used to create a bytesequence with
uninitalized data
+ /** This enum value can be used to create a bytesequence with
uninitialized data
*/
BYTESEQ_NODEFAULT = 0xcafe
};
diff --git a/main/sc/source/ui/drawfunc/fuins2.cxx
b/main/sc/source/ui/drawfunc/fuins2.cxx
index 92c7531..109b0c6 100644
--- a/main/sc/source/ui/drawfunc/fuins2.cxx
+++ b/main/sc/source/ui/drawfunc/fuins2.cxx
@@ -219,7 +219,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, Window*
pWin, ScDrawView* pVie
if( ! rReq.IsAPI() )
rReq.Done();
- //! hier DLL's initalisieren, damit die Factories existieren?
+ //! hier DLL's initialisieren, damit die Factories existieren?
uno::Reference < embed::XEmbeddedObject > xObj;
uno::Reference < embed::XStorage > xStorage =
comphelper::OStorageHelper::GetTemporaryStorage();
diff --git a/main/sc/source/ui/view/printfun.cxx
b/main/sc/source/ui/view/printfun.cxx
index 94bacc7..24f1da3 100644
--- a/main/sc/source/ui/view/printfun.cxx
+++ b/main/sc/source/ui/view/printfun.cxx
@@ -484,7 +484,7 @@ void ScPrintFunc::DrawToDev( ScDocument* pDoc,
OutputDevice* pDev, double /* nPr
long nTwipsSizeY = (long) pDoc->GetRowHeight( nY1, nY2, nTab );
// wenn keine Linien, dann trotzdem Platz fuer den Aussenrahmen
(20 Twips = 1pt)
- // (HasLines initalisiert aLines auf 0,0,0,0)
+ // (HasLines initialisiert aLines auf 0,0,0,0)
nTwipsSizeX += aLines.Left() + Max( aLines.Right(), 20L );
nTwipsSizeY += aLines.Top() + Max( aLines.Bottom(), 20L );
@@ -626,7 +626,7 @@ void ScPrintFunc::DrawToDev( ScDocument* pDoc,
OutputDevice* pDev, double /* nPr
void lcl_FillHFParam( ScPrintHFParam& rParam, const SfxItemSet* pHFSet )
{
- // nDistance muss vorher unterschiedlich initalisiert sein
+ // nDistance muss vorher unterschiedlich initialisiert sein
if ( pHFSet == NULL )
{
diff --git a/main/scripting/source/storage/ScriptStorage.cxx
b/main/scripting/source/storage/ScriptStorage.cxx
index 94e6897..f52823c 100644
--- a/main/scripting/source/storage/ScriptStorage.cxx
+++ b/main/scripting/source/storage/ScriptStorage.cxx
@@ -153,11 +153,11 @@ throw ( RuntimeException, Exception )
{
OSL_TRACE( "Entering ScriptStorage::initialize\n" );
- // Should not be renitialised
+ // Should not be renitialized
if ( m_bInitialised )
{
throw RuntimeException(
- OUSTR( "ScriptStorage::initalize already initialized" ),
+ OUSTR( "ScriptStorage::initialize already initialized" ),
Reference<XInterface> () );
}
@@ -220,14 +220,14 @@ throw ( RuntimeException, Exception )
{
OSL_TRACE( "caught com::sun::star::uno::RuntimeException in
ScriptStorage::initialize" );
throw RuntimeException(
- OUSTR( "ScriptStorage::initalize RuntimeException: " ).concat(
re.Message ),
+ OUSTR( "ScriptStorage::initialize RuntimeException: " ).concat(
re.Message ),
Reference< XInterface > () );
}
catch ( Exception & ue )
{
OSL_TRACE( "caught com::sun::star::uno::Exception in
ScriptStorage::initialize" );
throw RuntimeException(
- OUSTR( "ScriptStorage::initalize Exception: " ).concat( ue.Message
),
+ OUSTR( "ScriptStorage::initialize Exception: " ).concat(
ue.Message ),
Reference< XInterface > () );
}
#ifdef _DEBUG
@@ -235,7 +235,7 @@ throw ( RuntimeException, Exception )
{
OSL_TRACE( "caught unknown Exception in ScriptStorage::initialize" );
throw RuntimeException(
- OUSTR( "ScriptStorage::initalize unknown exception: " ),
+ OUSTR( "ScriptStorage::initialize unknown exception: " ),
Reference< XInterface > () );
}
#endif
@@ -390,7 +390,7 @@ throw ( RuntimeException, Exception )
{
OSL_TRACE( "caught unknown Exception in ScriptStorage::create" );
throw RuntimeException(
- OUSTR( "ScriptStorage::initalize unknown exception: " ),
+ OUSTR( "ScriptStorage::initialize unknown exception: " ),
Reference< XInterface > () );
}
#endif
diff --git a/main/svtools/inc/svtools/addresstemplate.hxx
b/main/svtools/inc/svtools/addresstemplate.hxx
index 8c5b033..cbef740 100644
--- a/main/svtools/inc/svtools/addresstemplate.hxx
+++ b/main/svtools/inc/svtools/addresstemplate.hxx
@@ -130,7 +130,7 @@ namespace svt
void implScrollFields(sal_Int32 _nPos, sal_Bool
_bAdjustFocus, sal_Bool _bAdjustScrollbar);
void implSelectField(ListBox* _pBox, const String& _rText);
- void initalizeListBox(ListBox* _pList);
+ void initializeListBox(ListBox* _pList);
void resetTables();
void resetFields();
diff --git a/main/svtools/inc/svtools/popupmenucontrollerbase.hxx
b/main/svtools/inc/svtools/popupmenucontrollerbase.hxx
index e877747..dc64ef3 100644
--- a/main/svtools/inc/svtools/popupmenucontrollerbase.hxx
+++ b/main/svtools/inc/svtools/popupmenucontrollerbase.hxx
@@ -63,7 +63,7 @@ namespace svt
com::sun::star::frame::XDispatchProvider ,
com::sun::star::frame::XDispatch > PopupMenuControllerBaseType;
- class SVT_DLLPUBLIC PopupMenuControllerBase : protected
::comphelper::OBaseMutex, // Struct for right initalization of mutex member!
Must be first of baseclasses.
+ class SVT_DLLPUBLIC PopupMenuControllerBase : protected
::comphelper::OBaseMutex, // Struct for right initialization of mutex member!
Must be first of baseclasses.
public PopupMenuControllerBaseType
{
public:
diff --git a/main/svtools/source/uno/popupmenucontrollerbase.cxx
b/main/svtools/source/uno/popupmenucontrollerbase.cxx
index 4816a1c..642a569 100644
--- a/main/svtools/source/uno/popupmenucontrollerbase.cxx
+++ b/main/svtools/source/uno/popupmenucontrollerbase.cxx
@@ -347,8 +347,8 @@ void SAL_CALL PopupMenuControllerBase::initialize( const
Sequence< Any >& aArgum
{
osl::MutexGuard aLock( m_aMutex );
- sal_Bool bInitalized( m_bInitialized );
- if ( !bInitalized )
+ sal_Bool bInitialized( m_bInitialized );
+ if ( !bInitialized )
{
PropertyValue aPropValue;
rtl::OUString aCommandURL;
diff --git a/main/svx/source/engine3d/scene3d.cxx
b/main/svx/source/engine3d/scene3d.cxx
index d259791..55cca3c 100644
--- a/main/svx/source/engine3d/scene3d.cxx
+++ b/main/svx/source/engine3d/scene3d.cxx
@@ -566,7 +566,7 @@ void E3dScene::operator=(const SdrObject& rObj)
// and would create a lot of short living data structures.
// It is currently better to flush that data, e.g. by using
// ActionChanged at the VC which will for this class
- // flush that cached data and initalize it's valid reconstruction
+ // flush that cached data and initialize its valid reconstruction
GetViewContact().ActionChanged();
}
diff --git a/main/sw/source/core/layout/trvlfrm.cxx
b/main/sw/source/core/layout/trvlfrm.cxx
index d1e500c..ce389c5 100644
--- a/main/sw/source/core/layout/trvlfrm.cxx
+++ b/main/sw/source/core/layout/trvlfrm.cxx
@@ -1020,7 +1020,7 @@ SwLayoutFrm *GetPrevFrm( const SwLayoutFrm *pFrm )
return pPrev;
}
-//Jetzt koennen auch die Funktionspointer initalisiert werden;
+//Jetzt koennen auch die Funktionspointer initialisiert werden;
//sie sind in cshtyp.hxx declariert.
SwPosPage fnPageStart = GetFirstSub;
SwPosPage fnPageEnd = GetLastSub;
diff --git a/main/sw/source/filter/html/swhtml.cxx
b/main/sw/source/filter/html/swhtml.cxx
index aa4b696..2bcb9a6 100644
--- a/main/sw/source/filter/html/swhtml.cxx
+++ b/main/sw/source/filter/html/swhtml.cxx
@@ -304,7 +304,7 @@ SwHTMLParser::SwHTMLParser( SwDoc* pD, const SwPaM& rCrsr,
SvStream& rIn,
nContinue( 0 ),
#endif
eParaAdjust( SVX_ADJUST_END ),
- bDocInitalized( sal_False ),
+ bDocInitialized( sal_False ),
bSetModEnabled( sal_False ),
bInFloatingFrame( sal_False ),
bInField( sal_False ),
@@ -939,8 +939,8 @@ void SwHTMLParser::Modify( const SfxPoolItem* pOld, const
SfxPoolItem *pNew )
void SwHTMLParser::DocumentDetected()
{
- ASSERT( !bDocInitalized, "DocumentDetected mehrfach aufgerufen" );
- bDocInitalized = sal_True;
+ ASSERT( !bDocInitialized, "DocumentDetected mehrfach aufgerufen" );
+ bDocInitialized = sal_True;
if( IsNewDoc() )
{
if( IsInHeader() )
@@ -1059,7 +1059,7 @@ void __EXPORT SwHTMLParser::NextToken( int nToken )
// versuchen wir das erstmal rauszufinden. Das muss fuer Controls in
// Fall vor dem Einfuegen des Controls passieren, weil beim Einfuegen
// bereits eine View benoetigt wird.
- if( !bDocInitalized )
+ if( !bDocInitialized )
DocumentDetected();
sal_Bool bGetIDOption = sal_False, bInsertUnknown = sal_False;
@@ -1475,7 +1475,7 @@ void __EXPORT SwHTMLParser::NextToken( int nToken )
if( aToken.Len() )
{
- if( !bDocInitalized )
+ if( !bDocInitialized )
DocumentDetected();
pDoc->InsertString( *pPam, aToken );
diff --git a/main/sw/source/filter/html/swhtml.hxx
b/main/sw/source/filter/html/swhtml.hxx
index 141adb6..a36528d 100644
--- a/main/sw/source/filter/html/swhtml.hxx
+++ b/main/sw/source/filter/html/swhtml.hxx
@@ -455,7 +455,7 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient
sal_Bool bOldIsHTMLMode : 1; // War's mal ein HTML-Dokument?
- sal_Bool bDocInitalized : 1; // Dokument bzw. Shell wurden
initialisiert
+ sal_Bool bDocInitialized : 1; // Dokument bzw. Shell wurden
initialisiert
// Flag um
doppeltes init durch Rekursion
// zu
verhindern.
sal_Bool bViewCreated : 1; // die View wurde schon erzeugt
(asynchron)
diff --git a/main/sw/source/ui/inc/unotools.hxx
b/main/sw/source/ui/inc/unotools.hxx
index b99c7e4..8061fdb 100644
--- a/main/sw/source/ui/inc/unotools.hxx
+++ b/main/sw/source/ui/inc/unotools.hxx
@@ -108,7 +108,7 @@ class SW_DLLPUBLIC SwOneExampleFrame
public:
SwOneExampleFrame(Window& rWin,
sal_uInt32 nStyleFlags =
EX_SHOW_ONLINE_LAYOUT,
- const Link* pInitalizedLink = 0,
+ const Link* pInitializedLink = 0,
String* pURL = 0);
~SwOneExampleFrame();
diff --git a/main/vcl/source/window/window.cxx
b/main/vcl/source/window/window.cxx
index d230a98..b5c50b0 100644
--- a/main/vcl/source/window/window.cxx
+++ b/main/vcl/source/window/window.cxx
@@ -7202,7 +7202,7 @@ void Window::SetZOrder( Window* pRefWindow, sal_uInt16
nFlags )
sal_Bool bInitWinClipRegion = mpWindowImpl->mbInitWinClipRegion;
ImplSetClipFlag();
- // Wenn ClipRegion noch nicht initalisiert wurde, dann
+ // Wenn ClipRegion noch nicht initialisiert wurde, dann
// gehen wir davon aus, das das Fenster noch nicht
// ausgegeben wurde und loesen somit auch keine
// Invalidates aus. Dies ist eine Optimierung fuer
diff --git a/main/xmlsecurity/tools/uno/TestTool.java
b/main/xmlsecurity/tools/uno/TestTool.java
index ba41225..c5c6f89 100644
--- a/main/xmlsecurity/tools/uno/TestTool.java
+++ b/main/xmlsecurity/tools/uno/TestTool.java
@@ -234,7 +234,7 @@ public class TestTool extends JFrame implements
ActionListener
******************************************************************************/
/*
- * initalizes the UI.
+ * initializes the UI.
*/
private void initUI()
{