diff options
Diffstat (limited to 'automation/source/miniapp')
-rw-r--r-- | automation/source/miniapp/editwin.cxx | 2 | ||||
-rw-r--r-- | automation/source/miniapp/editwin.hxx | 4 | ||||
-rw-r--r-- | automation/source/miniapp/servres.cxx | 2 | ||||
-rw-r--r-- | automation/source/miniapp/servres.hrc | 2 | ||||
-rw-r--r-- | automation/source/miniapp/servres.hxx | 2 | ||||
-rw-r--r-- | automation/source/miniapp/servres.src | 2 | ||||
-rw-r--r-- | automation/source/miniapp/servuid.hxx | 2 | ||||
-rw-r--r-- | automation/source/miniapp/testapp.cxx | 62 | ||||
-rw-r--r-- | automation/source/miniapp/testapp.hxx | 12 |
9 files changed, 45 insertions, 45 deletions
diff --git a/automation/source/miniapp/editwin.cxx b/automation/source/miniapp/editwin.cxx index 5568b5152320..5cc15cf626f0 100644 --- a/automation/source/miniapp/editwin.cxx +++ b/automation/source/miniapp/editwin.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/automation/source/miniapp/editwin.hxx b/automation/source/miniapp/editwin.hxx index bf7cbfa3ca34..e93db51ebb66 100644 --- a/automation/source/miniapp/editwin.hxx +++ b/automation/source/miniapp/editwin.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,7 +37,7 @@ class GHEditWindow : public FloatingWindow protected: - MultiLineEdit aInhalt; + MultiLineEdit aInhalt; virtual BOOL Close(); // derived void Resize(); diff --git a/automation/source/miniapp/servres.cxx b/automation/source/miniapp/servres.cxx index 3cbb4bf3c80c..bd1ba6110482 100644 --- a/automation/source/miniapp/servres.cxx +++ b/automation/source/miniapp/servres.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/automation/source/miniapp/servres.hrc b/automation/source/miniapp/servres.hrc index 2f95a34a60b6..506b2ecb3025 100644 --- a/automation/source/miniapp/servres.hrc +++ b/automation/source/miniapp/servres.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/automation/source/miniapp/servres.hxx b/automation/source/miniapp/servres.hxx index c93c758ec229..21d796c5448f 100644 --- a/automation/source/miniapp/servres.hxx +++ b/automation/source/miniapp/servres.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/automation/source/miniapp/servres.src b/automation/source/miniapp/servres.src index 426be8b81532..a0516a94a1c5 100644 --- a/automation/source/miniapp/servres.src +++ b/automation/source/miniapp/servres.src @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/automation/source/miniapp/servuid.hxx b/automation/source/miniapp/servuid.hxx index 7460c097606a..362b803ea808 100644 --- a/automation/source/miniapp/servuid.hxx +++ b/automation/source/miniapp/servuid.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/automation/source/miniapp/testapp.cxx b/automation/source/miniapp/testapp.cxx index 539f4851b8e3..d6cdd79f0731 100644 --- a/automation/source/miniapp/testapp.cxx +++ b/automation/source/miniapp/testapp.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -105,9 +105,9 @@ BOOL MainWindow::Close() void MainWindow::FileExit() { -/* WriteSTBProfile();*/ +/* WriteSTBProfile();*/ -// if (pApp->CloseAll()) +// if (pApp->CloseAll()) pApp->Quit(); } @@ -153,23 +153,23 @@ void MainWindow::SysDlg() /* -#define WB_OK ((WinBits)0x0010) -#define WB_OK_CANCEL ((WinBits)0x0020) -#define WB_YES_NO ((WinBits)0x0040) -#define WB_YES_NO_CANCEL ((WinBits)0x0080) -#define WB_RETRY_CANCEL ((WinBits)0x0100) - -#define WB_DEF_OK ((WinBits)0x0200) -#define WB_DEF_CANCEL ((WinBits)0x0400) -#define WB_DEF_RETRY ((WinBits)0x0800) -#define WB_DEF_YES ((WinBits)0x1000) -#define WB_DEF_NO ((WinBits)0x2000) - -#define RET_OK TRUE -#define RET_CANCEL FALSE -#define RET_YES 2 -#define RET_NO 3 -#define RET_RETRY 4 +#define WB_OK ((WinBits)0x0010) +#define WB_OK_CANCEL ((WinBits)0x0020) +#define WB_YES_NO ((WinBits)0x0040) +#define WB_YES_NO_CANCEL ((WinBits)0x0080) +#define WB_RETRY_CANCEL ((WinBits)0x0100) + +#define WB_DEF_OK ((WinBits)0x0200) +#define WB_DEF_CANCEL ((WinBits)0x0400) +#define WB_DEF_RETRY ((WinBits)0x0800) +#define WB_DEF_YES ((WinBits)0x1000) +#define WB_DEF_NO ((WinBits)0x2000) + +#define RET_OK TRUE +#define RET_CANCEL FALSE +#define RET_YES 2 +#define RET_NO 3 +#define RET_RETRY 4 */ } @@ -188,7 +188,7 @@ void MyApp::Property( ApplicationProperty& rProp ) pTTProperties->nPropertyVersion = TT_PROPERTIES_VERSION; switch ( pTTProperties->nActualPR ) { -/* case TT_PR_SLOTS: +/* case TT_PR_SLOTS: { pTTProperties->nSidOpenUrl = SID_OPENURL; pTTProperties->nSidFileName = SID_FILE_NAME; @@ -218,7 +218,7 @@ void MyApp::Property( ApplicationProperty& rProp ) } } break; -/* case TT_PR_IMG: +/* case TT_PR_IMG: { SvDataMemberObjectRef aDataObject = new SvDataMemberObject(); SvData* pDataBmp = new SvData( FORMAT_BITMAP ); @@ -245,11 +245,11 @@ USHORT MyDispatcher::ExecuteFunction( USHORT nSID, SfxPoolItem** ppArgs, USHORT switch (nSID) { - case IDM_FILE_EXIT: pMainWin->FileExit(); break; - case IDM_FILE_OPEN_TEST: pMainWin->FileOpen(); break; - case IDM_TEST_GROSS: pMainWin->TestGross(); break; - case IDM_TEST_WINTREE: pMainWin->WinTree(); break; - case IDM_SYS_DLG: pMainWin->SysDlg(); break; + case IDM_FILE_EXIT: pMainWin->FileExit(); break; + case IDM_FILE_OPEN_TEST: pMainWin->FileOpen(); break; + case IDM_TEST_GROSS: pMainWin->TestGross(); break; + case IDM_TEST_WINTREE: pMainWin->WinTree(); break; + case IDM_SYS_DLG: pMainWin->SysDlg(); break; default: { DBG_ERROR1("Dispatcher kennt Funktion nicht %s",ByteString::CreateFromInt64(nSID).GetBuffer()); @@ -274,7 +274,7 @@ Reference< XContentProviderManager > InitializeUCB( void ) exit( 1 ); } OSL_ASSERT( path.lastIndexOf( '/' ) >= 0 ); - + ::rtl::OUStringBuffer bufServices( path.copy( 0, path.lastIndexOf( '/' )+1 ) ); bufServices.appendAscii("services.rdb"); @@ -283,8 +283,8 @@ Reference< XContentProviderManager > InitializeUCB( void ) ::rtl::OUStringBuffer bufTypes( path.copy( 0, path.lastIndexOf( '/' )+1 ) ); bufTypes.appendAscii("types.rdb"); OUString types = bufTypes.makeStringAndClear(); - - + + Reference< XMultiServiceFactory > xSMgr; try { @@ -297,7 +297,7 @@ Reference< XContentProviderManager > InitializeUCB( void ) InfoBox( NULL, String( exc.Message ) ).Execute(); throw ; } - + ////////////////////////////////////////////////////////////////////// // set global factory diff --git a/automation/source/miniapp/testapp.hxx b/automation/source/miniapp/testapp.hxx index bc06f0bd9dce..60a66d8a0607 100644 --- a/automation/source/miniapp/testapp.hxx +++ b/automation/source/miniapp/testapp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,10 +44,10 @@ #include "editwin.hxx" -#define EXECUTE_NO 0 +#define EXECUTE_NO 0 #define EXECUTE_POSSIBLE 1 #define EXECUTE_YES 2 -#define EXECUTEMODE_ASYNCHRON 1 +#define EXECUTEMODE_ASYNCHRON 1 #define EXECUTEMODE_DIALOGASYNCHRON 2 @@ -81,7 +81,7 @@ public: virtual void SetExecuteMode( USHORT nMode ) { (void) nMode; /* avoid warning about unused parameter */ - }; // Ist hier sowieso egal + }; // Ist hier sowieso egal }; class MyApp : public Application @@ -94,8 +94,8 @@ public: MyApp(); void Main(); - virtual void Property( ApplicationProperty& ); - virtual PlugInDispatcher* GetDispatcher(); + virtual void Property( ApplicationProperty& ); + virtual PlugInDispatcher* GetDispatcher(); MainWindow *pMainWin; }; |