From b37c344274072df92a8a9624c261aa51c9145217 Mon Sep 17 00:00:00 2001 From: Ulrich Gemkow Date: Thu, 3 Aug 2017 20:51:26 +0200 Subject: Rename flag to less generic name to prepare adding more flags Change-Id: I27663a42890bbae3279847a7da971cd367335cb3 Reviewed-on: https://gerrit.libreoffice.org/40736 Tested-by: Jenkins Reviewed-by: Eike Rathke --- sc/source/ui/view/tabcont.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source') diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index de7a18ea4f72..d90551a882ca 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(i)+1, aString, TPB_SPECIAL ); + InsertPage( static_cast(i)+1, aString, TPB_DISPLAY_NAME_BLUE); else InsertPage( static_cast(i)+1, aString ); if ( !pDoc->IsDefaultTabBgColor(i) ) @@ -365,13 +365,13 @@ void ScTabControl::UpdateStatus() if (pDoc->GetName(i,aString)) { if ( pDoc->IsScenario(i) ) - InsertPage( static_cast(i)+1, aString, TPB_SPECIAL ); + InsertPage(static_cast(i)+1, aString, TPB_DISPLAY_NAME_BLUE); else InsertPage( static_cast(i)+1, aString ); if ( !pDoc->IsDefaultTabBgColor(i) ) { aTabBgColor = pDoc->GetTabBgColor(i); - SetTabBgColor( static_cast(i)+1, aTabBgColor ); + SetTabBgColor(static_cast(i)+1, aTabBgColor ); } } } -- cgit