summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/ReportSection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/report/ReportSection.cxx')
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 8f2337371878..684384e5ed61 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -86,7 +86,7 @@ OReportSection::OReportSection(OSectionWindow* _pParent,const uno::Reference< re
, m_pReportListener(nullptr)
, m_xSection(_xSection)
, m_nPaintEntranceCount(0)
- , m_eMode(RPTUI_SELECT)
+ , m_eMode(DlgEdMode::Select)
{
//EnableChildTransparentMode();
SetHelpId(HID_REPORTSECTION);
@@ -313,7 +313,7 @@ void OReportSection::SetMode( DlgEdMode eNewMode )
{
if ( eNewMode != m_eMode )
{
- if ( eNewMode == RPTUI_INSERT )
+ if ( eNewMode == DlgEdMode::Insert )
{
m_pFunc.reset(new DlgEdFuncInsert( this ));
}
@@ -322,7 +322,7 @@ void OReportSection::SetMode( DlgEdMode eNewMode )
m_pFunc.reset(new DlgEdFuncSelect( this ));
}
m_pFunc->setOverlappedControlColor(lcl_getOverlappedControlColor( ) );
- m_pModel->SetReadOnly(eNewMode == RPTUI_READONLY);
+ m_pModel->SetReadOnly(false);
m_eMode = eNewMode;
}
}