summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/current.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/current.hxx')
-rw-r--r--cppu/source/threadpool/current.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/cppu/source/threadpool/current.hxx b/cppu/source/threadpool/current.hxx
index ea26851ddb00..1f6ce6642738 100644
--- a/cppu/source/threadpool/current.hxx
+++ b/cppu/source/threadpool/current.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPU_SOURCE_THREADPOOL_CURRENT_HXX
-#define INCLUDED_CPPU_SOURCE_THREADPOOL_CURRENT_HXX
+#pragma once
#include <sal/config.h>
@@ -33,15 +32,16 @@ struct IdContainer
void * pCurrentContext;
_uno_ExtEnvironment * pCurrentContextEnv;
- bool bInit;
sal_Sequence * pLocalThreadId;
- sal_Int32 nRefCountOfCurrentId;
sal_Sequence * pCurrentId;
+ sal_Int32 nRefCountOfCurrentId;
+ bool bInit;
+
+ IdContainer();
+ ~IdContainer();
};
-IdContainer * getIdContainer();
+IdContainer& getIdContainer();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */