diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-06-20 13:41:53 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-06-22 23:17:22 +0200 |
commit | 84d1c29495f8684e390a6d56ae328eea101e5dca (patch) | |
tree | e7063282a93547a527b2001cc936040375340b83 /include | |
parent | elementary & KJ Update (diff) | |
download | core-84d1c29495f8684e390a6d56ae328eea101e5dca.tar.gz core-84d1c29495f8684e390a6d56ae328eea101e5dca.zip |
VCL constify ImplTabItem::m_nId
I actually wanted to simply make it const, but emplace needs to
copy / move these classes, which gets ugly with const members. So
this simply hides the value and adds an ro-accessor.
Change-Id: If8ec6bc25bc6a7d012b7197b1fcb8c200693744d
Reviewed-on: https://gerrit.libreoffice.org/74481
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
(cherry picked from commit ac7fe279c497076ef07b20a90c6189cfbc65d3e3)
Reviewed-on: https://gerrit.libreoffice.org/74579
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/tabctrl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 956c5ece7a6b..bbbc3842463b 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -27,7 +27,7 @@ #include <vcl/EnumContext.hxx> #include <vcl/NotebookbarContextControl.hxx> -struct ImplTabItem; +class ImplTabItem; struct ImplTabCtrlData; class TabPage; class ListBox; |