psprint::CompatMetricOverride - can I kill it?
Michael Stahl
mstahl at redhat.com
Mon May 6 04:40:49 PDT 2013
On 06/05/13 12:46, Noel Grandin wrote:
> Hi
>
> Looking at the code in
>
> vcl/generic/fontmanager/fontmanager.cxx
>
> at line 2877, something like this (simplified)
>
> bool PrintFontManager::readOverrideMetrics()
> {
> getProcessServiceFactory()->createInstance(
> "com.sun.star.psprint.CompatMetricOverride" ),
>
> But I do not find this service anywhere in the codebase.
>
> It appears to have been introduced in this commit:
> commit 01cf481111436df2cc3f01d1c57cc4348fc037ef
> Author: Kurt Zenker <kz at 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
>
> But the commit did not introduce the associated service.
aha... the requested interface is XMaterialHolder... that is strong hint
that some really ugly hack is taking place... i would not be surprised
if the other end of that hack was in the Sun internal repository
(StarOffice only) and this "feature" is really something we don't want
to maintain at all and was just implemented for one particular customer
back in the day or something like that.
More information about the LibreOffice
mailing list