summaryrefslogtreecommitdiff
path: root/dtrans/source/cnttype/mctfentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/cnttype/mctfentry.cxx')
-rw-r--r--dtrans/source/cnttype/mctfentry.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/dtrans/source/cnttype/mctfentry.cxx b/dtrans/source/cnttype/mctfentry.cxx
index a8e68ae48d9f..87ff14bf872d 100644
--- a/dtrans/source/cnttype/mctfentry.cxx
+++ b/dtrans/source/cnttype/mctfentry.cxx
@@ -23,9 +23,9 @@
#include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp>
#include "mcnttfactory.hxx"
-//-----------------------------------------------------------------
+
// some defines
-//-----------------------------------------------------------------
+
// the service names
#define MIMECONTENTTYPEFACTORY_SERVICE_NAME "com.sun.star.datatransfer.MimeContentTypeFactory"
@@ -33,9 +33,9 @@
// the implementation names
#define MIMECONTENTTYPEFACTORY_IMPL_NAME "com.sun.star.datatransfer.MimeCntTypeFactory"
-//-----------------------------------------------------------------------------------------------------------
+
// namespace directives
-//-----------------------------------------------------------------------------------------------------------
+
using namespace ::rtl ;
using namespace ::cppu ;
@@ -44,18 +44,18 @@ using namespace ::com::sun::star::registry ;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::datatransfer;
-//-----------------------------------------------------------------
+
// create a static object to initialize the shell9x library
-//-----------------------------------------------------------------
+
namespace
{
- //-----------------------------------------------------------------------------------------------------------
+
// functions to create a new Clipboad instance; is needed by factory helper implementation
// @param rServiceManager - service manager, useful if the component needs other uno services
// so we should give it to every UNO-Implementation component
- //-----------------------------------------------------------------------------------------------------------
+
Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& )
{
@@ -65,10 +65,10 @@ namespace
extern "C"
{
-//----------------------------------------------------------------------
+
// component_getFactory
// returns a factory to create XFilePicker-Services
-//----------------------------------------------------------------------
+
SAL_DLLPUBLIC_EXPORT void* SAL_CALL mcnttype_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{