Typo: existance->existance
Change-Id: If6927f3b9e983d41ec957997a26d235b8be378a5 Reviewed-on: https://gerrit.libreoffice.org/38934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
86bc372bf9
commit
097de810da
@ -167,7 +167,7 @@ class SwPostItMgr: public SfxListener
|
||||
|
||||
typedef std::list<sw::annotation::SwAnnotationWin*>::iterator SwAnnotationWin_iterator;
|
||||
|
||||
void AddPostIts(bool bCheckExistance = true,bool bFocus = true);
|
||||
void AddPostIts(bool bCheckExistence = true,bool bFocus = true);
|
||||
void RemoveSidebarWin();
|
||||
void PreparePageContainer();
|
||||
void Scroll(const long lScroll,const unsigned long aPage );
|
||||
@ -190,7 +190,7 @@ class SwPostItMgr: public SfxListener
|
||||
|
||||
sw::annotation::SwAnnotationWin* GetSidebarWin(const SfxBroadcaster* pBroadcaster) const;
|
||||
|
||||
SwSidebarItem* InsertItem( SfxBroadcaster* pItem, bool bCheckExistance, bool bFocus);
|
||||
SwSidebarItem* InsertItem( SfxBroadcaster* pItem, bool bCheckExistence, bool bFocus);
|
||||
void RemoveItem( SfxBroadcaster* pBroadcast );
|
||||
|
||||
public:
|
||||
|
@ -278,10 +278,10 @@ void SwPostItMgr::CheckForRemovedPostIts()
|
||||
}
|
||||
}
|
||||
|
||||
SwSidebarItem* SwPostItMgr::InsertItem(SfxBroadcaster* pItem, bool bCheckExistance, bool bFocus)
|
||||
SwSidebarItem* SwPostItMgr::InsertItem(SfxBroadcaster* pItem, bool bCheckExistence, bool bFocus)
|
||||
{
|
||||
SwSidebarItem* pAnnotationItem = nullptr;
|
||||
if (bCheckExistance)
|
||||
if (bCheckExistence)
|
||||
{
|
||||
for(std::list<SwSidebarItem*>::iterator i = mvPostItFields.begin(); i != mvPostItFields.end() ; ++i)
|
||||
{
|
||||
@ -1297,7 +1297,7 @@ bool SwPostItMgr::LayoutByPage(std::list<SwAnnotationWin*> &aVisiblePostItList,
|
||||
return bScrollbars;
|
||||
}
|
||||
|
||||
void SwPostItMgr::AddPostIts(bool bCheckExistance, bool bFocus)
|
||||
void SwPostItMgr::AddPostIts(bool bCheckExistence, bool bFocus)
|
||||
{
|
||||
bool bEmpty = mvPostItFields.empty();
|
||||
SwFieldType* pType = mpView->GetDocShell()->GetDoc()->getIDocumentFieldsAccess().GetFieldType(SwFieldIds::Postit, OUString(),false);
|
||||
@ -1308,7 +1308,7 @@ void SwPostItMgr::AddPostIts(bool bCheckExistance, bool bFocus)
|
||||
if ( pSwFormatField->GetTextField())
|
||||
{
|
||||
if ( pSwFormatField->IsFieldInDoc() )
|
||||
InsertItem(pSwFormatField,bCheckExistance,bFocus);
|
||||
InsertItem(pSwFormatField,bCheckExistence,bFocus);
|
||||
}
|
||||
pSwFormatField = aIter.Next();
|
||||
}
|
||||
|
@ -1125,7 +1125,7 @@ void Databases::setInstallPath( const OUString& aInstDir )
|
||||
|
||||
// class ExtensionIteratorBase
|
||||
|
||||
ExtensionHelpExistanceMap ExtensionIteratorBase::aHelpExistanceMap;
|
||||
ExtensionHelpExistenceMap ExtensionIteratorBase::aHelpExistenceMap;
|
||||
|
||||
ExtensionIteratorBase::ExtensionIteratorBase( Reference< XComponentContext > const & xContext,
|
||||
Databases& rDatabases, const OUString& aInitialModule, const OUString& aLanguage )
|
||||
@ -1173,8 +1173,8 @@ Reference< deployment::XPackage > ExtensionIteratorBase::implGetHelpPackageFromP
|
||||
|
||||
// #i84550 Cache information about help content in extension
|
||||
OUString aExtensionPath = xPackage->getURL();
|
||||
ExtensionHelpExistanceMap::iterator it = aHelpExistanceMap.find( aExtensionPath );
|
||||
bool bFound = ( it != aHelpExistanceMap.end() );
|
||||
ExtensionHelpExistenceMap::iterator it = aHelpExistenceMap.find( aExtensionPath );
|
||||
bool bFound = ( it != aHelpExistenceMap.end() );
|
||||
bool bHasHelp = bFound && it->second;
|
||||
if( bFound && !bHasHelp )
|
||||
return xHelpPackage;
|
||||
@ -1221,7 +1221,7 @@ Reference< deployment::XPackage > ExtensionIteratorBase::implGetHelpPackageFromP
|
||||
}
|
||||
|
||||
if( !bFound )
|
||||
aHelpExistanceMap[ aExtensionPath ] = xHelpPackage.is();
|
||||
aHelpExistenceMap[ aExtensionPath ] = xHelpPackage.is();
|
||||
|
||||
return xHelpPackage;
|
||||
}
|
||||
|
@ -314,11 +314,11 @@ namespace chelp {
|
||||
bool,
|
||||
OUStringHash
|
||||
>
|
||||
ExtensionHelpExistanceMap;
|
||||
ExtensionHelpExistenceMap;
|
||||
|
||||
class ExtensionIteratorBase
|
||||
{
|
||||
static ExtensionHelpExistanceMap aHelpExistanceMap;
|
||||
static ExtensionHelpExistenceMap aHelpExistenceMap;
|
||||
|
||||
public:
|
||||
ExtensionIteratorBase( css::uno::Reference< css::uno::XComponentContext > const & xContext,
|
||||
|
Loading…
x
Reference in New Issue
Block a user