summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsb.cxx
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 /sd/source/ui/view/drviewsb.cxx
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 'sd/source/ui/view/drviewsb.cxx')
-rw-r--r--sd/source/ui/view/drviewsb.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx
index 877d30c8d26b..336b43699cb5 100644
--- a/sd/source/ui/view/drviewsb.cxx
+++ b/sd/source/ui/view/drviewsb.cxx
@@ -190,19 +190,19 @@ void DrawViewShell::ModifyLayer (
// Set page bits for modified tab name display
- TabBarPageBits nBits = 0;
+ TabBarPageBits nBits = TabBarPageBits::NONE;
if (!bIsVisible)
{
- nBits = TPB_DISPLAY_NAME_BLUE;
+ nBits = TabBarPageBits::Blue;
}
if (bIsLocked)
{
- nBits |= TPB_DISPLAY_NAME_ITALIC;
+ nBits |= TabBarPageBits::Italic;
}
if (!bIsPrintable)
{
- nBits |= TPB_DISPLAY_NAME_UNDERLINE;
+ nBits |= TabBarPageBits::Underline;
}
// Save the bits