summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-12-21 00:22:06 -0500
committerAugust Sodora <augsod@gmail.com>2011-12-21 06:25:31 -0500
commit070eff8cf1ad7763b8b730336f11032893b77049 (patch)
treeb0dc8c0859d0efc6a69050f8ca5ec9a858d6069d /cppcanvas/source/wrapper
parent6708977331c933b3483b9fe5f66d981b51fd8d49 (diff)
callcatcher: Remove unused code
Diffstat (limited to 'cppcanvas/source/wrapper')
-rw-r--r--cppcanvas/source/wrapper/basegfxfactory.cxx50
1 files changed, 0 insertions, 50 deletions
diff --git a/cppcanvas/source/wrapper/basegfxfactory.cxx b/cppcanvas/source/wrapper/basegfxfactory.cxx
index bac25aa1d9d4..d8dedb37eab4 100644
--- a/cppcanvas/source/wrapper/basegfxfactory.cxx
+++ b/cppcanvas/source/wrapper/basegfxfactory.cxx
@@ -43,7 +43,6 @@
#include "implbitmap.hxx"
#include "impltext.hxx"
-
using namespace ::com::sun::star;
namespace cppcanvas
@@ -72,48 +71,6 @@ namespace cppcanvas
{
}
- PolyPolygonSharedPtr BaseGfxFactory::createPolyPolygon( const CanvasSharedPtr& rCanvas,
- const ::basegfx::B2DPolygon& rPoly ) const
- {
- OSL_ENSURE( rCanvas.get() != NULL &&
- rCanvas->getUNOCanvas().is(),
- "BaseGfxFactory::createPolyPolygon(): Invalid canvas" );
-
- if( rCanvas.get() == NULL )
- return PolyPolygonSharedPtr();
-
- uno::Reference< rendering::XCanvas > xCanvas( rCanvas->getUNOCanvas() );
- if( !xCanvas.is() )
- return PolyPolygonSharedPtr();
-
- return PolyPolygonSharedPtr(
- new internal::ImplPolyPolygon( rCanvas,
- ::basegfx::unotools::xPolyPolygonFromB2DPolygon(
- xCanvas->getDevice(),
- rPoly) ) );
- }
-
- PolyPolygonSharedPtr BaseGfxFactory::createPolyPolygon( const CanvasSharedPtr& rCanvas,
- const ::basegfx::B2DPolyPolygon& rPolyPoly ) const
- {
- OSL_ENSURE( rCanvas.get() != NULL &&
- rCanvas->getUNOCanvas().is(),
- "BaseGfxFactory::createPolyPolygon(): Invalid canvas" );
-
- if( rCanvas.get() == NULL )
- return PolyPolygonSharedPtr();
-
- uno::Reference< rendering::XCanvas > xCanvas( rCanvas->getUNOCanvas() );
- if( !xCanvas.is() )
- return PolyPolygonSharedPtr();
-
- return PolyPolygonSharedPtr(
- new internal::ImplPolyPolygon( rCanvas,
- ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon(
- xCanvas->getDevice(),
- rPolyPoly) ) );
- }
-
BitmapSharedPtr BaseGfxFactory::createBitmap( const CanvasSharedPtr& rCanvas,
const ::basegfx::B2ISize& rSize ) const
{
@@ -153,13 +110,6 @@ namespace cppcanvas
xCanvas->getDevice()->createCompatibleAlphaBitmap(
::basegfx::unotools::integerSize2DFromB2ISize(rSize) ) ) );
}
-
- TextSharedPtr BaseGfxFactory::createText( const CanvasSharedPtr& rCanvas, const ::rtl::OUString& rText ) const
- {
- return TextSharedPtr( new internal::ImplText( rCanvas,
- rText ) );
- }
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */