[Libreoffice-commits] core.git: store/source

Stephan Bergmann sbergman at redhat.com
Tue Jun 12 09:29:26 UTC 2018


 store/source/storbios.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit a69de8695755f4ae4d12358acb40c7cffcf1b84e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jun 12 09:22:25 2018 +0200

    Remove redundant reinterpret_cast
    
    Change-Id: I10c95f0c7dd3db680b54cb8d636570cfc1298b37
    Reviewed-on: https://gerrit.libreoffice.org/55661
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx
index 1a34da60d420..fa76b5cc345d 100644
--- a/store/source/storbios.cxx
+++ b/store/source/storbios.cxx
@@ -460,7 +460,6 @@ protected:
  * OStorePageBIOS::AceCache implementation.
  *
  *======================================================================*/
-extern "C"  typedef  int (* ace_constructor_type)(void*,void*);
 
 OStorePageBIOS::AceCache &
 OStorePageBIOS::AceCache::get()
@@ -475,7 +474,7 @@ OStorePageBIOS::AceCache::AceCache()
     "store_ace_cache",
     sizeof (OStorePageBIOS::Ace),
     0, // objalign
-   reinterpret_cast<ace_constructor_type>( OStorePageBIOS::Ace::constructor),
+    OStorePageBIOS::Ace::constructor,
     nullptr, // destructor,
     nullptr, // reclaim,
     nullptr, // userarg,


More information about the Libreoffice-commits mailing list