[PATCH] fix some java deprecation warnings in qadevOOo module

Noel Grandin noel at peralex.com
Thu Jun 21 08:43:49 PDT 2012


On 2012-06-20 22:29, Michael Stahl wrote:
> On 19/06/12 16:35, Noel Grandin wrote:
>> Hi
>>
>> Since the qadevOOo module seems to require java 1.5, I updated a couple
>> of places to remove some deprecation warnings.
> thanks for fixing the annoying warnings; the Java baseline was raised to
> 1.5 already some years ago in OOo times, so feel free to use Java 1.5
> constructs in all our modules if it helps.
>
>

Perhaps you can tell me - there are some deprecated methods like this one:

    package com.sun.star.wizards.common;
    public class NumberFormatter
    {
        public static XNumberFormatter 
createNumberFormatter(XMultiServiceFactory _xMSF, XNumberFormatsSupplier 
_xNumberFormatsSupplier) throws Exception

that are used in various places, but I can't find a replacement - there 
doesn't seem to be a NumberFormatter factory class with a create method 
taking an XComponentContext parameter, like I would expect.
Any ideas?

Thanks, Noel Grandin


Disclaimer: http://www.peralex.com/disclaimer.html




More information about the LibreOffice mailing list