diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-09 13:55:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-10 11:28:16 +0000 |
commit | b1164b07f9fdcd06a77dbdd74d45245a7c42c93e (patch) | |
tree | 3d07fe2ad37e2c7b931fb771da6dd2152657b3d4 /sdext/source/presenter | |
parent | Typo: (un)kown->(un)known (diff) | |
download | core-b1164b07f9fdcd06a77dbdd74d45245a7c42c93e.tar.gz core-b1164b07f9fdcd06a77dbdd74d45245a7c42c93e.zip |
loplugin:constantparam in sd
Change-Id: I2bc989802c12b379a1ba4202f54ecfef1f339c8c
Reviewed-on: https://gerrit.libreoffice.org/28774
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sdext/source/presenter')
-rw-r--r-- | sdext/source/presenter/PresenterAccessibility.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx index fd26f801ad64..521ddd727708 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -312,7 +312,6 @@ class PresenterAccessible::AccessibleParagraph public: AccessibleParagraph ( const css::lang::Locale& rLocale, - const sal_Int16 nRole, const OUString& rsName, const SharedPresenterTextParagraph& rpParagraph, const sal_Int32 nParagraphIndex); @@ -474,7 +473,6 @@ class AccessibleNotes : public PresenterAccessible::AccessibleObject public: AccessibleNotes ( const css::lang::Locale& rLocale, - const sal_Int16 nRole, const OUString& rsName); static rtl::Reference<PresenterAccessible::AccessibleObject> Create ( @@ -1478,11 +1476,10 @@ AccessibleRelation SAL_CALL AccessibleRelationSet::getRelationByType (sal_Int16 PresenterAccessible::AccessibleParagraph::AccessibleParagraph ( const lang::Locale& rLocale, - const sal_Int16 nRole, const OUString& rsName, const SharedPresenterTextParagraph& rpParagraph, const sal_Int32 nParagraphIndex) - : PresenterAccessibleParagraphInterfaceBase(rLocale, nRole, rsName), + : PresenterAccessibleParagraphInterfaceBase(rLocale, AccessibleRole::PARAGRAPH, rsName), mpParagraph(rpParagraph), mnParagraphIndex(nParagraphIndex) { @@ -1822,9 +1819,8 @@ bool PresenterAccessible::AccessibleParagraph::GetWindowState (const sal_Int16 n AccessibleNotes::AccessibleNotes ( const css::lang::Locale& rLocale, - const sal_Int16 nRole, const OUString& rsName) - : AccessibleObject(rLocale,nRole,rsName), + : AccessibleObject(rLocale,AccessibleRole::PANEL,rsName), mpTextView() { } @@ -1849,7 +1845,6 @@ rtl::Reference<PresenterAccessible::AccessibleObject> AccessibleNotes::Create ( rtl::Reference<AccessibleNotes> pObject ( new AccessibleNotes( rLocale, - AccessibleRole::PANEL, sName)); pObject->LateInitialization(); pObject->SetTextView(rpTextView); @@ -1884,7 +1879,6 @@ void AccessibleNotes::SetTextView ( rtl::Reference<PresenterAccessible::AccessibleParagraph> pParagraph ( new PresenterAccessible::AccessibleParagraph( css::lang::Locale(), - AccessibleRole::PARAGRAPH, "Paragraph"+OUString::number(nIndex), rpTextView->GetParagraph(nIndex), nIndex)); |