summaryrefslogtreecommitdiffstats
path: root/include/cppcanvas/bitmapcanvas.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-04 16:28:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-05 09:39:22 +0000
commit403c13487c36f4200adf0986c5d11398f719cd7a (patch)
tree21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /include/cppcanvas/bitmapcanvas.hxx
parentsw: use std::unique_ptr in docxattributeoutput (diff)
downloadcore-403c13487c36f4200adf0986c5d11398f719cd7a.tar.gz
core-403c13487c36f4200adf0986c5d11398f719cd7a.zip
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/cppcanvas/bitmapcanvas.hxx')
-rw-r--r--include/cppcanvas/bitmapcanvas.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/cppcanvas/bitmapcanvas.hxx b/include/cppcanvas/bitmapcanvas.hxx
index 714879230ab9..b47d438151e5 100644
--- a/include/cppcanvas/bitmapcanvas.hxx
+++ b/include/cppcanvas/bitmapcanvas.hxx
@@ -43,14 +43,6 @@ namespace cppcanvas
{
public:
virtual ::basegfx::B2ISize getSize() const = 0;
-
- // shared_ptr does not allow for covariant return types
- BitmapCanvasSharedPtr cloneBitmapCanvas() const
- {
- BitmapCanvasSharedPtr p( ::boost::dynamic_pointer_cast< BitmapCanvas >(this->clone()) );
- OSL_ENSURE(p.get(), "BitmapCanvas::cloneBitmapCanvas(): dynamic cast failed");
- return p;
- }
};
}