summaryrefslogtreecommitdiff
path: root/vcl/source/control/tabctrl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-04 12:07:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-17 09:55:31 +0200
commit9b8828174dca6971d2490844b4c6cab2b9d57b8d (patch)
tree330a27fa71ad84986ff4c6d88b961efd2b4fa777 /vcl/source/control/tabctrl.cxx
parent493a7e9932b09ddafd31f443ef2dc03d85f4b12b (diff)
turn implicit container explicit in buildable notebooks
as in interim measure for SfxTabDialogs we throw away the TabPage if its not suitable for reuse Change-Id: Ic5776ca3d2a8cb6bf41f33df01b211f81c62a842 Reviewed-on: https://gerrit.libreoffice.org/43134 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/control/tabctrl.cxx')
-rw-r--r--vcl/source/control/tabctrl.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index bcc767b62ce8..27686b17b9e8 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -1891,9 +1891,6 @@ void TabControl::SetTabPage( sal_uInt16 nPageId, TabPage* pTabPage )
{
if ( pTabPage )
{
- SAL_WARN_IF( pTabPage->IsVisible() && !isLayoutEnabled(pTabPage), "vcl",
- "TabControl::SetTabPage() - Non-Layout Enabled Page is visible" );
-
if ( IsDefaultSize() )
SetTabPageSizePixel( pTabPage->GetSizePixel() );