summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-23 16:45:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-26 19:13:20 +0100
commitb8b79633021488a7f3400026357a66c4cdadb4b6 (patch)
tree30fada27a25cb7305da78252f655bed9c6908449 /drawinglayer
parentb3505dd7adcfd4483c4af181c15eef31bf04a846 (diff)
remove unused DrawModeFlags enum values
Change-Id: I86775a5b7609f5e85c8fcc18a0be7e0ee3c8f84c Reviewed-on: https://gerrit.libreoffice.org/64046 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx22
1 files changed, 2 insertions, 20 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index de94ac307120..e5b77c1c86d3 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -1308,7 +1308,7 @@ namespace drawinglayer
{
const DrawModeFlags nOriginalDrawMode(mpOutputDevice->GetDrawMode());
- if(nOriginalDrawMode & (DrawModeFlags::BlackLine|DrawModeFlags::GrayLine|DrawModeFlags::GhostedLine|DrawModeFlags::WhiteLine|DrawModeFlags::SettingsLine))
+ if(nOriginalDrawMode & (DrawModeFlags::BlackLine|DrawModeFlags::GrayLine|DrawModeFlags::WhiteLine|DrawModeFlags::SettingsLine))
{
DrawModeFlags nAdaptedDrawMode(nOriginalDrawMode);
@@ -1330,15 +1330,6 @@ namespace drawinglayer
nAdaptedDrawMode &= ~DrawModeFlags::GrayFill;
}
- if(nOriginalDrawMode & DrawModeFlags::GhostedLine)
- {
- nAdaptedDrawMode |= DrawModeFlags::GhostedFill;
- }
- else
- {
- nAdaptedDrawMode &= ~DrawModeFlags::GhostedFill;
- }
-
if(nOriginalDrawMode & DrawModeFlags::WhiteLine)
{
nAdaptedDrawMode |= DrawModeFlags::WhiteFill;
@@ -1364,7 +1355,7 @@ namespace drawinglayer
void VclProcessor2D::adaptTextToFillDrawMode() const
{
const DrawModeFlags nOriginalDrawMode(mpOutputDevice->GetDrawMode());
- if(nOriginalDrawMode & (DrawModeFlags::BlackText|DrawModeFlags::GrayText|DrawModeFlags::GhostedText|DrawModeFlags::WhiteText|DrawModeFlags::SettingsText))
+ if(nOriginalDrawMode & (DrawModeFlags::BlackText|DrawModeFlags::GrayText|DrawModeFlags::WhiteText|DrawModeFlags::SettingsText))
{
DrawModeFlags nAdaptedDrawMode(nOriginalDrawMode);
@@ -1386,15 +1377,6 @@ namespace drawinglayer
nAdaptedDrawMode &= ~DrawModeFlags::GrayFill;
}
- if(nOriginalDrawMode & DrawModeFlags::GhostedText)
- {
- nAdaptedDrawMode |= DrawModeFlags::GhostedFill;
- }
- else
- {
- nAdaptedDrawMode &= ~DrawModeFlags::GhostedFill;
- }
-
if(nOriginalDrawMode & DrawModeFlags::WhiteText)
{
nAdaptedDrawMode |= DrawModeFlags::WhiteFill;