summaryrefslogtreecommitdiff
path: root/include/vcl/graph.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-08-13 08:49:30 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-08-15 17:13:55 +0200
commit51599676667b2b6e81e51fc321a19033a3094773 (patch)
treec35dbbfd3f79a648f59bb38ad5c5c8de96f5112b /include/vcl/graph.hxx
parentf3872785bd182e47ef9530770fb635d7e79e3f59 (diff)
remove constructor with plain Bitmap from Graphic, use BitmapEx
Change-Id: Ie429a10a8f54c6779d437ee4bc75a5ea0c427848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100727 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r--include/vcl/graph.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index f6a47e43b8ec..1880041b4ba5 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_GRAPH_HXX
-#define INCLUDED_VCL_GRAPH_HXX
+#pragma once
#include <memory>
#include <vcl/dllapi.h>
@@ -93,7 +92,6 @@ public:
Graphic( const GraphicExternalLink& rGraphicLink );
Graphic( const Graphic& rGraphic );
Graphic( Graphic&& rGraphic ) noexcept;
- Graphic( const Bitmap& rBmp );
Graphic( const Image& rImage );
Graphic( const BitmapEx& rBmpEx );
Graphic( const std::shared_ptr<VectorGraphicData>& rVectorGraphicDataPtr );
@@ -213,6 +211,4 @@ struct hash<Graphic>
} // end namespace std
-#endif // INCLUDED_VCL_GRAPH_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */