• Mike Kaganski's avatar
    Add GtkImage ids · ada2b5be
    Mike Kaganski yazdı
    An assert is failing without this:
    
        ucrtbased.dll!abort() Line 61
        	at minkernel\crts\ucrt\src\appcrt\startup\abort.cpp(61)
        ucrtbased.dll!common_assert_to_stderr<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number) Line 187
        	at minkernel\crts\ucrt\src\appcrt\startup\assert.cpp(187)
        ucrtbased.dll!common_assert<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 420
        	at minkernel\crts\ucrt\src\appcrt\startup\assert.cpp(420)
        ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t * file_name, unsigned int line_number) Line 444
        	at minkernel\crts\ucrt\src\appcrt\startup\assert.cpp(444)
        vcllo.dll!VclBuilder::get<FixedImage>(const rtl::OString & sID) Line 446
        	at C:\cygwin\home\user\lode\dev\core\include\vcl\builder.hxx(446)
        vcllo.dll!VclBuilder::VclBuilder(vcl::Window * pParent, const rtl::OUString & sUIDir, const rtl::OUString & sUIFile, const rtl::OString & sID, const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & rFrame, bool bLegacy) Line 698
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\builder.cxx(698)
        vcllo.dll!SalInstanceBuilder::SalInstanceBuilder(vcl::Window * pParent, const rtl::OUString & rUIRoot, const rtl::OUString & rUIFile) Line 4995
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\salvtables.cxx(4995)
        vcllo.dll!SalInstance::CreateBuilder(weld::Widget * pParent, const rtl::OUString & rUIRoot, const rtl::OUString & rUIFile) Line 5260
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\salvtables.cxx(5260)
        vcllo.dll!Application::CreateBuilder(weld::Widget * pParent, const rtl::OUString & rUIFile) Line 146
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\builder.cxx(146)
        vcllo.dll!weld::GenericDialogController::GenericDialogController(weld::Widget * pParent, const rtl::OUString & rUIFile, const rtl::OString & rDialogId) Line 5347
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\salvtables.cxx(5347)
        sduilo.dll!SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window * pWindow, const SfxItemSet & rSet, sd::View * pView) Line 117
        	at C:\cygwin\home\user\lode\dev\core\sd\source\ui\dlg\BulletAndPositionDlg.cxx(117)
        sduilo.dll!std::make_unique<SvxBulletAndPositionDlg,weld::Window * &,SfxItemSet const &,sd::View * &,0>(weld::Window * & <_Args_0>, const SfxItemSet & <_Args_1>, sd::View * & <_Args_2>) Line 2042
        	at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\memory(2042)
        sduilo.dll!SdAbstractDialogFactory_Impl::CreateSvxBulletAndPositionDlg(weld::Window * pParent, const SfxItemSet * pAttr, sd::View * pView) Line 387
        	at C:\cygwin\home\user\lode\dev\core\sd\source\ui\dlg\sddlgfact.cxx(387)
        sdlo.dll!sd::FuBulletAndPosition::DoExecute(SfxRequest & rReq) Line 92
        	at C:\cygwin\home\user\lode\dev\core\sd\source\ui\func\fuolbull.cxx(92)
        sdlo.dll!sd::FuBulletAndPosition::Create(sd::ViewShell * pViewSh, sd::Window * pWin, sd::View * pView, SdDrawDocument * pDoc, SfxRequest & rReq) Line 57
        	at C:\cygwin\home\user\lode\dev\core\sd\source\ui\func\fuolbull.cxx(57)
        sdlo.dll!sd::DrawViewShell::FuTemporary(SfxRequest & rReq) Line 1447
        	at C:\cygwin\home\user\lode\dev\core\sd\source\ui\view\drviews2.cxx(1447)
        sdlo.dll!SfxStubDrawViewShellFuTemporary(SfxShell * pShell, SfxRequest & rReq) Line 1514
        	at C:\cygwin\home\user\lode\dev\core\workdir\SdiTarget\sd\sdi\sdslots.hxx(1514)
        sfxlo.dll!SfxShell::CallExec(void(*)(SfxShell *, SfxRequest &) pFunc, SfxRequest & rReq) Line 197
        	at C:\cygwin\home\user\lode\dev\core\include\sfx2\shell.hxx(197)
        sfxlo.dll!SfxDispatcher::Call_Impl(SfxShell & rShell, const SfxSlot & rSlot, SfxRequest & rReq, bool bRecord) Line 360
        	at C:\cygwin\home\user\lode\dev\core\sfx2\source\control\dispatch.cxx(360)
        sfxlo.dll!SfxDispatcher::Execute_(SfxShell & rShell, const SfxSlot & rSlot, SfxRequest & rReq, SfxCallMode eCallMode) Line 857
        	at C:\cygwin\home\user\lode\dev\core\sfx2\source\control\dispatch.cxx(857)
        sfxlo.dll!SfxBindings::Execute_Impl(SfxRequest & aReq, const SfxSlot * pSlot, SfxShell * pShell) Line 1066
        	at C:\cygwin\home\user\lode\dev\core\sfx2\source\control\bindings.cxx(1066)
        sfxlo.dll!SfxDispatchController_Impl::dispatch(const com::sun::star::util::URL & aURL, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & aArgs, const com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> & rListener) Line 757
        	at C:\cygwin\home\user\lode\dev\core\sfx2\source\control\unoctitm.cxx(757)
        sfxlo.dll!SfxOfficeDispatch::dispatch(const com::sun::star::util::URL & aURL, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & aArgs) Line 226
        	at C:\cygwin\home\user\lode\dev\core\sfx2\source\control\unoctitm.cxx(226)
        fwklo.dll!framework::MenuBarManager::Select(Menu * pMenu) Line 896
        	at C:\cygwin\home\user\lode\dev\core\framework\source\uielement\menubarmanager.cxx(896)
        fwklo.dll!framework::MenuBarManager::LinkStubSelect(void * instance, Menu * data) Line 832
        	at C:\cygwin\home\user\lode\dev\core\framework\source\uielement\menubarmanager.cxx(832)
        vcllo.dll!Link<Menu *,bool>::Call(Menu * data) Line 84
        	at C:\cygwin\home\user\lode\dev\core\include\tools\link.hxx(84)
        vcllo.dll!Menu::Select() Line 362
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\menu.cxx(362)
        vcllo.dll!Menu::ImplCallSelect(void * __formal) Line 2150
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\menu.cxx(2150)
        vcllo.dll!Menu::LinkStubImplCallSelect(void * instance, void * data) Line 2146
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\menu.cxx(2146)
        vcllo.dll!Link<void *,void>::Call(void * data) Line 84
        	at C:\cygwin\home\user\lode\dev\core\include\tools\link.hxx(84)
        vcllo.dll!ImplHandleUserEvent(ImplSVEvent * pSVEvent) Line 1961
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\winproc.cxx(1961)
        vcllo.dll!ImplWindowFrameProc(vcl::Window * _pWindow, SalEvent nEvent, const void * pEvent) Line 2512
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\window\winproc.cxx(2512)
        vcllo.dll!SalFrame::CallCallback(SalEvent nEvent, const void * pEvent) Line 294
        	at C:\cygwin\home\user\lode\dev\core\vcl\inc\salframe.hxx(294)
        vclplug_winlo.dll!ImplHandleUserEvent(HWND__ * hWnd, __int64 lParam) Line 4080
        	at C:\cygwin\home\user\lode\dev\core\vcl\win\window\salframe.cxx(4080)
        vclplug_winlo.dll!SalFrameWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam, bool & rDef) Line 5733
        	at C:\cygwin\home\user\lode\dev\core\vcl\win\window\salframe.cxx(5733)
        vclplug_winlo.dll!SalFrameWndProcW(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 5840
        	at C:\cygwin\home\user\lode\dev\core\vcl\win\window\salframe.cxx(5840)
        user32.dll!UserCallWinProcCheckWow()
        user32.dll!CallWindowProcW()
        opengl32.dll!wglWndProc()
        user32.dll!UserCallWinProcCheckWow()
        user32.dll!DispatchMessageWorker()
        vclplug_winlo.dll!ImplSalDispatchMessage(const tagMSG * pMsg) Line 410
        	at C:\cygwin\home\user\lode\dev\core\vcl\win\app\salinst.cxx(410)
        vclplug_winlo.dll!ImplSalYield(bool bWait, bool bHandleAllCurrentEvents) Line 441
        	at C:\cygwin\home\user\lode\dev\core\vcl\win\app\salinst.cxx(441)
        vclplug_winlo.dll!WinSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents) Line 512
        	at C:\cygwin\home\user\lode\dev\core\vcl\win\app\salinst.cxx(512)
        vcllo.dll!ImplYield(bool i_bWait, bool i_bAllEvents) Line 457
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\svapp.cxx(457)
        vcllo.dll!Application::Yield() Line 522
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\svapp.cxx(522)
        vcllo.dll!Application::Execute() Line 438
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\svapp.cxx(438)
        sofficeapp.dll!desktop::Desktop::Main() Line 1621
        	at C:\cygwin\home\user\lode\dev\core\desktop\source\app\app.cxx(1621)
        vcllo.dll!ImplSVMain() Line 203
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\svmain.cxx(203)
        vcllo.dll!SVMain() Line 238
        	at C:\cygwin\home\user\lode\dev\core\vcl\source\app\svmain.cxx(238)
        sofficeapp.dll!soffice_main() Line 170
        	at C:\cygwin\home\user\lode\dev\core\desktop\source\app\sofficemain.cxx(170)
        soffice.bin!sal_main() Line 48
        	at C:\cygwin\home\user\lode\dev\core\desktop\source\app\main.c(48)
        soffice.bin!main(int argc, char * * argv) Line 47
        	at C:\cygwin\home\user\lode\dev\core\desktop\source\app\main.c(47)
        soffice.bin!invoke_main() Line 79
        	at d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(79)
        soffice.bin!__scrt_common_main_seh() Line 288
        	at d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288)
        soffice.bin!__scrt_common_main() Line 331
        	at d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(331)
        soffice.bin!mainCRTStartup() Line 17
        	at d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp(17)
        kernel32.dll!BaseThreadInitThunk()
        ntdll.dll!RtlUserThreadStart()
    
    because the images are added with empty ids, get into the same slot of
    m_pParserState->m_aStockMap, and then in VclBuilder::VclBuilder's block
    labeled "fill in any stock icons in surviving images", get<FixedImage>
    is called with that empty id, finding another control not having an id,
    then failing dynamic_cast it to FixedImage.
    
    Change-Id: Ie2f48ea0753998e8ed6590c45a3d916339c1fc13
    Reviewed-on: https://gerrit.libreoffice.org/73531Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    ada2b5be
Adı
Son kayıt (commit)
Son güncelleme
.git-hooks Loading commit data...
UnoControls Loading commit data...
accessibility Loading commit data...
android Loading commit data...
animations Loading commit data...
apple_remote Loading commit data...
avmedia Loading commit data...
basctl Loading commit data...
basegfx Loading commit data...
basic Loading commit data...
bean Loading commit data...
bin Loading commit data...
binaryurp Loading commit data...
bridges Loading commit data...
canvas Loading commit data...
chart2 Loading commit data...
cli_ure Loading commit data...
codemaker Loading commit data...
comphelper Loading commit data...
compilerplugins Loading commit data...
config_host Loading commit data...
configmgr Loading commit data...
connectivity Loading commit data...
cppcanvas Loading commit data...
cppu Loading commit data...
cppuhelper Loading commit data...
cpputools Loading commit data...
cui Loading commit data...
dbaccess Loading commit data...
desktop Loading commit data...
dictionaries @ e1229228
distro-configs Loading commit data...
drawinglayer Loading commit data...
dtrans Loading commit data...
editeng Loading commit data...
embeddedobj Loading commit data...
embedserv Loading commit data...
emfio Loading commit data...
eventattacher Loading commit data...
extensions Loading commit data...
external Loading commit data...
extras Loading commit data...
filter Loading commit data...
forms Loading commit data...
formula Loading commit data...
fpicker Loading commit data...
framework Loading commit data...
helpcompiler Loading commit data...
helpcontent2 @ 41a83520
hwpfilter Loading commit data...
i18nlangtag Loading commit data...
i18npool Loading commit data...
i18nutil Loading commit data...
icon-themes Loading commit data...
idl Loading commit data...
idlc Loading commit data...
include Loading commit data...
instsetoo_native Loading commit data...
io Loading commit data...
ios Loading commit data...
javaunohelper Loading commit data...
jurt Loading commit data...
jvmaccess Loading commit data...
jvmfwk Loading commit data...
l10ntools Loading commit data...
librelogo Loading commit data...
libreofficekit Loading commit data...
lingucomponent Loading commit data...
linguistic Loading commit data...
lotuswordpro Loading commit data...
m4 Loading commit data...
nlpsolver Loading commit data...
o3tl Loading commit data...
odk Loading commit data...
offapi Loading commit data...
officecfg Loading commit data...
onlineupdate Loading commit data...
oovbaapi Loading commit data...
oox Loading commit data...
opencl Loading commit data...
osx Loading commit data...
package Loading commit data...
postprocess Loading commit data...
pyuno Loading commit data...
qadevOOo Loading commit data...
readlicense_oo Loading commit data...
registry Loading commit data...
remotebridges Loading commit data...
reportbuilder Loading commit data...
reportdesign Loading commit data...
ridljar Loading commit data...
sal Loading commit data...
salhelper Loading commit data...
sax Loading commit data...
sc Loading commit data...
scaddins Loading commit data...
sccomp Loading commit data...
schema Loading commit data...
scp2 Loading commit data...
scripting Loading commit data...
sd Loading commit data...
sdext Loading commit data...
setup_native Loading commit data...
sfx2 Loading commit data...
shell Loading commit data...
slideshow Loading commit data...
smoketest Loading commit data...
solenv Loading commit data...
soltools Loading commit data...
sot Loading commit data...
starmath Loading commit data...
stoc Loading commit data...
store Loading commit data...
svgio Loading commit data...
svl Loading commit data...
svtools Loading commit data...
svx Loading commit data...
sw Loading commit data...
swext Loading commit data...
sysui Loading commit data...
test Loading commit data...
testtools Loading commit data...
toolkit Loading commit data...
tools Loading commit data...
translations @ 81e9e186
ucb Loading commit data...
ucbhelper Loading commit data...
udkapi Loading commit data...
uitest Loading commit data...
unodevtools Loading commit data...
unoidl Loading commit data...
unoil Loading commit data...
unotest Loading commit data...
unotools Loading commit data...
unoxml Loading commit data...
ure Loading commit data...
uui Loading commit data...
vbahelper Loading commit data...
vcl Loading commit data...
winaccessibility Loading commit data...
wizards Loading commit data...
writerfilter Loading commit data...
writerperfect Loading commit data...
xmerge Loading commit data...
xmlhelp Loading commit data...
xmloff Loading commit data...
xmlreader Loading commit data...
xmlscript Loading commit data...
xmlsecurity Loading commit data...
.buckconfig Loading commit data...
.buckversion Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.gitreview Loading commit data...
BUCK Loading commit data...
COPYING Loading commit data...
COPYING.LGPL Loading commit data...
COPYING.MPL Loading commit data...
Library_merged.mk Loading commit data...
Makefile.fetch Loading commit data...
Makefile.gbuild Loading commit data...
Makefile.in Loading commit data...
README.Solaris Loading commit data...
README.cross Loading commit data...
README.md Loading commit data...
Repository.mk Loading commit data...
RepositoryExternal.mk Loading commit data...
RepositoryFixes.mk Loading commit data...
RepositoryModule_build.mk Loading commit data...
RepositoryModule_host.mk Loading commit data...
TEMPLATE.SOURCECODE.HEADER Loading commit data...
autogen.sh Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
config_host.mk.in Loading commit data...
config_host_lang.mk.in Loading commit data...
configure.ac Loading commit data...
download.lst Loading commit data...
g Loading commit data...
hardened_runtime.xcent Loading commit data...
install-sh Loading commit data...
leak-suppress.txt Loading commit data...
lo.xcent Loading commit data...
logerrit Loading commit data...
sanitize-ubsan-blacklist Loading commit data...
setup.cfg Loading commit data...