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-21 17:31:26 +0200 |
commit | ac7fe279c497076ef07b20a90c6189cfbc65d3e3 (patch) | |
tree | 09f199e19f85fedc4f25d4a27a6d4757d88b7424 /include | |
parent | ce5a418abe7fbb08beaaa06ae9caeea0a0053305 (diff) |
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>
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; |