summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-04 09:16:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-05 07:51:32 +0100
commit6ba25b96e6187931c0651f099413dbf1e2a7ab97 (patch)
tree765b99bf2cff746295968899958db0f145cb8e71 /vcl
parentdf55a6ca81848a5a095f08ae5265186d38176d40 (diff)
remove unused InvertFlags::Highlight
Change-Id: Id881142f39a6160b8040d0446476767aad83f260 Reviewed-on: https://gerrit.libreoffice.org/64558 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/rect.cxx4
-rw-r--r--vcl/workben/vcldemo.cxx1
2 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/outdev/rect.cxx b/vcl/source/outdev/rect.cxx
index 0770b68db5b6..67343278a1be 100644
--- a/vcl/source/outdev/rect.cxx
+++ b/vcl/source/outdev/rect.cxx
@@ -149,8 +149,6 @@ void OutputDevice::Invert( const tools::Rectangle& rRect, InvertFlags nFlags )
return;
SalInvert nSalFlags = SalInvert::NONE;
- if ( nFlags & InvertFlags::Highlight )
- nSalFlags |= SalInvert::Highlight;
if ( nFlags & InvertFlags::N50 )
nSalFlags |= SalInvert::N50;
if ( nFlags & InvertFlags::TrackFrame )
@@ -182,8 +180,6 @@ void OutputDevice::Invert( const tools::Polygon& rPoly, InvertFlags nFlags )
return;
SalInvert nSalFlags = SalInvert::NONE;
- if ( nFlags & InvertFlags::Highlight )
- nSalFlags |= SalInvert::Highlight;
if ( nFlags & InvertFlags::N50 )
nSalFlags |= SalInvert::N50;
if ( nFlags & InvertFlags::TrackFrame )
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index b14bc4d96c80..27950196282b 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -767,7 +767,6 @@ public:
auto aRegions = partition(rCtx, 2, 2);
doInvert(rDev, aRegions[0], InvertFlags::NONE);
doInvert(rDev, aRegions[1], InvertFlags::N50);
- doInvert(rDev, aRegions[2], InvertFlags::Highlight);
doInvert(rDev, aRegions[3], InvertFlags::TrackFrame);
}
}