summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorUlrich Gemkow <lobugs@ikr.uni-stuttgart.de>2017-08-03 20:51:26 +0200
committerEike Rathke <erack@redhat.com>2017-08-18 11:34:08 +0200
commitb37c344274072df92a8a9624c261aa51c9145217 (patch)
tree1a4c52306e5314e23a4774326205e6b60ce7c6fd /sc
parent75539963e621faafdc0d3ef6759cadb2e0a5d9b4 (diff)
Rename flag to less generic name to prepare adding more flags
Change-Id: I27663a42890bbae3279847a7da971cd367335cb3 Reviewed-on: https://gerrit.libreoffice.org/40736 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabcont.cxx6
1 files changed, 3 insertions, 3 deletions
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<sal_uInt16>(i)+1, aString, TPB_SPECIAL );
+ InsertPage( static_cast<sal_uInt16>(i)+1, aString, TPB_DISPLAY_NAME_BLUE);
else
InsertPage( static_cast<sal_uInt16>(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<sal_uInt16>(i)+1, aString, TPB_SPECIAL );
+ InsertPage(static_cast<sal_uInt16>(i)+1, aString, TPB_DISPLAY_NAME_BLUE);
else
InsertPage( static_cast<sal_uInt16>(i)+1, aString );
if ( !pDoc->IsDefaultTabBgColor(i) )
{
aTabBgColor = pDoc->GetTabBgColor(i);
- SetTabBgColor( static_cast<sal_uInt16>(i)+1, aTabBgColor );
+ SetTabBgColor(static_cast<sal_uInt16>(i)+1, aTabBgColor );
}
}
}