Kaydet (Commit) a84651f3 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Remove some unused methods

üst 007a0058
...@@ -72,7 +72,6 @@ class GroupTable ...@@ -72,7 +72,6 @@ class GroupTable
::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > &
GetCurrentGroupAccess() const { return mpGroupEntry[ mnCurrentGroupEntry - 1 ]->mXIndexAccess; }; GetCurrentGroupAccess() const { return mpGroupEntry[ mnCurrentGroupEntry - 1 ]->mXIndexAccess; };
sal_uInt32 GetGroupsClosed(); sal_uInt32 GetGroupsClosed();
void SkipCurrentGroup();
void ResetGroupTable( sal_uInt32 nCount ); void ResetGroupTable( sal_uInt32 nCount );
void ClearGroupTable(); void ClearGroupTable();
sal_Bool EnterGroup( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & rIndex ); sal_Bool EnterGroup( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & rIndex );
......
...@@ -131,12 +131,4 @@ sal_Bool GroupTable::GetNextGroupEntry() ...@@ -131,12 +131,4 @@ sal_Bool GroupTable::GetNextGroupEntry()
// --------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------
void GroupTable::SkipCurrentGroup()
{
if ( mnCurrentGroupEntry )
delete ( mpGroupEntry[ --mnCurrentGroupEntry ] );
}
// ---------------------------------------------------------------------------------------------
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -145,10 +145,6 @@ GDIMetaFile::Wind(unsigned long) ...@@ -145,10 +145,6 @@ GDIMetaFile::Wind(unsigned long)
GDIMetaFile::WindEnd() GDIMetaFile::WindEnd()
GDIMetaFile::WindNext() GDIMetaFile::WindNext()
GraphCtrl::GraphCtrl(Window*, long) GraphCtrl::GraphCtrl(Window*, long)
Graphic::Draw(OutputDevice*, String const&, Font&, Bitmap const&, Point const&, Size const&)
Graphic::StartAnimation(OutputDevice*, Point const&, long, OutputDevice*)
GraphicReader::IsPreviewModeEnabled() const
GroupTable::SkipCurrentGroup()
GtkSalFrame::popIgnoreDamage() GtkSalFrame::popIgnoreDamage()
GtkSalFrame::pushIgnoreDamage() GtkSalFrame::pushIgnoreDamage()
HTMLControls::Insert(HTMLControl const*&, unsigned short&) HTMLControls::Insert(HTMLControl const*&, unsigned short&)
......
...@@ -470,11 +470,6 @@ public: ...@@ -470,11 +470,6 @@ public:
Rectangle &rNativeContentRegion, Rectangle &rNativeContentRegion,
const OutputDevice *pOutDev ); const OutputDevice *pOutDev );
static void AddDevFontSubstitute( OutputDevice* pOutDev,
const String& rFontName,
const String& rReplaceFontName,
sal_uInt16 nFlags = 0 );
bool DrawAlphaBitmap( const SalTwoRect&, bool DrawAlphaBitmap( const SalTwoRect&,
const SalBitmap& rSourceBitmap, const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap, const SalBitmap& rAlphaBitmap,
......
...@@ -73,7 +73,6 @@ public: ...@@ -73,7 +73,6 @@ public:
// TODO: when incompatible changes are possible again // TODO: when incompatible changes are possible again
// the preview size hint should be redone // the preview size hint should be redone
sal_Bool IsPreviewModeEnabled() const;
void DisablePreviewMode(); void DisablePreviewMode();
void SetPreviewSize( const Size& ); void SetPreviewSize( const Size& );
Size GetPreviewSize() const; Size GetPreviewSize() const;
......
...@@ -155,17 +155,10 @@ public: ...@@ -155,17 +155,10 @@ public:
void Draw( OutputDevice* pOutDev, void Draw( OutputDevice* pOutDev,
const Point& rDestPt, const Point& rDestPt,
const Size& rDestSize ) const; 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, static void DrawEx( OutputDevice* pOutDev, const String& rText,
Font& rFont, const BitmapEx& rBitmap, Font& rFont, const BitmapEx& rBitmap,
const Point& rDestPt, const Size& rDestSize ); const Point& rDestPt, const Size& rDestSize );
void StartAnimation( OutputDevice* pOutDev,
const Point& rDestPt,
long nExtraData = 0L,
OutputDevice* pFirstFrameOutDev = NULL );
void StartAnimation( OutputDevice* pOutDev, void StartAnimation( OutputDevice* pOutDev,
const Point& rDestPt, const Point& rDestPt,
const Size& rDestSize, const Size& rDestSize,
......
...@@ -600,15 +600,6 @@ void Graphic::Draw( OutputDevice* pOutDev, ...@@ -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, void Graphic::DrawEx( OutputDevice* pOutDev, const String& rText,
Font& rFont, const BitmapEx& rBitmap, Font& rFont, const BitmapEx& rBitmap,
const Point& rDestPt, const Size& rDestSz ) const Point& rDestPt, const Size& rDestSz )
...@@ -618,15 +609,6 @@ void Graphic::DrawEx( OutputDevice* pOutDev, const String& rText, ...@@ -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, void Graphic::StartAnimation( OutputDevice* pOutDev, const Point& rDestPt,
const Size& rDestSz, long nExtraData, const Size& rDestSz, long nExtraData,
OutputDevice* pFirstFrameOutDev ) OutputDevice* pFirstFrameOutDev )
......
...@@ -93,19 +93,6 @@ GraphicReader::~GraphicReader() ...@@ -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() void GraphicReader::DisablePreviewMode()
{ {
if( mpReaderData ) if( mpReaderData )
......
...@@ -820,12 +820,4 @@ bool SalGraphics::filterText( const String&, String&, xub_StrLen, xub_StrLen&, x ...@@ -820,12 +820,4 @@ bool SalGraphics::filterText( const String&, String&, xub_StrLen, xub_StrLen&, x
return false; 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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment