summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-03 19:53:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-03-03 22:13:38 +0100
commit5e73afe96a1a1f5444683c210fa31e1c30826675 (patch)
tree9e4ad0453dd8698f967dd3a3a0c5caa7b08c85df
parent1d9c7ec1f1bfe527fe83edb6afd3c924d0243328 (diff)
can rename CuiMacroEventListBox back to MacroEventListBox now
Change-Id: I2f88488e7bb931238a31eb62f616c33c60c7ec2e Reviewed-on: https://gerrit.libreoffice.org/68650 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--cui/source/customize/macropg.cxx6
-rw-r--r--cui/source/inc/headertablistbox.hxx5
-rw-r--r--cui/source/tabpages/macroass.cxx4
3 files changed, 5 insertions, 10 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index ec69a666e477..986909a84d85 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -60,17 +60,13 @@ SvxMacroTabPage_Impl::SvxMacroTabPage_Impl( const SfxItemSet& rAttrSet )
bIDEDialogMode = static_cast<const SfxBoolItem*>(pItem)->GetValue();
}
-CuiMacroEventListBox::CuiMacroEventListBox(std::unique_ptr<weld::TreeView> xTreeView)
+MacroEventListBox::MacroEventListBox(std::unique_ptr<weld::TreeView> xTreeView)
: m_xTreeView(std::move(xTreeView))
{
m_xTreeView->set_help_id(HID_MACRO_HEADERTABLISTBOX);
m_xTreeView->set_size_request(m_xTreeView->get_approximate_digit_width() * 70, m_xTreeView->get_height_rows(9));
}
-CuiMacroEventListBox::~CuiMacroEventListBox()
-{
-}
-
// assign button ("Add Command") is enabled only if it is not read only
// delete button ("Remove Command") is enabled if a current binding exists
// and it is not read only
diff --git a/cui/source/inc/headertablistbox.hxx b/cui/source/inc/headertablistbox.hxx
index 360bed4937f8..5793d511fb7e 100644
--- a/cui/source/inc/headertablistbox.hxx
+++ b/cui/source/inc/headertablistbox.hxx
@@ -23,15 +23,14 @@
#include <vcl/headbar.hxx>
#include <vcl/svtabbx.hxx>
-class CuiMacroEventListBox final
+class MacroEventListBox final
{
private:
std::unique_ptr<weld::TreeView> m_xTreeView;
public:
- CuiMacroEventListBox(std::unique_ptr<weld::TreeView> xTreeView);
+ MacroEventListBox(std::unique_ptr<weld::TreeView> xTreeView);
void set_sensitive(bool bSensitive) { m_xTreeView->set_sensitive(bSensitive); }
void show() { m_xTreeView->show(); }
- ~CuiMacroEventListBox();
weld::TreeView& GetListBox()
{
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 8f64493e40dd..f40f1d33c895 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -46,7 +46,7 @@ public:
OUString m_aStaticMacroLBLabel;
std::unique_ptr<weld::Button> m_xAssignPB;
std::unique_ptr<weld::Button> m_xDeletePB;
- std::unique_ptr<CuiMacroEventListBox> m_xEventLB;
+ std::unique_ptr<MacroEventListBox> m_xEventLB;
std::unique_ptr<weld::Widget> m_xGroupFrame;
std::unique_ptr<CuiConfigGroupListBox> m_xGroupLB;
std::unique_ptr<weld::Frame> m_xMacroFrame;
@@ -112,7 +112,7 @@ SfxMacroTabPage::SfxMacroTabPage(TabPageParent pParent, const Reference< XFrame
mpImpl->m_aFillGroupIdle.SetPriority( TaskPriority::HIGHEST );
mpImpl->m_aFillGroupIdle.SetDebugName( "SfxMacroTabPage m_aFillGroupIdle" );
- mpImpl->m_xEventLB.reset(new CuiMacroEventListBox(m_xBuilder->weld_tree_view("assignments")));
+ mpImpl->m_xEventLB.reset(new MacroEventListBox(m_xBuilder->weld_tree_view("assignments")));
mpImpl->m_xAssignPB = m_xBuilder->weld_button("assign");
mpImpl->m_xDeletePB = m_xBuilder->weld_button("delete");
mpImpl->m_xGroupFrame = m_xBuilder->weld_widget("groupframe");