summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-08 08:27:27 +0200
committerMichael Stahl <mstahl@redhat.com>2013-05-16 13:42:57 +0000
commit0fd4d12c6233da2ac1936cd89838b006ffec5192 (patch)
tree483027e44646a4f798de27626d974a4264263ace /include
parentmake nospace edit not allow space in numbers only mode (diff)
downloadcore-0fd4d12c6233da2ac1936cd89838b006ffec5192.tar.gz
core-0fd4d12c6233da2ac1936cd89838b006ffec5192.zip
Remove code associated with psprint::CompatMetricOverride service
We don't actually have any implementations of this service. This service was introduced by commit 01cf481111436df2cc3f01d1c57cc4348fc037ef Author: Kurt Zenker <kz@openoffice.org> Date: Wed Jun 20 09:07:44 2007 +0000 INTEGRATION: CWS compmetric (1.77.2); FILE MERGED 2007/05/09 16:27:46 pl 1.77.2.2: #146890# algorithm is needed 2007/05/09 12:13:59 pl 1.77.2.1: #146890# backwards compatibility service for metrics Michael Stahl seems to think it was a Sun-internal hack introduced for a specific customer. Change-Id: I1b27778f827504c2adb0e27e8d7c0f0dedcaf940 Reviewed-on: https://gerrit.libreoffice.org/3824 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/fontmanager.hxx8
-rw-r--r--include/vcl/print.hxx2
2 files changed, 2 insertions, 8 deletions
diff --git a/include/vcl/fontmanager.hxx b/include/vcl/fontmanager.hxx
index cfddd75d55d8..2cc0ac97a3ef 100644
--- a/include/vcl/fontmanager.hxx
+++ b/include/vcl/fontmanager.hxx
@@ -284,8 +284,6 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
mutable FontCache* m_pFontCache;
- mutable std::vector< fontID > m_aOverrideFonts;
-
OString getAfmFile( PrintFont* pFont ) const;
OString getFontFile( PrintFont* pFont ) const;
@@ -343,8 +341,6 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
*/
bool addFontconfigDir(const OString& rDirectory);
- bool readOverrideMetrics();
-
std::set<OString> m_aPreviousLangSupportRequests;
std::vector<OString> m_aCurrentRequests;
Timer m_aFontInstallerTimer;
@@ -371,9 +367,9 @@ public:
// returns the ids of all managed fonts. on pParser != NULL
// all fonttype::Builtin type fonts are not listed
// which do not occur in the PPD of pParser
- void getFontList( std::list< fontID >& rFontIDs, const PPDParser* pParser = NULL, bool bUseOverrideMetrics = false );
+ void getFontList( std::list< fontID >& rFontIDs, const PPDParser* pParser = NULL );
// get the font list and fast font info. see getFontList for pParser
- void getFontListWithFastInfo( std::list< FastPrintFontInfo >& rFonts, const PPDParser* pParser = NULL, bool bUseOverrideMetrics = false );
+ void getFontListWithFastInfo( std::list< FastPrintFontInfo >& rFonts, const PPDParser* pParser = NULL );
// get font info for a specific font
bool getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const;
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index c40e8bc4ab4d..c0cb364b7307 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -357,8 +357,6 @@ public:
void SetErrorHdl( const Link& rLink ) { maErrorHdl = rLink; }
const Link& GetErrorHdl() const { return maErrorHdl; }
- void Compat_OldPrinterMetrics( bool bSet );
-
/** checks the printer list and updates it necessary
*
* sends a DataChanged event of type DATACHANGED_PRINTER