Typos in code with variables containing "inital"->"initial"
Change-Id: I48205b40b7f9a0b37da3712ae05c49ff4a618db1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113823 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
@@ -276,8 +276,8 @@ void SAL_CALL LanguageSelectionMenuController::initialize( const Sequence< Any >
|
||||
{
|
||||
osl::MutexGuard aLock( m_aMutex );
|
||||
|
||||
bool bInitalized( m_bInitialized );
|
||||
if ( !bInitalized )
|
||||
bool bInitialized( m_bInitialized );
|
||||
if ( !bInitialized )
|
||||
{
|
||||
svt::PopupMenuControllerBase::initialize(aArguments);
|
||||
|
||||
|
||||
@@ -483,8 +483,8 @@ void SAL_CALL NewMenuController::initialize( const Sequence< Any >& aArguments )
|
||||
{
|
||||
osl::MutexGuard aLock( m_aMutex );
|
||||
|
||||
bool bInitalized( m_bInitialized );
|
||||
if ( bInitalized )
|
||||
bool bInitialized( m_bInitialized );
|
||||
if ( bInitialized )
|
||||
return;
|
||||
|
||||
svt::PopupMenuControllerBase::initialize( aArguments );
|
||||
|
||||
@@ -1803,8 +1803,8 @@ bool GeometryHandler::isDefaultFunction( const OUString& _sQuotedFunction
|
||||
{
|
||||
if ( !_xFunctionsSupplier.is() || _xFunctionsSupplier == aFind.first->second.second )
|
||||
{
|
||||
const beans::Optional< OUString> aInitalFormula = aFind.first->second.first->getInitialFormula();
|
||||
if ( aInitalFormula.IsPresent )
|
||||
const beans::Optional< OUString> aInitialFormula = aFind.first->second.first->getInitialFormula();
|
||||
if ( aInitialFormula.IsPresent )
|
||||
{
|
||||
OUString sDefaultFunctionName;
|
||||
bDefaultFunction = impl_isDefaultFunction_nothrow(aFind.first->second.first,_rDataField,sDefaultFunctionName);
|
||||
@@ -2052,8 +2052,8 @@ bool GeometryHandler::impl_isCounterFunction_throw(const OUString& _sQuotedFunct
|
||||
::std::pair<TFunctions::const_iterator,TFunctions::const_iterator> aFind = m_aFunctionNames.equal_range(_sQuotedFunctionName);
|
||||
while ( aFind.first != aFind.second )
|
||||
{
|
||||
const beans::Optional< OUString> aInitalFormula = aFind.first->second.first->getInitialFormula();
|
||||
if ( aInitalFormula.IsPresent )
|
||||
const beans::Optional< OUString> aInitialFormula = aFind.first->second.first->getInitialFormula();
|
||||
if ( aInitialFormula.IsPresent )
|
||||
{
|
||||
const OUString sFormula( aFind.first->second.first->getFormula() );
|
||||
i18nutil::SearchOptions2 aSearchOptions;
|
||||
|
||||
@@ -300,8 +300,8 @@ void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArgum
|
||||
{
|
||||
osl::MutexGuard aLock( m_aMutex );
|
||||
|
||||
bool bInitalized( m_bInitialized );
|
||||
if ( bInitalized )
|
||||
bool bInitialized( m_bInitialized );
|
||||
if ( bInitialized )
|
||||
return;
|
||||
|
||||
PropertyValue aPropValue;
|
||||
|
||||
@@ -286,7 +286,7 @@ SwHTMLParser::SwHTMLParser( SwDoc* pD, SwPaM& rCursor, SvStream& rIn,
|
||||
m_nContinue( 0 ),
|
||||
#endif
|
||||
m_eParaAdjust( SvxAdjust::End ),
|
||||
m_bDocInitalized( false ),
|
||||
m_bDocInitialized( false ),
|
||||
m_bSetModEnabled( false ),
|
||||
m_bInFloatingFrame( false ),
|
||||
m_bInField( false ),
|
||||
@@ -954,8 +954,8 @@ void SwHTMLParser::Notify(const SfxHint& rHint)
|
||||
|
||||
void SwHTMLParser::DocumentDetected()
|
||||
{
|
||||
OSL_ENSURE( !m_bDocInitalized, "DocumentDetected called multiple times" );
|
||||
m_bDocInitalized = true;
|
||||
OSL_ENSURE( !m_bDocInitialized, "DocumentDetected called multiple times" );
|
||||
m_bDocInitialized = true;
|
||||
if( IsNewDoc() )
|
||||
{
|
||||
if( IsInHeader() )
|
||||
@@ -1073,7 +1073,7 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken )
|
||||
// Find out what type of document it is if we don't know already.
|
||||
// For Controls this has to be finished before the control is inserted
|
||||
// because for inserting a View is needed.
|
||||
if( !m_bDocInitalized )
|
||||
if( !m_bDocInitialized )
|
||||
DocumentDetected();
|
||||
|
||||
bool bGetIDOption = false, bInsertUnknown = false;
|
||||
@@ -1253,7 +1253,7 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken )
|
||||
// (but surely if we are not in the header section) fdo#36080 fdo#34666
|
||||
if (!aToken.isEmpty() && !IsInHeader() )
|
||||
{
|
||||
if( !m_bDocInitalized )
|
||||
if( !m_bDocInitialized )
|
||||
DocumentDetected();
|
||||
m_xDoc->getIDocumentContentOperations().InsertString( *m_pPam, aToken );
|
||||
|
||||
@@ -1524,7 +1524,7 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken )
|
||||
|
||||
if( !aToken.isEmpty() )
|
||||
{
|
||||
if( !m_bDocInitalized )
|
||||
if( !m_bDocInitialized )
|
||||
DocumentDetected();
|
||||
|
||||
if (!m_aEmbeds.empty())
|
||||
|
||||
@@ -432,7 +432,7 @@ class SwHTMLParser : public SfxHTMLParser, public SvtListener
|
||||
|
||||
bool m_bOldIsHTMLMode : 1; // Was it a HTML document?
|
||||
|
||||
bool m_bDocInitalized : 1; // document resp. shell was initialize
|
||||
bool m_bDocInitialized : 1; // document resp. shell was initialize
|
||||
// flag to prevent double init via recursion
|
||||
bool m_bViewCreated : 1; // the view was already created (asynchronous)
|
||||
bool m_bSetModEnabled : 1;
|
||||
|
||||
@@ -62,7 +62,7 @@ class SW_DLLPUBLIC SwOneExampleFrame : public weld::CustomWidgetController
|
||||
|
||||
public:
|
||||
SwOneExampleFrame(sal_uInt32 nStyleFlags,
|
||||
const Link<SwOneExampleFrame&,void>* pInitalizedLink,
|
||||
const Link<SwOneExampleFrame&,void>* pInitializedLink,
|
||||
const OUString* pURL = nullptr);
|
||||
virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
|
||||
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) override;
|
||||
|
||||
Reference in New Issue
Block a user