diff options
Diffstat (limited to 'fpicker/source/aqua/FPentry.cxx')
-rw-r--r-- | fpicker/source/aqua/FPentry.cxx | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/fpicker/source/aqua/FPentry.cxx b/fpicker/source/aqua/FPentry.cxx index 1df58ce346..9e08ef84fa 100644 --- a/fpicker/source/aqua/FPentry.cxx +++ b/fpicker/source/aqua/FPentry.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -25,27 +26,14 @@ * ************************************************************************/ -//---------------------------------------------- -// includes of other projects -//---------------------------------------------- - #include <cppuhelper/factory.hxx> #include <com/sun/star/container/XSet.hpp> -// #ifndef _OSL_DIAGNOSE_H_ -// #include <osl/diagnose.h> -// #endif #include "SalAquaFilePicker.hxx" #include "SalAquaFolderPicker.hxx" -// #ifndef _SV_SVAPP_HXX -// #include <vcl/svapp.hxx> -// #endif #include "FPServiceInfo.hxx" -//----------------------------------------------- -// namespace directives -//----------------------------------------------- using namespace ::rtl; using namespace ::com::sun::star::uno; @@ -56,9 +44,6 @@ using namespace ::cppu; using ::com::sun::star::ui::dialogs::XFilePicker; using ::com::sun::star::ui::dialogs::XFolderPicker; -//------------------------------------------------ -// -//------------------------------------------------ static Reference< XInterface > SAL_CALL createFileInstance( const Reference< XMultiServiceFactory >& rServiceManager ) @@ -111,7 +96,7 @@ void* SAL_CALL component_getFactory( { Sequence< OUString > aSNS( 1 ); aSNS.getArray( )[0] = - OUString::createFromAscii(FILE_PICKER_SERVICE_NAME); + OUString(RTL_CONSTASCII_USTRINGPARAM(FILE_PICKER_SERVICE_NAME)); xFactory = createSingleFactory( reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ), @@ -123,7 +108,7 @@ void* SAL_CALL component_getFactory( { Sequence< OUString > aSNS( 1 ); aSNS.getArray( )[0] = - OUString::createFromAscii(FOLDER_PICKER_SERVICE_NAME); + OUString(RTL_CONSTASCII_USTRINGPARAM(FOLDER_PICKER_SERVICE_NAME)); xFactory = createSingleFactory( reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ), @@ -143,3 +128,5 @@ void* SAL_CALL component_getFactory( } } // extern "C" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |