[Libreoffice-commits] .: unusedcode.easy vcl/generic vcl/inc
Julien Nabet
serval2412 at kemper.freedesktop.org
Fri Apr 13 22:45:52 PDT 2012
unusedcode.easy | 2 --
vcl/generic/print/common_gfx.cxx | 7 -------
vcl/generic/print/text_gfx.cxx | 7 -------
vcl/inc/generic/printergfx.hxx | 2 --
4 files changed, 18 deletions(-)
New commits:
commit 9b30c36efd8746e10e58911192b1b626ac95e0ee
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 14 07:45:27 2012 +0200
Some vcl cleaning
diff --git a/unusedcode.easy b/unusedcode.easy
index a30c963..724d26e 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 44bf1a7..662e696 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 a270ac2..237bb1b 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 3ac5df0..57347f3 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
More information about the Libreoffice-commits
mailing list