weld::Entry and weld::TextView are implementing the
same logic for calling a callback/handler when the
text changes.
Now that
Change-Id: I5572fc88caf577fae9a23a39f1ec4f2179935a99
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Thu Jul 9 14:04:00 2026 +0200
weld: Pass weld::TextWidget& in text change callback/handler
has prepared for that step, deduplicate the logic by
moving it to the shared weld::TextWidget base class,
which will also make sure the logic stays in sync
for both classes.
Change-Id: I69d4b85923fea05383c78f9145fee72b2bd62684
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207937
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins