diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-04-14 07:45:27 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-04-14 07:45:27 +0200 |
commit | 9b30c36efd8746e10e58911192b1b626ac95e0ee (patch) | |
tree | 1a11f807655bf368c93b1824b88e9d3f5335c9d3 | |
parent | Some sc cleaning (oox) (diff) | |
download | core-9b30c36efd8746e10e58911192b1b626ac95e0ee.tar.gz core-9b30c36efd8746e10e58911192b1b626ac95e0ee.zip |
Some vcl cleaning
-rwxr-xr-x | unusedcode.easy | 2 | ||||
-rw-r--r-- | vcl/generic/print/common_gfx.cxx | 7 | ||||
-rw-r--r-- | vcl/generic/print/text_gfx.cxx | 7 | ||||
-rw-r--r-- | vcl/inc/generic/printergfx.hxx | 2 |
4 files changed, 0 insertions, 18 deletions
diff --git a/unusedcode.easy b/unusedcode.easy index a30c963e328b..724d26ee19ea 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -767,8 +767,6 @@ psp::PrinterGfx::DrawMask(Rectangle const&, Rectangle const&, psp::PrinterBmp co psp::PrinterGfx::GetGlyphBoundRect(unsigned short, Rectangle&) psp::PrinterGfx::GetGlyphOutline(unsigned short, unsigned short**, Point**, unsigned char**) psp::PrinterGfx::GetResolution(int&, int&) const -psp::PrinterGfx::PSRMoveTo(int, int) -psp::PrinterGfx::SetFallbackFont(int) sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx index 44bf1a797482..662e696d91e9 100644 --- a/vcl/generic/print/common_gfx.cxx +++ b/vcl/generic/print/common_gfx.cxx @@ -908,13 +908,6 @@ PrinterGfx::PSLineTo (const Point& rPoint) PSPointOp (rPoint, "lineto"); } -void -PrinterGfx::PSRMoveTo (sal_Int32 nDx, sal_Int32 nDy) -{ - Point aPoint(nDx, nDy); - PSPointOp (aPoint, "rmoveto"); -} - /* get a compressed representation of the path information */ #define DEBUG_BINPATH 0 diff --git a/vcl/generic/print/text_gfx.cxx b/vcl/generic/print/text_gfx.cxx index a270ac264ce4..237bb1be2c0f 100644 --- a/vcl/generic/print/text_gfx.cxx +++ b/vcl/generic/print/text_gfx.cxx @@ -139,13 +139,6 @@ PrinterGfx::SetFont( return 0; } -sal_uInt16 -PrinterGfx::SetFallbackFont ( sal_Int32 nFontID ) -{ - mnFallbackID = nFontID; - return 0; -} - void PrinterGfx::drawGlyphs( const Point& rPoint, sal_uInt32* pGlyphIds, diff --git a/vcl/inc/generic/printergfx.hxx b/vcl/inc/generic/printergfx.hxx index 3ac5df05c386..57347f357393 100644 --- a/vcl/inc/generic/printergfx.hxx +++ b/vcl/inc/generic/printergfx.hxx @@ -297,7 +297,6 @@ public: void PSRotate (sal_Int32 nAngle); void PSTranslate (const Point& rPoint); void PSMoveTo (const Point& rPoint); - void PSRMoveTo (sal_Int32 nDx, sal_Int32 nDy = 0); void PSScale (double fScaleX, double fScaleY); void PSLineTo(const Point& rPoint ); void PSPointOp (const Point& rPoint, const sal_Char* pOperator); @@ -396,7 +395,6 @@ public: bool bArtItalic, bool bArtBold ); - sal_uInt16 SetFallbackFont ( sal_Int32 nFontID ); sal_Int32 GetFontAngle () const { return mnTextAngle; } sal_Int32 GetFontID () const |