sfx2/source/doc/objxtor.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 281bdb5a979f0516fe7a9cd35585fd3daf4021b1 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Jun 19 14:39:59 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Jun 19 16:40:11 2023 +0200
Initialize SfxObjectShell::bRememberSignature ...introduced in 46722dbaa7795074e3c5043a76ae3f3a7782491e "tdf#155665 Adding option to remember signatures for each save", to avoid > sfx2/source/doc/objserv.cxx:1230:39: runtime error: load of value 190, which is not a valid value for type 'bool' > #0 in SfxObjectShell::ExecFile_Impl(SfxRequest&) at sfx2/source/doc/objserv.cxx:1230:39 > #1 in SfxStubSfxObjectShellExecFile_Impl(SfxShell*, SfxRequest&) at workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:220:1 > #2 in SfxShell::ExecuteSlot(SfxRequest&, SfxInterface const*) at sfx2/source/control/shell.cxx:456:9 > #3 in ScTabViewShell::ExecuteSave(SfxRequest&) at sc/source/ui/view/tabvwsha.cxx:840:34 > #4 in SfxStubScTabViewShellExecuteSave(SfxShell*, SfxRequest&) at workdir/SdiTarget/sc/sdi/scslots.hxx:1481:1 > #5 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) at sfx2/source/control/dispatch.cxx:254:9 > #6 in SfxDispatcher::Execute_(SfxShell&, SfxSlot const&, SfxRequest&, SfxCallMode) at sfx2/source/control/dispatch.cxx:753:9 > #7 in SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, SfxShell*) at sfx2/source/control/bindings.cxx:1060:22 > #8 in SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) at sfx2/source/control/unoctitm.cxx:688:53 > #9 in SfxOfficeDispatch::dispatchWithNotification(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) at sfx2/source/control/unoctitm.cxx:266:16 > #10 in framework::DispatchHelper::executeDispatch(com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> const&, com::sun::star::util::URL const&, bool, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at framework/source/services/dispatchhelper.cxx:163:30 > #11 in framework::DispatchHelper::executeDispatch(com::sun::star::uno::Reference<com::sun::star::frame::XDispatchProvider> const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at framework/source/services/dispatchhelper.cxx:120:16 > #12 in non-virtual thunk to framework::DispatchHelper::executeDispatch(com::sun::star::uno::Reference<com::sun::star::frame::XDispatchProvider> const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at framework/source/services/dispatchhelper.cxx > #13 in unotest::MacrosTest::dispatchCommand(com::sun::star::uno::Reference<com::sun::star::lang::XComponent> const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at unotest/source/cpp/macros_test.cxx:94:33 > #14 in testInvalidEntrySave::TestBody() at sc/qa/unit/tiledrendering/tiledrendering.cxx:2826:5 during CppunitTest_sc_tiledrendering Change-Id: Ie3a8453c0222cb0a2a239d6d9133a9aafe1e2870 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153265 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 397a9372089e..e46dda12580b 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -247,6 +247,7 @@ SfxObjectShell::SfxObjectShell( const SfxModelFlags i_nCreationFlags ) , bHasName(false) , bIsInGenerateThumbnail (false) , mbAvoidRecentDocs(false) + , bRememberSignature(false) { if (i_nCreationFlags & SfxModelFlags::EMBEDDED_OBJECT) eCreateMode = SfxObjectCreateMode::EMBEDDED; @@ -276,6 +277,7 @@ SfxObjectShell::SfxObjectShell(SfxObjectCreateMode eMode) , bHasName(false) , bIsInGenerateThumbnail(false) , mbAvoidRecentDocs(false) + , bRememberSignature(false) { }