summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 15:37:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 16:55:11 +0200
commit2b6385a9f58e9f8adfd406e087186eb0cbba700b (patch)
tree192db26b5fed1c91f3a737ef53e75c9071dddbda /sc
parent532a4dcba6ec6fe1bd88f3c2db77f05868167886 (diff)
convert TPB_DISPLAY_NAME constants to scoped enum
Change-Id: I0e4f9ce3392e48fc82c232ba3e6581f3b0d9af9f Reviewed-on: https://gerrit.libreoffice.org/43083 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabcont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 93a77fe2d176..c71cd4458581 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -58,7 +58,7 @@ ScTabControl::ScTabControl( vcl::Window* pParent, ScViewData* pData )
if (pDoc->GetName(i,aString))
{
if ( pDoc->IsScenario(i) )
- InsertPage( static_cast<sal_uInt16>(i)+1, aString, TPB_DISPLAY_NAME_BLUE);
+ InsertPage( static_cast<sal_uInt16>(i)+1, aString, TabBarPageBits::Blue);
else
InsertPage( static_cast<sal_uInt16>(i)+1, aString );
if ( !pDoc->IsDefaultTabBgColor(i) )
@@ -365,7 +365,7 @@ void ScTabControl::UpdateStatus()
if (pDoc->GetName(i,aString))
{
if ( pDoc->IsScenario(i) )
- InsertPage(static_cast<sal_uInt16>(i)+1, aString, TPB_DISPLAY_NAME_BLUE);
+ InsertPage(static_cast<sal_uInt16>(i)+1, aString, TabBarPageBits::Blue);
else
InsertPage( static_cast<sal_uInt16>(i)+1, aString );
if ( !pDoc->IsDefaultTabBgColor(i) )