Kaydet (Commit) 3145a03d authored tarafından Noel Grandin's avatar Noel Grandin

remove unused GraphicsStateUpdateFlags enum values

Change-Id: I1a83c897d93a29d38aebccdba33be7b70592922e
Reviewed-on: https://gerrit.libreoffice.org/64096
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst a4a98dd0
......@@ -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
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment