summaryrefslogtreecommitdiff
path: root/include/cui/dlgname.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/cui/dlgname.hxx')
-rw-r--r--include/cui/dlgname.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cui/dlgname.hxx b/include/cui/dlgname.hxx
index 16938734ff97..9eb388caa078 100644
--- a/include/cui/dlgname.hxx
+++ b/include/cui/dlgname.hxx
@@ -60,7 +60,7 @@ public:
{
m_aCheckNameHdl = rLink;
if (bCheckImmediately)
- m_xBtnOK->set_sensitive(rLink.Call(*this));
+ ModifyHdl(*m_xEdtName);
}
void SetCheckNameTooltipHdl(const Link<SvxNameDialog&, OUString>& rLink)