[Libreoffice-commits] core.git: 2 commits - accessibility/inc accessibility/source basctl/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 21 17:48:57 UTC 2019
accessibility/inc/extended/accessibleiconchoicectrl.hxx | 2 +-
accessibility/inc/extended/accessiblelistbox.hxx | 2 +-
accessibility/inc/extended/accessiblelistboxentry.hxx | 2 +-
accessibility/inc/extended/accessibletabbarpage.hxx | 4 ++--
accessibility/inc/extended/textwindowaccessibility.hxx | 2 +-
accessibility/inc/standard/accessiblemenubasecomponent.hxx | 2 +-
accessibility/inc/standard/vclxaccessiblecheckbox.hxx | 4 ++--
accessibility/inc/standard/vclxaccessiblelist.hxx | 2 +-
accessibility/inc/standard/vclxaccessibletabpage.hxx | 4 ++--
accessibility/source/extended/accessibleiconchoicectrl.cxx | 2 +-
accessibility/source/extended/accessiblelistbox.cxx | 2 +-
accessibility/source/extended/accessiblelistboxentry.cxx | 2 +-
accessibility/source/extended/accessibletabbarpage.cxx | 4 ++--
accessibility/source/standard/accessiblemenubasecomponent.cxx | 2 +-
accessibility/source/standard/vclxaccessiblecheckbox.cxx | 4 ++--
accessibility/source/standard/vclxaccessiblelist.cxx | 2 +-
accessibility/source/standard/vclxaccessibletabpage.cxx | 4 ++--
basctl/source/accessibility/accessibledialogcontrolshape.cxx | 6 +++---
basctl/source/basicide/basicrenderable.cxx | 6 +++---
basctl/source/basicide/basicrenderable.hxx | 6 +++---
basctl/source/basicide/baside2.hxx | 2 +-
basctl/source/basicide/baside2b.cxx | 2 +-
basctl/source/basicide/linenumberwindow.hxx | 2 +-
basctl/source/basicide/moduldl2.cxx | 2 +-
basctl/source/inc/accessibledialogcontrolshape.hxx | 6 +++---
basctl/source/inc/bastype2.hxx | 6 +++---
basctl/source/inc/bastypes.hxx | 2 +-
basctl/source/inc/localizationmgr.hxx | 2 +-
28 files changed, 44 insertions(+), 44 deletions(-)
New commits:
commit 8bf1542f856bd2b8617d7a0870824a3a2ada4b6c
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Aug 21 17:11:45 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Aug 21 19:47:52 2019 +0200
loplugin:constmethod in basctl
Change-Id: Ib4d7a6690aea4e6f009162cd5b6407906deaaa75
Reviewed-on: https://gerrit.libreoffice.org/77925
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
index 1d725842fdf0..759dd69dfab9 100644
--- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx
+++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
@@ -73,7 +73,7 @@ AccessibleDialogControlShape::~AccessibleDialogControlShape()
}
-bool AccessibleDialogControlShape::IsFocused()
+bool AccessibleDialogControlShape::IsFocused() const
{
bool bFocused = false;
if ( m_pDialogWindow )
@@ -87,7 +87,7 @@ bool AccessibleDialogControlShape::IsFocused()
}
-bool AccessibleDialogControlShape::IsSelected()
+bool AccessibleDialogControlShape::IsSelected() const
{
if ( m_pDialogWindow )
return m_pDialogWindow->GetView().IsObjMarked(m_pDlgEdObj);
@@ -125,7 +125,7 @@ void AccessibleDialogControlShape::SetSelected( bool bSelected )
}
-awt::Rectangle AccessibleDialogControlShape::GetBounds()
+awt::Rectangle AccessibleDialogControlShape::GetBounds() const
{
awt::Rectangle aBounds( 0, 0, 0, 0 );
if ( m_pDlgEdObj )
diff --git a/basctl/source/basicide/basicrenderable.cxx b/basctl/source/basicide/basicrenderable.cxx
index b32925317547..ce4f7005f124 100644
--- a/basctl/source/basicide/basicrenderable.cxx
+++ b/basctl/source/basicide/basicrenderable.cxx
@@ -75,7 +75,7 @@ Renderable::~Renderable()
{
}
-VclPtr< Printer > Renderable::getPrinter()
+VclPtr< Printer > Renderable::getPrinter() const
{
VclPtr< Printer > pPrinter;
Any aValue( getValue( "RenderDevice" ) );
@@ -90,13 +90,13 @@ VclPtr< Printer > Renderable::getPrinter()
return pPrinter;
}
-bool Renderable::isPrintOddPages()
+bool Renderable::isPrintOddPages() const
{
sal_Int64 nContent = getIntValue( "PrintContent", -1 );
return nContent != 2;
}
-bool Renderable::isPrintEvenPages()
+bool Renderable::isPrintEvenPages() const
{
sal_Int64 nContent = getIntValue( "PrintContent", -1 );
return nContent != 3;
diff --git a/basctl/source/basicide/basicrenderable.hxx b/basctl/source/basicide/basicrenderable.hxx
index 6f5bd29396bf..2618e5faa9d2 100644
--- a/basctl/source/basicide/basicrenderable.hxx
+++ b/basctl/source/basicide/basicrenderable.hxx
@@ -37,9 +37,9 @@ class Renderable :
osl::Mutex maMutex;
std::vector<sal_Int32> maValidPages;
- VclPtr<Printer> getPrinter();
- bool isPrintOddPages();
- bool isPrintEvenPages();
+ VclPtr<Printer> getPrinter() const;
+ bool isPrintOddPages() const;
+ bool isPrintEvenPages() const;
static bool isOnEvenPage( sal_Int32 nPage ) { return nPage % 2 == 0; };
public:
explicit Renderable (BaseWindow*);
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index dadcf639c666..d46dc4c966c0 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -113,7 +113,7 @@ private:
void HandleAutoCloseDoubleQuotes();
void HandleCodeCompletion();
void HandleProcedureCompletion();
- TextSelection GetLastHighlightPortionTextSelection();
+ TextSelection GetLastHighlightPortionTextSelection() const;
virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ) override;
virtual void Resize() override;
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 57c18788319f..6bf425a65c8b 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -675,7 +675,7 @@ void EditorWindow::HandleAutoCorrect()
}
}
-TextSelection EditorWindow::GetLastHighlightPortionTextSelection()
+TextSelection EditorWindow::GetLastHighlightPortionTextSelection() const
{//creates a text selection from the highlight portion on the cursor
const sal_uInt32 nLine = GetEditView()->GetSelection().GetStart().GetPara();
const sal_Int32 nIndex = GetEditView()->GetSelection().GetStart().GetIndex();
diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx
index 81aaa8d93a00..e97dedb3822a 100644
--- a/basctl/source/basicide/linenumberwindow.hxx
+++ b/basctl/source/basicide/linenumberwindow.hxx
@@ -38,7 +38,7 @@ public:
bool SyncYOffset();
long& GetCurYOffset() { return m_nCurYOffset;}
- int GetWidth() { return m_nWidth;}
+ int GetWidth() const { return m_nWidth;}
};
} // namespace basctl
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index e999f4622189..773738f2bd86 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -102,7 +102,7 @@ public:
namespace
{
- int FindEntry(weld::TreeView& rBox, const OUString& rName)
+ int FindEntry(const weld::TreeView& rBox, const OUString& rName)
{
int nCount = rBox.n_children();
for (int i = 0; i < nCount; ++i)
diff --git a/basctl/source/inc/accessibledialogcontrolshape.hxx b/basctl/source/inc/accessibledialogcontrolshape.hxx
index 3f2c8b63cee5..45946173a48f 100644
--- a/basctl/source/inc/accessibledialogcontrolshape.hxx
+++ b/basctl/source/inc/accessibledialogcontrolshape.hxx
@@ -60,13 +60,13 @@ private:
css::awt::Rectangle m_aBounds;
css::uno::Reference< css::beans::XPropertySet > m_xControlModel;
- bool IsFocused();
- bool IsSelected();
+ bool IsFocused() const;
+ bool IsSelected() const;
void SetFocused (bool bFocused);
void SetSelected (bool bSelected);
- css::awt::Rectangle GetBounds();
+ css::awt::Rectangle GetBounds() const;
void SetBounds( const css::awt::Rectangle& aBounds );
vcl::Window* GetWindow() const;
diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx
index 90fdb6915303..7b75426e6043 100644
--- a/basctl/source/inc/bastype2.hxx
+++ b/basctl/source/inc/bastype2.hxx
@@ -319,7 +319,7 @@ public:
bool iter_parent(weld::TreeIter& rIter) const { return m_xControl->iter_parent(rIter); }
int get_iter_depth(const weld::TreeIter& rIter) const { return m_xControl->get_iter_depth(rIter); }
bool get_row_expanded(const weld::TreeIter& rIter) const { return m_xControl->get_row_expanded(rIter); }
- void expand_row(weld::TreeIter& rIter) { m_xControl->expand_row(rIter); }
+ void expand_row(const weld::TreeIter& rIter) { m_xControl->expand_row(rIter); }
void set_size_request(int nWidth, int nHeight) { m_xControl->set_size_request(nWidth, nHeight); }
float get_approximate_digit_width() const { return m_xControl->get_approximate_digit_width(); }
int get_height_rows(int nRows) const { return m_xControl->get_height_rows(nRows); }
@@ -335,7 +335,7 @@ public:
void make_sorted() { m_xControl->make_sorted(); };
void make_unsorted() { m_xControl->make_unsorted(); }
- bool get_sort_order() { return m_xControl->get_sort_order(); }
+ bool get_sort_order() const { return m_xControl->get_sort_order(); }
void set_sort_order(bool bAscending) { m_xControl->set_sort_order(bAscending); }
void set_sort_indicator(TriState eState, int nColumn = -1)
@@ -347,7 +347,7 @@ public:
return m_xControl->get_sort_indicator(nColumn);
}
- int get_sort_column() { return m_xControl->get_sort_column(); }
+ int get_sort_column() const { return m_xControl->get_sort_column(); }
void set_sort_column(int nColumn) { m_xControl->set_sort_column(nColumn); }
void set_sort_func(const std::function<int(const weld::TreeIter&, const weld::TreeIter&)>& func)
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index 87a5ffc644c9..6f76e941f0f8 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -206,7 +206,7 @@ public:
virtual void SetReadOnly (bool bReadOnly);
virtual bool IsReadOnly();
- int GetStatus() { return nStatus; }
+ int GetStatus() const { return nStatus; }
void SetStatus(int n) { nStatus = n; }
void AddStatus(int n) { nStatus |= n; }
void ClearStatus(int n) { nStatus &= ~n; }
diff --git a/basctl/source/inc/localizationmgr.hxx b/basctl/source/inc/localizationmgr.hxx
index 906fed0aea40..230efa658eb1 100644
--- a/basctl/source/inc/localizationmgr.hxx
+++ b/basctl/source/inc/localizationmgr.hxx
@@ -72,7 +72,7 @@ public:
LocalizationMgr(Shell*, ScriptDocument const&, OUString const& aLibName,
const css::uno::Reference < css::resource::XStringResourceManager >& xStringResourceManager );
- const css::uno::Reference< css::resource::XStringResourceManager >& getStringResourceManager()
+ const css::uno::Reference< css::resource::XStringResourceManager >& getStringResourceManager() const
{
return m_xStringResourceManager;
}
commit 8fe53ec9f54ed9842b3b7dad566ccabecef39f70
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Aug 21 17:10:44 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Aug 21 19:47:42 2019 +0200
loplugin:constmethod in accessibility
Change-Id: I1e42811e8e79dd81837dd38570c0f2705bb87fe8
Reviewed-on: https://gerrit.libreoffice.org/77924
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/accessibility/inc/extended/accessibleiconchoicectrl.hxx b/accessibility/inc/extended/accessibleiconchoicectrl.hxx
index 823bbb6c723d..63ab66a9621c 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrl.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrl.hxx
@@ -50,7 +50,7 @@ namespace accessibility
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override;
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override;
- VclPtr< SvtIconChoiceCtrl > getCtrl();
+ VclPtr< SvtIconChoiceCtrl > getCtrl() const;
public:
/** OAccessibleBase needs a valid view
diff --git a/accessibility/inc/extended/accessiblelistbox.hxx b/accessibility/inc/extended/accessiblelistbox.hxx
index c38f47741896..cb075f299bb6 100644
--- a/accessibility/inc/extended/accessiblelistbox.hxx
+++ b/accessibility/inc/extended/accessiblelistbox.hxx
@@ -63,7 +63,7 @@ namespace accessibility
void RemoveChildEntries(SvTreeListEntry*);
- sal_Int32 GetRoleType();
+ sal_Int32 GetRoleType() const;
public:
/** OAccessibleBase needs a valid view
diff --git a/accessibility/inc/extended/accessiblelistboxentry.hxx b/accessibility/inc/extended/accessiblelistboxentry.hxx
index f70689a271fd..d52faf379f69 100644
--- a/accessibility/inc/extended/accessiblelistboxentry.hxx
+++ b/accessibility/inc/extended/accessiblelistboxentry.hxx
@@ -211,7 +211,7 @@ namespace accessibility
css::uno::Reference< css::accessibility::XAccessible > implGetParentAccessible( ) const;
SvTreeListEntry* GetRealChild(sal_Int32 nIndex);
- sal_Int32 GetRoleType();
+ sal_Int32 GetRoleType() const;
};
diff --git a/accessibility/inc/extended/accessibletabbarpage.hxx b/accessibility/inc/extended/accessibletabbarpage.hxx
index 3cc02ee323f7..913b34484c50 100644
--- a/accessibility/inc/extended/accessibletabbarpage.hxx
+++ b/accessibility/inc/extended/accessibletabbarpage.hxx
@@ -57,8 +57,8 @@ namespace accessibility
css::uno::Reference< css::accessibility::XAccessible > m_xParent;
bool IsEnabled();
- bool IsShowing();
- bool IsSelected();
+ bool IsShowing() const;
+ bool IsSelected() const;
void SetShowing( bool bShowing );
void SetSelected( bool bSelected );
diff --git a/accessibility/inc/extended/textwindowaccessibility.hxx b/accessibility/inc/extended/textwindowaccessibility.hxx
index 422b5924c7b1..320139ac35c7 100644
--- a/accessibility/inc/extended/textwindowaccessibility.hxx
+++ b/accessibility/inc/extended/textwindowaccessibility.hxx
@@ -329,7 +329,7 @@ public:
::TextView & rView);
const css::uno::Reference< css::accessibility::XAccessible >&
- getAccessible() { return m_xAccessible; }
+ getAccessible() const { return m_xAccessible; }
// Must be called only after init has been called.
css::lang::Locale retrieveLocale();
diff --git a/accessibility/inc/standard/accessiblemenubasecomponent.hxx b/accessibility/inc/standard/accessiblemenubasecomponent.hxx
index a6c9da485f30..73dcc8fe5731 100644
--- a/accessibility/inc/standard/accessiblemenubasecomponent.hxx
+++ b/accessibility/inc/standard/accessiblemenubasecomponent.hxx
@@ -84,7 +84,7 @@ protected:
void UpdateAccessibleName( sal_Int32 i );
void UpdateItemText( sal_Int32 i );
- sal_Int32 GetChildCount();
+ sal_Int32 GetChildCount() const;
css::uno::Reference< css::accessibility::XAccessible > GetChild( sal_Int32 i );
css::uno::Reference< css::accessibility::XAccessible > GetChildAt( const css::awt::Point& rPoint );
diff --git a/accessibility/inc/standard/vclxaccessiblecheckbox.hxx b/accessibility/inc/standard/vclxaccessiblecheckbox.hxx
index 5c4e21e18898..3862168fa020 100644
--- a/accessibility/inc/standard/vclxaccessiblecheckbox.hxx
+++ b/accessibility/inc/standard/vclxaccessiblecheckbox.hxx
@@ -46,8 +46,8 @@ private:
sal_Int32 implGetMaximumValue();
- bool IsChecked();
- bool IsIndeterminate();
+ bool IsChecked() const;
+ bool IsIndeterminate() const;
void SetChecked( bool bChecked );
void SetIndeterminate( bool bIndeterminate );
diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx
index d869f865fbc0..f647546dc911 100644
--- a/accessibility/inc/standard/vclxaccessiblelist.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelist.hxx
@@ -120,7 +120,7 @@ public:
virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
virtual css::awt::Point SAL_CALL getLocationOnScreen( ) override;
- bool IsInDropDown();
+ bool IsInDropDown() const;
void HandleDropOpen();
void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent, bool b_IsDropDownList);
void UpdateSelection_Acc (const OUString& sTextOfSelectedItem, bool b_IsDropDownList);
diff --git a/accessibility/inc/standard/vclxaccessibletabpage.hxx b/accessibility/inc/standard/vclxaccessibletabpage.hxx
index 9d64e665827a..5cbfb2516d7c 100644
--- a/accessibility/inc/standard/vclxaccessibletabpage.hxx
+++ b/accessibility/inc/standard/vclxaccessibletabpage.hxx
@@ -57,8 +57,8 @@ private:
sal_Int32 implGetAccessibleChildCount();
- bool IsFocused();
- bool IsSelected();
+ bool IsFocused() const;
+ bool IsSelected() const;
void SetFocused( bool bFocused );
void SetSelected( bool bSelected );
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx
index 31e4aa92fe0f..ba0ec3c1e645 100644
--- a/accessibility/source/extended/accessibleiconchoicectrl.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx
@@ -328,7 +328,7 @@ namespace accessibility
}
}
- VclPtr< SvtIconChoiceCtrl > AccessibleIconChoiceCtrl::getCtrl()
+ VclPtr< SvtIconChoiceCtrl > AccessibleIconChoiceCtrl::getCtrl() const
{
return GetAs<SvtIconChoiceCtrl >();
}
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx
index 23ae9a77af04..28b6dac86621 100644
--- a/accessibility/source/extended/accessiblelistbox.cxx
+++ b/accessibility/source/extended/accessiblelistbox.cxx
@@ -361,7 +361,7 @@ namespace accessibility
return m_xParent;
}
- sal_Int32 AccessibleListBox::GetRoleType()
+ sal_Int32 AccessibleListBox::GetRoleType() const
{
sal_Int32 nCase = 0;
SvTreeListEntry* pEntry = getListBox()->GetEntry(0);
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index a39fbc9d2b15..1a4bbb02dd5b 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -360,7 +360,7 @@ namespace accessibility
return m_aEntryPath.empty() ? -1 : m_aEntryPath.back();
}
- sal_Int32 AccessibleListBoxEntry::GetRoleType()
+ sal_Int32 AccessibleListBoxEntry::GetRoleType() const
{
sal_Int32 nCase = 0;
SvTreeListEntry* pEntry = getListBox()->GetEntry(0);
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx
index f5544167c8f5..581ee98cde76 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -71,7 +71,7 @@ namespace accessibility
}
- bool AccessibleTabBarPage::IsShowing()
+ bool AccessibleTabBarPage::IsShowing() const
{
bool bShowing = false;
@@ -82,7 +82,7 @@ namespace accessibility
}
- bool AccessibleTabBarPage::IsSelected()
+ bool AccessibleTabBarPage::IsSelected() const
{
bool bSelected = false;
diff --git a/accessibility/source/standard/accessiblemenubasecomponent.cxx b/accessibility/source/standard/accessiblemenubasecomponent.cxx
index fc1d5764f77d..67d8a463c084 100644
--- a/accessibility/source/standard/accessiblemenubasecomponent.cxx
+++ b/accessibility/source/standard/accessiblemenubasecomponent.cxx
@@ -301,7 +301,7 @@ void OAccessibleMenuBaseComponent::UpdateItemText( sal_Int32 i )
}
-sal_Int32 OAccessibleMenuBaseComponent::GetChildCount()
+sal_Int32 OAccessibleMenuBaseComponent::GetChildCount() const
{
return m_aAccessibleChildren.size();
}
diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
index 56e9fecaf399..84af25d9152f 100644
--- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx
+++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
@@ -54,7 +54,7 @@ VCLXAccessibleCheckBox::VCLXAccessibleCheckBox( VCLXWindow* pVCLWindow )
}
-bool VCLXAccessibleCheckBox::IsChecked()
+bool VCLXAccessibleCheckBox::IsChecked() const
{
bool bChecked = false;
@@ -66,7 +66,7 @@ bool VCLXAccessibleCheckBox::IsChecked()
}
-bool VCLXAccessibleCheckBox::IsIndeterminate()
+bool VCLXAccessibleCheckBox::IsIndeterminate() const
{
bool bIndeterminate = false;
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index af8d83ce9fe4..313e4b416436 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -918,7 +918,7 @@ awt::Point VCLXAccessibleList::getLocationOnScreen( )
}
-bool VCLXAccessibleList::IsInDropDown()
+bool VCLXAccessibleList::IsInDropDown() const
{
return m_pListBoxHelper->IsInDropDown();
}
diff --git a/accessibility/source/standard/vclxaccessibletabpage.cxx b/accessibility/source/standard/vclxaccessibletabpage.cxx
index 5bdd7edfc76e..429bf952138f 100644
--- a/accessibility/source/standard/vclxaccessibletabpage.cxx
+++ b/accessibility/source/standard/vclxaccessibletabpage.cxx
@@ -63,7 +63,7 @@ VCLXAccessibleTabPage::~VCLXAccessibleTabPage()
}
-bool VCLXAccessibleTabPage::IsFocused()
+bool VCLXAccessibleTabPage::IsFocused() const
{
bool bFocused = false;
@@ -74,7 +74,7 @@ bool VCLXAccessibleTabPage::IsFocused()
}
-bool VCLXAccessibleTabPage::IsSelected()
+bool VCLXAccessibleTabPage::IsSelected() const
{
bool bSelected = false;
More information about the Libreoffice-commits
mailing list