Kaydet (Commit) 6bc1f24c authored tarafından Santiago Martinez's avatar Santiago Martinez Kaydeden (comit) Caolán McNamara

Remove unused code in svtools.

üst c576a5c4
...@@ -658,13 +658,6 @@ void WinMtfOutput::SelectObject( sal_Int32 nIndex ) ...@@ -658,13 +658,6 @@ void WinMtfOutput::SelectObject( sal_Int32 nIndex )
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
void WinMtfOutput::SetFont( const Font& rFont )
{
maFont = rFont;
}
//-----------------------------------------------------------------------------------
const Font& WinMtfOutput::GetFont() const const Font& WinMtfOutput::GetFont() const
{ {
return maFont; return maFont;
...@@ -679,13 +672,6 @@ void WinMtfOutput::SetTextLayoutMode( const sal_uInt32 nTextLayoutMode ) ...@@ -679,13 +672,6 @@ void WinMtfOutput::SetTextLayoutMode( const sal_uInt32 nTextLayoutMode )
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
sal_uInt32 WinMtfOutput::GetTextLayoutMode() const
{
return mnTextLayoutMode;
}
//-----------------------------------------------------------------------------------
void WinMtfOutput::SetBkMode( sal_uInt32 nMode ) void WinMtfOutput::SetBkMode( sal_uInt32 nMode )
{ {
mnBkMode = nMode; mnBkMode = nMode;
...@@ -1151,15 +1137,6 @@ void WinMtfOutput::LineTo( const Point& rPoint, sal_Bool bRecordPath ) ...@@ -1151,15 +1137,6 @@ void WinMtfOutput::LineTo( const Point& rPoint, sal_Bool bRecordPath )
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
void WinMtfOutput::DrawLine( const Point& rSource, const Point& rDest )
{
UpdateClipRegion();
UpdateLineStyle();
mpGDIMetaFile->AddAction( new MetaLineAction( ImplMap( rSource), ImplMap( rDest ), maLineStyle.aLineInfo ) );
}
//-----------------------------------------------------------------------------------
void WinMtfOutput::DrawRect( const Rectangle& rRect, sal_Bool bEdge ) void WinMtfOutput::DrawRect( const Rectangle& rRect, sal_Bool bEdge )
{ {
UpdateClipRegion(); UpdateClipRegion();
......
...@@ -696,10 +696,8 @@ public: ...@@ -696,10 +696,8 @@ public:
void SelectObject( sal_Int32 nIndex ); void SelectObject( sal_Int32 nIndex );
CharSet GetCharSet(){ return maFont.GetCharSet(); }; CharSet GetCharSet(){ return maFont.GetCharSet(); };
WinMtfFillStyle& GetFillStyle () { return maFillStyle; } WinMtfFillStyle& GetFillStyle () { return maFillStyle; }
void SetFont( const Font& rFont );
const Font& GetFont() const; const Font& GetFont() const;
void SetTextLayoutMode( const sal_uInt32 nLayoutMode ); void SetTextLayoutMode( const sal_uInt32 nLayoutMode );
sal_uInt32 GetTextLayoutMode() const;
void ClearPath(){ aPathObj.Init(); }; void ClearPath(){ aPathObj.Init(); };
void ClosePath(){ aPathObj.ClosePath(); }; void ClosePath(){ aPathObj.ClosePath(); };
...@@ -708,7 +706,6 @@ public: ...@@ -708,7 +706,6 @@ public:
void MoveTo( const Point& rPoint, sal_Bool bRecordPath = sal_False ); void MoveTo( const Point& rPoint, sal_Bool bRecordPath = sal_False );
void LineTo( const Point& rPoint, sal_Bool bRecordPath = sal_False ); void LineTo( const Point& rPoint, sal_Bool bRecordPath = sal_False );
void DrawPixel( const Point& rSource, const Color& rColor ); void DrawPixel( const Point& rSource, const Color& rColor );
void DrawLine( const Point& rSource, const Point& rDest );
void DrawRect( const Rectangle& rRect, sal_Bool bEdge = sal_True ); void DrawRect( const Rectangle& rRect, sal_Bool bEdge = sal_True );
void DrawRoundRect( const Rectangle& rRect, const Size& rSize ); void DrawRoundRect( const Rectangle& rRect, const Size& rSize );
void DrawEllipse( const Rectangle& rRect ); void DrawEllipse( const Rectangle& rRect );
......
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