summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-02 10:43:28 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:00 +0200
commit062e40c76bcab664907737feace74f134a25c29c (patch)
tree83d8e99e62f8183bad31934cceed1c1626285b12 /vcl/generic
parent4e6410ba0155d4c2ac539fd37f75aa72d489e206 (diff)
loplugin:constantfunction: vcl
Change-Id: I985b781a8d53190505fcb1182749cdaf5cd0f8d0
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx8
-rw-r--r--vcl/generic/print/printerjob.cxx2
-rw-r--r--vcl/generic/print/prtsetup.cxx6
-rw-r--r--vcl/generic/print/prtsetup.hxx2
-rw-r--r--vcl/generic/print/text_gfx.cxx5
5 files changed, 1 insertions, 22 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index b9c4d9429671..c79c883a4890 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -894,13 +894,7 @@ sal_GlyphId ServerFont::FixupGlyphIndex( sal_GlyphId aGlyphId, sal_UCS4 aChar )
GlyphSubstitution::const_iterator it = maGlyphSubstitution.find( aGlyphId );
if( it == maGlyphSubstitution.end() )
{
- sal_GlyphId nTemp = GetVerticalChar( aChar );
- if( nTemp ) // is substitution possible
- nTemp = GetRawGlyphIndex( nTemp );
- if( nTemp ) // substitute manually if sensible
- aGlyphId = nTemp | (GF_GSUB | GF_ROTL);
- else
- nGlyphFlags |= GetVerticalFlags( aChar );
+ nGlyphFlags |= GetVerticalFlags( aChar );
}
else
{
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx
index f9da8c92b628..7cfeeade1273 100644
--- a/vcl/generic/print/printerjob.cxx
+++ b/vcl/generic/print/printerjob.cxx
@@ -668,8 +668,6 @@ PrinterJob::StartPage (const JobData& rJobSetup)
bool
PrinterJob::EndPage ()
{
- m_pGraphics->OnEndPage();
-
osl::File* pPageHeader = maHeaderList.back();
osl::File* pPageBody = maPageList.back();
diff --git a/vcl/generic/print/prtsetup.cxx b/vcl/generic/print/prtsetup.cxx
index a2e5255a64fe..ed598b6cb19b 100644
--- a/vcl/generic/print/prtsetup.cxx
+++ b/vcl/generic/print/prtsetup.cxx
@@ -118,8 +118,6 @@ IMPL_LINK( RTSDialog, ActivatePage, TabControl*, pTabCtrl )
{
if (sPage == "paper")
m_pPaperPage->update();
- else if (sPage == "device")
- m_pDevicePage->update();
}
return 0;
@@ -359,10 +357,6 @@ RTSDevicePage::~RTSDevicePage()
{
}
-void RTSDevicePage::update()
-{
-}
-
sal_uLong RTSDevicePage::getDepth()
{
sal_uInt16 nSelectPos = m_pDepthBox->GetSelectEntryPos();
diff --git a/vcl/generic/print/prtsetup.hxx b/vcl/generic/print/prtsetup.hxx
index 08fb22d9309e..6d641bedadf9 100644
--- a/vcl/generic/print/prtsetup.hxx
+++ b/vcl/generic/print/prtsetup.hxx
@@ -114,8 +114,6 @@ public:
RTSDevicePage( RTSDialog* );
virtual ~RTSDevicePage();
- void update();
-
sal_uLong getLevel();
sal_uLong getPDFDevice();
sal_uLong getDepth();
diff --git a/vcl/generic/print/text_gfx.cxx b/vcl/generic/print/text_gfx.cxx
index eeaa02925153..dec130475a41 100644
--- a/vcl/generic/print/text_gfx.cxx
+++ b/vcl/generic/print/text_gfx.cxx
@@ -662,11 +662,6 @@ PrinterGfx::GetCharWidth (sal_Unicode nFrom, sal_Unicode nTo, long *pWidthArray)
*/
void
-PrinterGfx::OnEndPage ()
-{
-}
-
-void
PrinterGfx::OnEndJob ()
{
maPS3Font.clear();