[Libreoffice-commits] core.git: include/rtl

Luboš Luňák l.lunak at collabora.com
Wed May 30 06:07:38 UTC 2018


 include/rtl/instance.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d4d648878513b1730c970526cf7ef9e481534d06
Author: Luboš Luňák <l.lunak at collabora.com>
Date:   Wed May 30 08:06:28 2018 +0200

    fix incorrect example in rtl_Instance docs
    
    Change-Id: I1cb0c9bfca7ebcf8de96ef25554a41d52b9d7df5

diff --git a/include/rtl/instance.hxx b/include/rtl/instance.hxx
index 7ff19049f101..0f673e636f81 100644
--- a/include/rtl/instance.hxx
+++ b/include/rtl/instance.hxx
@@ -219,7 +219,7 @@ namespace {
       T * getInstance()
       {
           return rtl_Instance< T, InitInstance,
-                               ::osl::Mutex, ::osl::GetGlobalMutex,
+                               ::osl::MutexGuard, ::osl::GetGlobalMutex,
                                Data, InitData >::create(
               InitInstance(), ::osl::GetGlobalMutex(), InitData());
       }


More information about the Libreoffice-commits mailing list