diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-18 14:41:51 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-19 09:43:28 +0200 |
commit | 7f3e33420abdf6a13a14a1208bda6294a10b0e5b (patch) | |
tree | d08be8654a7dae31e9666e14e0e77e8f30e469a3 /sw/source | |
parent | 5c35913309120038b6c6385854a9fd97b3ee76d2 (diff) |
Fix typo
"Accessiblity"
It passed "make check" on Linux
Change-Id: I14a6f010caa12df01c4eb211ddedc42bcc06da66
Reviewed-on: https://gerrit.libreoffice.org/77666
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/app/apphdl.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/inc/pview.hxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/uiview/pview.cxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/uiview/view.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/uiview/view0.cxx | 4 |
6 files changed, 11 insertions, 11 deletions
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(); |