tdf#144680 mailmerge toolbar: disable all icons if no resultset

followup to my previous patch. I had played with this,
and do to poor testing or some residual effect,
I thought this wasn't necessary to disable the
movement buttons specifically. But in renewed
testing it is clear that it isn't magic that
causes the disabling at the proper time.

Change-Id: Ic57dba42d649e79bd1db2b95f8f4316e772ccaeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126628
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
index 4e68665..f5d537b 100644
--- a/sw/source/uibase/app/apphdl.cxx
+++ b/sw/source/uibase/app/apphdl.cxx
@@ -822,6 +822,10 @@ void SwModule::ExecOther(SfxRequest& rReq)
                rBindings.Invalidate(FN_MAILMERGE_SAVE_DOCUMENTS);
                rBindings.Invalidate(FN_MAILMERGE_PRINT_DOCUMENTS);
                rBindings.Invalidate(FN_MAILMERGE_EMAIL_DOCUMENTS);
                rBindings.Invalidate(FN_MAILMERGE_FIRST_ENTRY);
                rBindings.Invalidate(FN_MAILMERGE_PREV_ENTRY);
                rBindings.Invalidate(FN_MAILMERGE_NEXT_ENTRY);
                rBindings.Invalidate(FN_MAILMERGE_LAST_ENTRY);
                rBindings.Update();
                return;
            }