• Stephan Bergmann's avatar
    Fix callback function type · f867ead1
    Stephan Bergmann yazdı
    ...that got broken with c394363c
    "loplugin:constparams in basctl", causing -fsanitize=function to complain:
    
    > sfx2/source/appl/app.cxx:452:28: runtime error: call to function basicide_handle_basic_error through pointer to incorrect function type 'long (*)(void *)'
    > basctl/source/basicide/basobj3.cxx:48: note: basicide_handle_basic_error defined here
    >     #0 0x7ff6340234aa in SfxApplication::GlobalBasicErrorHdl_Impl(SfxApplication*, StarBASIC*) sfx2/source/appl/app.cxx:452:28
    >     #1 0x7ff63401cbef in SfxApplication::LinkStubGlobalBasicErrorHdl_Impl(void*, StarBASIC*) sfx2/source/appl/app.cxx:434:1
    >     #2 0x7ff639142148 in Link<StarBASIC*, bool>::Call(StarBASIC*) const include/tools/link.hxx:84:45
    >     #3 0x7ff63911f350 in StarBASIC::RTError(ErrCode, rtl::OUString const&, int, int, int) basic/source/classes/sb.cxx:1681:37
    >     #4 0x7ff63965aafe in SbiInstance::Abort() basic/source/runtime/runtime.cxx:518:16
    >     #5 0x7ff639664363 in SbiRuntime::Step() basic/source/runtime/runtime.cxx:865:28
    >     #6 0x7ff6392ec321 in SbModule::Run(SbMethod*) basic/source/classes/sbxmod.cxx:1141:25
    [...]
    
    Change-Id: I66bd1ca720cebca4fb5fd52d86920de3fc7a604e
    Reviewed-on: https://gerrit.libreoffice.org/48142Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    f867ead1
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa/unit Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/basicide Loading commit data...
util Loading commit data...
AllLangMoTarget_basctl.mk Loading commit data...
CppunitTest_basctl_dialogs_test.mk Loading commit data...
Library_basctl.mk Loading commit data...
Makefile Loading commit data...
Module_basctl.mk Loading commit data...
README Loading commit data...
UIConfig_basicide.mk Loading commit data...