diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-29 16:54:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-30 09:12:00 +0100 |
commit | 05b24909981fc952b36fe7ac520232bd19822c8a (patch) | |
tree | ea9e7cedd65357857d69750ce7359380889d092e /basctl | |
parent | bb16c36512189c0ff0c72cdb49a7fd24ee8f474d (diff) |
don't need to include vcl/tabctrl.hxx
Change-Id: Idb1f6700c5012303e45587db653b62a90e331c17
Reviewed-on: https://gerrit.libreoffice.org/81710
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 9c06a7c93c20..a6f74b646595 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -52,7 +52,6 @@ #include <svl/visitem.hxx> #include <svl/whiter.hxx> #include <vcl/xtextedt.hxx> -#include <vcl/tabctrl.hxx> #include <vcl/textview.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> @@ -1156,7 +1155,7 @@ void Shell::SetCurWindow( BaseWindow* pNewWin, bool bUpdateTabBar, bool bRemembe if ( bUpdateTabBar ) { sal_uInt16 nKey = GetWindowId( pCurWin ); - if ( pCurWin && ( pTabBar->GetPagePos( nKey ) == TAB_PAGE_NOTFOUND ) ) + if ( pCurWin && ( pTabBar->GetPagePos( nKey ) == TabBar::PAGE_NOT_FOUND ) ) pTabBar->InsertPage( nKey, pCurWin->GetTitle() ); // has just been faded in pTabBar->SetCurPageId( nKey ); } |