summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/index/cnttab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/index/cnttab.cxx')
-rw-r--r--sw/source/ui/index/cnttab.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 3abc2f4299b6..3cb000eba8ec 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -22,7 +22,6 @@
#include <o3tl/safeint.hxx>
#include <sal/log.hxx>
#include <svl/style.hxx>
-#include <vcl/button.hxx>
#include <vcl/weld.hxx>
#include <svl/stritem.hxx>
#include <unotools/pathoptions.hxx>
@@ -3565,7 +3564,7 @@ SwEntryBrowseBox::SwEntryBrowseBox(const css::uno::Reference<css::awt::XWindow>
m_sYes = SwResId(STR_AUTOMARK_YES);
m_sNo = SwResId(STR_AUTOMARK_NO);
- m_aCellCheckBox->GetBox().EnableTriState(false);
+ m_aCellCheckBox->EnableTriState(false);
m_xController = new ::svt::EditCellController(m_aCellEdit.get());
m_xCheckController = new ::svt::CheckBoxCellController(m_aCellCheckBox.get());
@@ -3717,7 +3716,7 @@ bool SwEntryBrowseBox::SaveModified()
else
{
pController = m_xCheckController.get();
- bVal = static_cast< ::svt::CheckBoxCellController*>(pController)->GetCheckBox().IsChecked();
+ bVal = static_cast< ::svt::CheckBoxCellController*>(pController)->GetCheckBox().get_active();
}
const bool bAddEntry = nRow >= m_Entries.size();
std::unique_ptr<AutoMarkEntry> xNewEntry(bAddEntry ? new AutoMarkEntry : nullptr);
@@ -3759,7 +3758,7 @@ void SwEntryBrowseBox::InitController(
{
rController = m_xCheckController;
::svt::CellController* pController = m_xCheckController.get();
- static_cast< ::svt::CheckBoxCellController*>(pController)->GetCheckBox().Check(
+ static_cast< ::svt::CheckBoxCellController*>(pController)->GetCheckBox().set_active(
rText == m_sYes );
}
}