fdo#46808: Slight simplifications of previous commit
Change-Id: I9e0158faa24d388176427529500f073b8b6f34bd
This commit is contained in:
@@ -31,15 +31,7 @@
|
|||||||
#include <unotools/nativenumberwrapper.hxx>
|
#include <unotools/nativenumberwrapper.hxx>
|
||||||
#include <com/sun/star/uno/Reference.hxx>
|
#include <com/sun/star/uno/Reference.hxx>
|
||||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||||
|
#include <comphelper/processfactory.hxx>
|
||||||
namespace comphelper {
|
|
||||||
|
|
||||||
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
|
|
||||||
getComponentContext(
|
|
||||||
com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >
|
|
||||||
const & factory);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
On demand instanciation and initialization of several i18n wrappers,
|
On demand instanciation and initialization of several i18n wrappers,
|
||||||
|
@@ -34,9 +34,9 @@ using namespace ::utl;
|
|||||||
TransliterationWrapper::TransliterationWrapper(
|
TransliterationWrapper::TransliterationWrapper(
|
||||||
const Reference< XComponentContext > & rxContext,
|
const Reference< XComponentContext > & rxContext,
|
||||||
sal_uInt32 nTyp )
|
sal_uInt32 nTyp )
|
||||||
: nType( nTyp ), nLanguage( 0 ), bFirstCall( sal_True )
|
: xTrans( Transliteration::create(rxContext) ), nType( nTyp ),
|
||||||
|
nLanguage( 0 ), bFirstCall( sal_True )
|
||||||
{
|
{
|
||||||
xTrans = Transliteration::create(rxContext);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user