[Libreoffice-commits] core.git: 2 commits - framework/source include/dbaccess include/framework include/sal odk/examples offapi/com sw/inc sw/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 19 07:43:55 UTC 2019


 framework/source/services/autorecovery.cxx                           |    4 ++--
 include/dbaccess/dataview.hxx                                        |    2 +-
 include/framework/addonsoptions.hxx                                  |    4 ++--
 include/sal/log-areas.dox                                            |    2 +-
 odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx |    4 ++--
 offapi/com/sun/star/deployment/XPackageRegistry.idl                  |    2 +-
 sw/inc/view.hxx                                                      |    4 ++--
 sw/inc/viewsh.hxx                                                    |    4 ++--
 sw/source/core/view/viewsh.cxx                                       |    2 +-
 sw/source/uibase/app/apphdl.cxx                                      |    4 ++--
 sw/source/uibase/inc/pview.hxx                                       |    4 ++--
 sw/source/uibase/uiview/pview.cxx                                    |    6 +++---
 sw/source/uibase/uiview/view.cxx                                     |    2 +-
 sw/source/uibase/uiview/view0.cxx                                    |    4 ++--
 14 files changed, 24 insertions(+), 24 deletions(-)

New commits:
commit 7f3e33420abdf6a13a14a1208bda6294a10b0e5b
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 18 14:41:51 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 19 09:43:28 2019 +0200

    Fix typo
    
    "Accessiblity"
    
    It passed "make check" on Linux
    
    Change-Id: I14a6f010caa12df01c4eb211ddedc42bcc06da66
    Reviewed-on: https://gerrit.libreoffice.org/77666
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 9666e497856c..4711bd8a6a0f 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -506,7 +506,7 @@ certain functionality.
 @li @c vcl.window
 @li @c vcl.wmf
 
- at section winaccessiblity
+ at section winaccessibility
 
 @li @c iacc2 - IAccessible2 bridge debug
 
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 7dbb4be8440f..dd42fe4e1e00 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -592,8 +592,8 @@ public:
 
     // Enable mail merge - mail merge field dialog enabled
     void EnableMailMerge();
-    //apply Accessiblity options
-    void ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
+    //apply Accessibility options
+    void ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
 
     SwView(SfxViewFrame* pFrame, SfxViewShell*);
     virtual ~SwView() override;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 4120288ca268..0608c17c0a03 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -508,8 +508,8 @@ public:
     void ShowPreviewSelection( sal_uInt16 nSelPage );
     void InvalidateAccessibleFocus();
 
-    // Apply Accessiblity options.
-    void ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
+    // Apply Accessibility options.
+    void ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
 
     /** invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs
 
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index b43d76219ff0..56ef0c92c128 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -2464,7 +2464,7 @@ SwAccessibleMap* SwViewShell::GetAccessibleMap()
     return nullptr;
 }
 
-void SwViewShell::ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions)
+void SwViewShell::ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAccessibilityOptions)
 {
     if (utl::ConfigManager::IsFuzzing())
         return;
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
index 683b6b049c92..bc5bbf8020bb 100644
--- a/sw/source/uibase/app/apphdl.cxx
+++ b/sw/source/uibase/app/apphdl.cxx
@@ -962,9 +962,9 @@ void SwModule::ConfigurationChanged( utl::ConfigurationBroadcaster* pBrdCst, Con
                     if(bAccessibility)
                     {
                         if(dynamic_cast< const SwView *>( pViewShell ) !=  nullptr)
-                            static_cast<SwView*>(pViewShell)->ApplyAccessiblityOptions(*m_pAccessibilityOptions);
+                            static_cast<SwView*>(pViewShell)->ApplyAccessibilityOptions(*m_pAccessibilityOptions);
                         else if(dynamic_cast< const SwPagePreview *>( pViewShell ) !=  nullptr)
-                            static_cast<SwPagePreview*>(pViewShell)->ApplyAccessiblityOptions(*m_pAccessibilityOptions);
+                            static_cast<SwPagePreview*>(pViewShell)->ApplyAccessibilityOptions(*m_pAccessibilityOptions);
                     }
                     pViewShell->GetWindow()->Invalidate();
                 }
diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx
index 53b8decd504e..f33822807ee1 100644
--- a/sw/source/uibase/inc/pview.hxx
+++ b/sw/source/uibase/inc/pview.hxx
@@ -266,8 +266,8 @@ public:
 
     SwDocShell* GetDocShell();
 
-    // apply Accessiblity options
-    void ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
+    // apply Accessibility options
+    void ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
 
     // Inline method to request values of new members
     // <mbResetFormDesignMode> and <mbFormDesignModeToReset>
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index 7eb6569aa2e0..04f134490746 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1124,7 +1124,7 @@ void SwPagePreview::Init()
     aOpt.SetHideWhitespaceMode( false );
 
     GetViewShell()->ApplyViewOptions( aOpt );
-    GetViewShell()->ApplyAccessiblityOptions(SW_MOD()->GetAccessibilityOptions());
+    GetViewShell()->ApplyAccessibilityOptions(SW_MOD()->GetAccessibilityOptions());
 
     // adjust view shell option to the same as for print
     SwPrintData const aPrintOptions = *SW_MOD()->GetPrtOptions(false);
@@ -1828,9 +1828,9 @@ uno::Reference< css::accessibility::XAccessible >
     return GetAccessible( false );
 }
 
-void SwPagePreview::ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions)
+void SwPagePreview::ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAccessibilityOptions)
 {
-    GetViewShell()->ApplyAccessiblityOptions(rAccessibilityOptions);
+    GetViewShell()->ApplyAccessibilityOptions(rAccessibilityOptions);
 }
 
 void SwPagePreview::ShowHScrollbar(bool bShow)
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index deeaf1003da2..db44d727e72e 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -974,7 +974,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
 
     m_pWrtShell->SetUIOptions( aUsrPref );
     m_pWrtShell->SetReadOnlyAvailable( aUsrPref.IsCursorInProtectedArea() );
-    m_pWrtShell->ApplyAccessiblityOptions(SW_MOD()->GetAccessibilityOptions());
+    m_pWrtShell->ApplyAccessibilityOptions(SW_MOD()->GetAccessibilityOptions());
 
     if( m_pWrtShell->GetDoc()->getIDocumentState().IsUpdateExpField() )
     {
diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx
index e02467a0e319..e0b50c5cb593 100644
--- a/sw/source/uibase/uiview/view0.cxx
+++ b/sw/source/uibase/uiview/view0.cxx
@@ -121,9 +121,9 @@ view::XSelectionSupplier* SwView::GetUNOObject()
     return m_pViewImpl->GetUNOObject();
 }
 
-void SwView::ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions)
+void SwView::ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAccessibilityOptions)
 {
-    m_pWrtShell->ApplyAccessiblityOptions(rAccessibilityOptions);
+    m_pWrtShell->ApplyAccessibilityOptions(rAccessibilityOptions);
     //to enable the right state of the selection cursor in readonly documents
     if(GetDocShell()->IsReadOnly())
         m_pWrtShell->ShowCursor();
commit 5c35913309120038b6c6385854a9fd97b3ee76d2
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 19 00:30:27 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 19 09:43:14 2019 +0200

    Fix typos
    
    Change-Id: I0b5182a3cec87ee44b7467d6e8e3d1c21ce93ac2
    Reviewed-on: https://gerrit.libreoffice.org/77680
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 281c0061a28c..bc82d67ee921 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -284,7 +284,7 @@ public:
                         of each document and update this state flag here.
 
                         Further we postpone saving of active documents, e.g. if the user
-                        works currently on it. We wait for an idle period then ...
+                        works currently on it. We wait for an idle period then...
              */
             sal_Int32 DocumentState;
 
@@ -3663,7 +3663,7 @@ void AutoRecovery::implts_doRecovery(const DispatchParams& aParams)
     // any "handle" state ...
     implts_resetHandleStates();
 
-    // Reset the configuration hint "we was crashed"!
+    // Reset the configuration hint "we were crashed"!
     std::shared_ptr<comphelper::ConfigurationChanges> batch(
             comphelper::ConfigurationChanges::create(m_xContext));
     officecfg::Office::Recovery::RecoveryInfo::Crashed::set(false, batch);
diff --git a/include/dbaccess/dataview.hxx b/include/dbaccess/dataview.hxx
index 6394539dcff7..53d6b490acd9 100644
--- a/include/dbaccess/dataview.hxx
+++ b/include/dbaccess/dataview.hxx
@@ -51,7 +51,7 @@ namespace dbaui
         css::uno::Reference< css::uno::XComponentContext >    m_xContext;  // the service factory to work with
 
     protected:
-        rtl::Reference<IController> m_xController;  // the controller in where we resides in
+        rtl::Reference<IController> m_xController;  // the controller where we reside in
         VclPtr<FixedLine>   m_aSeparator;
         ::std::unique_ptr< ::svt::AcceleratorExecute> m_pAccel;
 
diff --git a/include/framework/addonsoptions.hxx b/include/framework/addonsoptions.hxx
index ca7a464b61a0..5c4d9166eb07 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -176,7 +176,7 @@ class FWE_DLLPUBLIC AddonsOptions
         const OUString GetAddonsToolbarResourceName( sal_uInt32 nIndex ) const;
 
         /*-****************************************************************************************************
-            @short      Gets a NotebookBar part of an single addon
+            @short      Gets a NotebookBar part of a single addon
             @return     A complete
 
             @onerror    We return sal_False
@@ -185,7 +185,7 @@ class FWE_DLLPUBLIC AddonsOptions
         const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > >& GetAddonsNotebookBarPart( sal_uInt32 nIndex ) const;
 
         /*-****************************************************************************************************
-            @short      Gets a unique NotebookBar resource name of an single addon
+            @short      Gets a unique NotebookBar resource name of a single addon
             @return     A complete
 
             @onerror    We return sal_False
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
index 4db2f20a1e47..1734031e11d9 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
@@ -185,7 +185,7 @@ void SAL_CALL OConnection::setAutoCommit( sal_Bool autoCommit ) throw(SQLExcepti
 {
     ::osl::MutexGuard aGuard( m_aMutex );
     checkDisposed(OConnection_BASE::rBHelper.bDisposed);
-    // here you  have to set your commit mode please have a look at the jdbc documentation to get a clear explanation
+    // here you have to set your commit mode please have a look at the jdbc documentation to get a clear explanation
 }
 
 sal_Bool SAL_CALL OConnection::getAutoCommit(  ) throw(SQLException, RuntimeException)
@@ -203,7 +203,7 @@ void SAL_CALL OConnection::commit(  ) throw(SQLException, RuntimeException)
     ::osl::MutexGuard aGuard( m_aMutex );
     checkDisposed(OConnection_BASE::rBHelper.bDisposed);
 
-    // when you database does support transactions you should commit here
+    // when your database does support transactions you should commit here
 }
 
 void SAL_CALL OConnection::rollback(  ) throw(SQLException, RuntimeException)
diff --git a/offapi/com/sun/star/deployment/XPackageRegistry.idl b/offapi/com/sun/star/deployment/XPackageRegistry.idl
index f2a05197a6c3..2251762b70d8 100644
--- a/offapi/com/sun/star/deployment/XPackageRegistry.idl
+++ b/offapi/com/sun/star/deployment/XPackageRegistry.idl
@@ -61,7 +61,7 @@ interface XPackageRegistry
         <code>url</code> but different <code>mediaType</code> (the exception is,
         if previously an empty string was provided to cause the determination
         of the media type) or <code>removed</code> parameters will cause an
-        exception. An com::sun::star::lang::IllegalArgumentException will be
+        exception. A com::sun::star::lang::IllegalArgumentException will be
         thrown in case of a different <code>mediaType</code> parameter and a
         InvalidRemovedParameterException is thrown if the
         <code>removed</code> parameter is different.


More information about the Libreoffice-commits mailing list