diff options
Diffstat (limited to 'reportdesign/source/ui/dlg/GroupsSorting.cxx')
-rw-r--r-- | reportdesign/source/ui/dlg/GroupsSorting.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index 5bdc020c929c..abd9102c46fa 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -119,7 +119,7 @@ public: void fillColumns(const uno::Reference< container::XNameAccess>& _xColumns); void lateInit(); - bool IsDeleteAllowed( ); + bool IsDeleteAllowed( ) const; void DeleteRows(); sal_Int32 getGroupPosition(sal_Int32 _nRow) const { return _nRow != BROWSER_ENDOFSELECTION ? m_aGroupPositions[_nRow] : sal_Int32(NO_GROUP); } @@ -654,7 +654,7 @@ void OFieldExpressionControl::elementRemoved(const container::ContainerEvent& ev } } -bool OFieldExpressionControl::IsDeleteAllowed( ) +bool OFieldExpressionControl::IsDeleteAllowed( ) const { return !m_pParent->isReadOnly() && GetSelectRowCount() > 0; } |