diff options
Diffstat (limited to 'sal/rtl/rtl_process.cxx')
-rw-r--r-- | sal/rtl/rtl_process.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sal/rtl/rtl_process.cxx b/sal/rtl/rtl_process.cxx index 42c24e80074d..76963dc1376b 100644 --- a/sal/rtl/rtl_process.cxx +++ b/sal/rtl/rtl_process.cxx @@ -21,7 +21,6 @@ #include <cstring> -#include <rtl/instance.hxx> #include <rtl/process.h> #include <rtl/uuid.h> #include <sal/types.h> @@ -46,13 +45,12 @@ private: sal_uInt8 uuid_[UUID_SIZE]; }; -struct theId: public rtl::Static< Id, theId > {}; - } // end namespace void rtl_getGlobalProcessId(sal_uInt8 * pTargetUUID) { - theId::get().copy(pTargetUUID); + static Id theId; + theId.copy(pTargetUUID); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |