summaryrefslogtreecommitdiff
path: root/include/vcl/GraphicObject.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-26 09:41:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 10:14:13 +0100
commitba51e421670c6710f1ed13e38aab8646c1ec8ce9 (patch)
tree2665944af4c0213ca2e25d6aebb89026be77b81e /include/vcl/GraphicObject.hxx
parentf7934ebccdba6739c7fbb230b7eb4d3fe389ca35 (diff)
remove unused GraphicManagerDrawFlags enum value
Change-Id: I9e832da8f6b7a90d72c07ab712cbe00774496b76 Reviewed-on: https://gerrit.libreoffice.org/64060 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/GraphicObject.hxx')
-rw-r--r--include/vcl/GraphicObject.hxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/vcl/GraphicObject.hxx b/include/vcl/GraphicObject.hxx
index 88038fb71afe..b30808e493f4 100644
--- a/include/vcl/GraphicObject.hxx
+++ b/include/vcl/GraphicObject.hxx
@@ -33,12 +33,11 @@ enum class GraphicManagerDrawFlags
{
CACHED = 0x01,
SMOOTHSCALE = 0x02,
- USE_DRAWMODE_SETTINGS = 0x04,
- STANDARD = (CACHED|SMOOTHSCALE),
+ STANDARD = CACHED | SMOOTHSCALE,
};
namespace o3tl
{
- template<> struct typed_flags<GraphicManagerDrawFlags> : is_typed_flags<GraphicManagerDrawFlags, 0x07> {};
+ template<> struct typed_flags<GraphicManagerDrawFlags> : is_typed_flags<GraphicManagerDrawFlags, 0x02> {};
}
// Adjustment defines
@@ -255,8 +254,7 @@ private:
int nNumTilesX,
int nNumTilesY,
const Size& rTileSize,
- const GraphicAttr* pAttr,
- GraphicManagerDrawFlags nFlags
+ const GraphicAttr* pAttr
);
void VCL_DLLPRIVATE ImplTransformBitmap(
@@ -336,8 +334,7 @@ public:
OutputDevice* pOut,
const Point& rPt,
const Size& rSz,
- const GraphicAttr* pAttr = nullptr,
- GraphicManagerDrawFlags nFlags = GraphicManagerDrawFlags::STANDARD
+ const GraphicAttr* pAttr = nullptr
);
/** Draw the graphic repeatedly into the given output rectangle