summaryrefslogtreecommitdiffstats
path: root/include/svx/xoutbmp.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2015-08-16 16:45:12 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-08-17 02:07:43 +0000
commitef46917ff3163d3fdd5152bda5d16c4503b6ab69 (patch)
tree73271cd339b19964bc91157207565595774e98b5 /include/svx/xoutbmp.hxx
parentFix GTK3 right-to-left rendering (diff)
downloadcore-ef46917ff3163d3fdd5152bda5d16c4503b6ab69.tar.gz
core-ef46917ff3163d3fdd5152bda5d16c4503b6ab69.zip
Put Polygon from tools under tools:: namespace
Polygon is one of these names that Clash with some system objects A similar work has been done earlier with PolyPolygon. Change-Id: Icf2217cb2906292b7275760f1a16be0e150312f5 Reviewed-on: https://gerrit.libreoffice.org/17789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/svx/xoutbmp.hxx')
-rw-r--r--include/svx/xoutbmp.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/svx/xoutbmp.hxx b/include/svx/xoutbmp.hxx
index 25ba5e48c90d..34e03c3f9cc0 100644
--- a/include/svx/xoutbmp.hxx
+++ b/include/svx/xoutbmp.hxx
@@ -41,7 +41,9 @@
class GraphicFilter;
class VirtualDevice;
class INetURLObject;
-class Polygon;
+namespace tools {
+ class Polygon;
+}
class SVX_DLLPUBLIC XOutBitmap
{
@@ -62,9 +64,9 @@ public:
static Bitmap DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold );
- static Polygon GetCountour( const Bitmap& rBmp, const sal_uIntPtr nContourFlags,
- const sal_uInt8 cEdgeDetectThreshold = 50,
- const Rectangle* pWorkRect = NULL );
+ static tools::Polygon GetCountour( const Bitmap& rBmp, const sal_uIntPtr nContourFlags,
+ const sal_uInt8 cEdgeDetectThreshold = 50,
+ const Rectangle* pWorkRect = NULL );
};
SVX_DLLPUBLIC bool DitherBitmap( Bitmap& rBitmap );