[Libreoffice-commits] core.git: sw/inc sw/source xmlhelp/source

Julien Nabet serval2412 at yahoo.fr
Sun Jun 18 21:16:40 UTC 2017


 sw/inc/PostItMgr.hxx                          |    4 ++--
 sw/source/uibase/docvw/PostItMgr.cxx          |    8 ++++----
 xmlhelp/source/cxxhelp/provider/databases.cxx |    8 ++++----
 xmlhelp/source/cxxhelp/provider/databases.hxx |    4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 097de810da9ade4d25bb0c65de8269485b83ef3e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 18 22:27:12 2017 +0200

    Typo: existance->existance
    
    Change-Id: If6927f3b9e983d41ec957997a26d235b8be378a5
    Reviewed-on: https://gerrit.libreoffice.org/38934
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index df2a2842fe5a..98055cf451cd 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -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:
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index 7b6cbccfa5f9..bfa90c8ba228 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -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();
     }
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index bd50ffd10ebe..407a9bd0c9b4 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -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;
 }
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index 862faa5c7b29..032a39d93848 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -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,


More information about the Libreoffice-commits mailing list