diff options
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 1 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index f186d39785f5..42919c8a3bde 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1756,6 +1756,7 @@ void SvtCalendarBox::set_label_from_date() IMPL_LINK_NOARG(SvtCalendarBox, SelectHdl, weld::Calendar&, void) { set_label_from_date(); + m_aSelectHdl.Call(*this); } IMPL_LINK_NOARG(SvtCalendarBox, ActivateHdl, weld::Calendar&, void) diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 1bf5619b0199..60a827d172f4 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -2071,6 +2071,8 @@ OUString URLBox::GetURL() ::osl::MutexGuard aGuard( theSvtMatchContextMutex::get() ); OUString aText(m_xWidget->get_active_text()); + if (MatchesPlaceHolder(aText)) + return aPlaceHolder; // try to get the right case preserving URL from the list of URLs for(std::vector<OUString>::iterator i = pImpl->aCompletions.begin(), j = pImpl->aURLs.begin(); i != pImpl->aCompletions.end() && j != pImpl->aURLs.end(); ++i, ++j) |