summaryrefslogtreecommitdiff
path: root/cppu/source
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source')
-rw-r--r--cppu/source/threadpool/threadpool.cxx2
-rw-r--r--cppu/source/typelib/typelib.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx
index e22d4d1d92ab..17492c6eb2ad 100644
--- a/cppu/source/threadpool/threadpool.cxx
+++ b/cppu/source/threadpool/threadpool.cxx
@@ -397,7 +397,7 @@ uno_threadpool_create() SAL_THROW_EXTERN_C()
ThreadPoolHolder p;
if( ! g_pThreadpoolHashSet )
{
- g_pThreadpoolHashSet = new ThreadpoolHashSet();
+ g_pThreadpoolHashSet = new ThreadpoolHashSet;
p = new ThreadPool;
}
else
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index a7126b57c94a..52d1a2e09e68 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -2101,7 +2101,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_new(
if( reallyWeak( eTypeClass ) )
{
- typelib_TypeDescriptionReference * pTDR = new typelib_TypeDescriptionReference();
+ typelib_TypeDescriptionReference * pTDR = new typelib_TypeDescriptionReference;
#if OSL_DEBUG_LEVEL > 0
osl_atomic_increment( &rInit.nTypeDescriptionReferenceCount );
#endif