diff options
Diffstat (limited to 'cppuhelper/test/bootstrap')
-rw-r--r-- | cppuhelper/test/bootstrap/TestEnv.cxx | 12 | ||||
-rw-r--r-- | cppuhelper/test/bootstrap/bootstrap.test.cxx | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/cppuhelper/test/bootstrap/TestEnv.cxx b/cppuhelper/test/bootstrap/TestEnv.cxx index 8c3dc010b71a..0a08b54bd559 100644 --- a/cppuhelper/test/bootstrap/TestEnv.cxx +++ b/cppuhelper/test/bootstrap/TestEnv.cxx @@ -46,8 +46,8 @@ public: explicit TestEnv(); protected: - virtual void v_enter(void); - virtual void v_leave(void); + virtual void v_enter(); + virtual void v_leave(); virtual void v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam); virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list * pParam); @@ -61,9 +61,9 @@ TestEnv::TestEnv() LOG_LIFECYCLE_TestEnv_emit(fprintf(stderr, "LIFE: %s -> %p\n", "TestEnv::TestEnv(...)", this)); } -TestEnv::~TestEnv(void) +TestEnv::~TestEnv() { - LOG_LIFECYCLE_TestEnv_emit(fprintf(stderr, "LIFE: %s -> %p\n", "TestEnv::~TestEnv(void)", this)); + LOG_LIFECYCLE_TestEnv_emit(fprintf(stderr, "LIFE: %s -> %p\n", "TestEnv::~TestEnv()", this)); } @@ -81,12 +81,12 @@ void TestEnv::v_callOut_v(uno_EnvCallee * pCallee, va_list * pParam) ++ m_inCount; } -void TestEnv::v_enter(void) +void TestEnv::v_enter() { ++ m_inCount; } -void TestEnv::v_leave(void) +void TestEnv::v_leave() { -- m_inCount; } diff --git a/cppuhelper/test/bootstrap/bootstrap.test.cxx b/cppuhelper/test/bootstrap/bootstrap.test.cxx index bfb3e7520015..d4d766e54acb 100644 --- a/cppuhelper/test/bootstrap/bootstrap.test.cxx +++ b/cppuhelper/test/bootstrap/bootstrap.test.cxx @@ -144,7 +144,7 @@ static void s_test__loadSharedLibComponentFactory__purpose_purpose() s_test__loadSharedLibComponentFactory(":testenv", ":testenv"); } -static rtl::OUString s_getSDrive(void) +static rtl::OUString s_getSDrive() { rtl::OUString path;//("file://"); @@ -180,14 +180,14 @@ static void s_test__createSimpleRegistry(rtl::OUString const & clientPurpose) } } -static void s_test__createSimpleRegistry__free(void) +static void s_test__createSimpleRegistry__free() { s_comment += "\ts_test__createSimpleRegistry__free\n"; s_test__createSimpleRegistry(rtl::OUString()); } -static void s_test__createSimpleRegistry__purpose(void) +static void s_test__createSimpleRegistry__purpose() { s_comment += "\ts_test__createSimpleRegistry__purpose\n"; @@ -226,14 +226,14 @@ static void s_test__bootstrap_InitialComponentContext(rtl::OUString const & clie xComponent->dispose(); } -static void s_test__bootstrap_InitialComponentContext__free(void) +static void s_test__bootstrap_InitialComponentContext__free() { s_comment += "\ts_test__bootstrap_InitialComponentContext__free\n"; s_test__bootstrap_InitialComponentContext(rtl::OUString()); } -static void s_test__bootstrap_InitialComponentContext__purpose(void) +static void s_test__bootstrap_InitialComponentContext__purpose() { s_comment += "\ts_test__bootstrap_InitialComponentContext__purpose\n"; |