[Libreoffice-commits] core.git: compilerplugins/clang vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 27 13:05:09 UTC 2018
compilerplugins/clang/unusedenumconstants.writeonly.results | 4 ----
vcl/source/gdi/pdfwriter_impl.hxx | 6 ------
2 files changed, 10 deletions(-)
New commits:
commit 3145a03d14c436801074cb1df00ca01ca7bd444b
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Nov 26 14:32:07 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Nov 27 14:04:45 2018 +0100
remove unused GraphicsStateUpdateFlags enum values
Change-Id: I1a83c897d93a29d38aebccdba33be7b70592922e
Reviewed-on: https://gerrit.libreoffice.org/64096
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/compilerplugins/clang/unusedenumconstants.writeonly.results b/compilerplugins/clang/unusedenumconstants.writeonly.results
index a117857554ae..27d446c21c76 100644
--- a/compilerplugins/clang/unusedenumconstants.writeonly.results
+++ b/compilerplugins/clang/unusedenumconstants.writeonly.results
@@ -10654,10 +10654,6 @@ vcl/source/fontsubset/ttcr.hxx:53
enum vcl::TTCRErrCodes TTCR_NAMETOOLONG
vcl/source/fontsubset/ttcr.hxx:54
enum vcl::TTCRErrCodes TTCR_POSTFORMAT
-vcl/source/gdi/pdfwriter_impl.hxx:75
- enum GraphicsStateUpdateFlags TextLineColor
-vcl/source/gdi/pdfwriter_impl.hxx:76
- enum GraphicsStateUpdateFlags OverlineColor
vcl/source/gdi/pdfwriter_impl.hxx:81
enum GraphicsStateUpdateFlags All
vcl/source/gdi/pdfwriter_impl.hxx:795
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 80c130a2f9e1..699ab7a377eb 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -73,8 +73,6 @@ enum class GraphicsStateUpdateFlags {
MapMode = 0x0002,
LineColor = 0x0004,
FillColor = 0x0008,
- TextLineColor = 0x0010,
- OverlineColor = 0x0020,
ClipRegion = 0x0040,
LayoutMode = 0x0100,
TransparentPercent = 0x0200,
@@ -1080,25 +1078,21 @@ public:
void setTextLineColor()
{
m_aGraphicsStack.front().m_aTextLineColor = COL_TRANSPARENT;
- m_aGraphicsStack.front().m_nUpdateFlags |= GraphicsStateUpdateFlags::TextLineColor;
}
void setTextLineColor( const Color& rColor )
{
m_aGraphicsStack.front().m_aTextLineColor = rColor;
- m_aGraphicsStack.front().m_nUpdateFlags |= GraphicsStateUpdateFlags::TextLineColor;
}
void setOverlineColor()
{
m_aGraphicsStack.front().m_aOverlineColor = COL_TRANSPARENT;
- m_aGraphicsStack.front().m_nUpdateFlags |= GraphicsStateUpdateFlags::OverlineColor;
}
void setOverlineColor( const Color& rColor )
{
m_aGraphicsStack.front().m_aOverlineColor = rColor;
- m_aGraphicsStack.front().m_nUpdateFlags |= GraphicsStateUpdateFlags::OverlineColor;
}
void setTextFillColor( const Color& rColor )
More information about the Libreoffice-commits
mailing list