summaryrefslogtreecommitdiff
path: root/dtrans/source/cnttype/wbench/testcnttype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/cnttype/wbench/testcnttype.cxx')
-rw-r--r--dtrans/source/cnttype/wbench/testcnttype.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx
index 1c55c2b7f1a5..e1535fb2e81a 100644
--- a/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -32,17 +32,13 @@
#include <vector>
-
// my defines
-
#define TEST_CLIPBOARD
#define RDB_SYSPATH "d:\\projects\\src621\\dtrans\\wntmsci7\\bin\\applicat.rdb"
-
// namesapces
-
using namespace ::rtl;
using namespace ::std;
using namespace ::cppu;
@@ -51,10 +47,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
-
-//
-
-
void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr )
{
// Cast factory to XComponent
@@ -68,10 +60,6 @@ void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr )
SrvMgr.clear();
}
-
-//
-
-
sal_Bool readCntTypesFromFileIntoVector( char* fname, vector< string >& vecData )
{
FILE* fstream;
@@ -95,10 +83,6 @@ sal_Bool readCntTypesFromFileIntoVector( char* fname, vector< string >& vecData
return sal_True;
}
-
-//
-
-
sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& vecData, Reference< XMimeContentTypeFactory > cnttypeFactory )
{
FILE* fstream;
@@ -152,16 +136,13 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
return sal_True;
}
-
// main
-
int SAL_CALL main( int nArgc, char* argv[] )
{
if ( nArgc != 3 )
printf( "Start with: testcnttype input-file output-file\n" );
-
// get the global service-manager
OUString rdbName = OUString( RDB_SYSPATH );
@@ -198,10 +179,8 @@ int SAL_CALL main( int nArgc, char* argv[] )
ShutdownServiceMgr( g_xFactory );
}
-
// shutdown the service manager
-
ShutdownServiceMgr( g_xFactory );
return 0;