diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-11-20 04:06:00 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-11-20 13:54:12 +0100 |
commit | a84651f39d4afe662181f695a1a15c4dfe96e7e6 (patch) | |
tree | efbb319074ca6394d21a3914dd5066797c533f85 /vcl | |
parent | 007a00589d750a84909e138e19c921f910dd3c81 (diff) |
Remove some unused methods
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/salgdi.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/vcl/graph.h | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/graph.hxx | 7 | ||||
-rw-r--r-- | vcl/source/gdi/graph.cxx | 18 | ||||
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 13 | ||||
-rw-r--r-- | vcl/source/gdi/salgdilayout.cxx | 8 |
6 files changed, 0 insertions, 52 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 75559cb7fc63..1394c1725e22 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -470,11 +470,6 @@ public: Rectangle &rNativeContentRegion, const OutputDevice *pOutDev ); - static void AddDevFontSubstitute( OutputDevice* pOutDev, - const String& rFontName, - const String& rReplaceFontName, - sal_uInt16 nFlags = 0 ); - bool DrawAlphaBitmap( const SalTwoRect&, const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap, diff --git a/vcl/inc/vcl/graph.h b/vcl/inc/vcl/graph.h index 1df2ee7a3df3..b92693675606 100644 --- a/vcl/inc/vcl/graph.h +++ b/vcl/inc/vcl/graph.h @@ -73,7 +73,6 @@ public: // TODO: when incompatible changes are possible again // the preview size hint should be redone - sal_Bool IsPreviewModeEnabled() const; void DisablePreviewMode(); void SetPreviewSize( const Size& ); Size GetPreviewSize() const; diff --git a/vcl/inc/vcl/graph.hxx b/vcl/inc/vcl/graph.hxx index d34a2132e76a..c5d57f4de535 100644 --- a/vcl/inc/vcl/graph.hxx +++ b/vcl/inc/vcl/graph.hxx @@ -155,19 +155,12 @@ public: void Draw( OutputDevice* pOutDev, const Point& rDestPt, const Size& rDestSize ) const; - static void Draw( OutputDevice* pOutDev, const String& rText, - Font& rFont, const Bitmap& rBitmap, - const Point& rDestPt, const Size& rDestSize ); static void DrawEx( OutputDevice* pOutDev, const String& rText, Font& rFont, const BitmapEx& rBitmap, const Point& rDestPt, const Size& rDestSize ); void StartAnimation( OutputDevice* pOutDev, const Point& rDestPt, - long nExtraData = 0L, - OutputDevice* pFirstFrameOutDev = NULL ); - void StartAnimation( OutputDevice* pOutDev, - const Point& rDestPt, const Size& rDestSize, long nExtraData = 0L, OutputDevice* pFirstFrameOutDev = NULL ); diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx index ece06caad51c..1ca36ebd9736 100644 --- a/vcl/source/gdi/graph.cxx +++ b/vcl/source/gdi/graph.cxx @@ -600,15 +600,6 @@ void Graphic::Draw( OutputDevice* pOutDev, // ------------------------------------------------------------------------ -void Graphic::Draw( OutputDevice* pOutDev, const String& rText, - Font& rFont, const Bitmap& rBitmap, - const Point& rDestPt, const Size& rDestSz ) -{ - ImplDrawDefault( pOutDev, &rText, &rFont, &rBitmap, NULL, rDestPt, rDestSz ); -} - -// ------------------------------------------------------------------------ - void Graphic::DrawEx( OutputDevice* pOutDev, const String& rText, Font& rFont, const BitmapEx& rBitmap, const Point& rDestPt, const Size& rDestSz ) @@ -618,15 +609,6 @@ void Graphic::DrawEx( OutputDevice* pOutDev, const String& rText, // ------------------------------------------------------------------------ -void Graphic::StartAnimation( OutputDevice* pOutDev, const Point& rDestPt, long nExtraData, - OutputDevice* pFirstFrameOutDev ) -{ - ImplTestRefCount(); - mpImpGraphic->ImplStartAnimation( pOutDev, rDestPt, nExtraData, pFirstFrameOutDev ); -} - -// ------------------------------------------------------------------------ - void Graphic::StartAnimation( OutputDevice* pOutDev, const Point& rDestPt, const Size& rDestSz, long nExtraData, OutputDevice* pFirstFrameOutDev ) diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index e18464492abd..71563d2fa31f 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -93,19 +93,6 @@ GraphicReader::~GraphicReader() // ------------------------------------------------------------------------ -sal_Bool GraphicReader::IsPreviewModeEnabled() const -{ - if( !mpReaderData ) - return sal_False; - if( mpReaderData->maPreviewSize.Width() ) - return sal_True; - if( mpReaderData->maPreviewSize.Height() ) - return sal_True; - return sal_False; -} - -// ------------------------------------------------------------------------ - void GraphicReader::DisablePreviewMode() { if( mpReaderData ) diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx index bf0f7523a453..2db568cee21a 100644 --- a/vcl/source/gdi/salgdilayout.cxx +++ b/vcl/source/gdi/salgdilayout.cxx @@ -820,12 +820,4 @@ bool SalGraphics::filterText( const String&, String&, xub_StrLen, xub_StrLen&, x return false; } -void SalGraphics::AddDevFontSubstitute( OutputDevice* pOutDev, - const String& rFontName, - const String& rReplaceFontName, - sal_uInt16 nFlags ) -{ - pOutDev->ImplAddDevFontSubstitute( rFontName, rReplaceFontName, nFlags ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |