summaryrefslogtreecommitdiff
path: root/svtools/source/control/urlcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/urlcontrol.cxx')
-rw-r--r--svtools/source/control/urlcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/urlcontrol.cxx b/svtools/source/control/urlcontrol.cxx
index ee62f1b49255..85765000ce4a 100644
--- a/svtools/source/control/urlcontrol.cxx
+++ b/svtools/source/control/urlcontrol.cxx
@@ -49,14 +49,14 @@ namespace svt
}
//---------------------------------------------------------------------
- long OFileURLControl::Notify( NotifyEvent& _rNEvt )
+ bool OFileURLControl::Notify( NotifyEvent& _rNEvt )
{
if (GetSubEdit() == _rNEvt.GetWindow())
if (EVENT_KEYINPUT == _rNEvt.GetType())
if (KEY_RETURN == _rNEvt.GetKeyEvent()->GetKeyCode().GetCode())
if (IsInDropDown())
{
- long nReturn = SvtURLBox::Notify(_rNEvt);
+ bool nReturn = SvtURLBox::Notify(_rNEvt);
// build a system dependent (thus more user readable) file name
OFileNotation aTransformer(m_sPreservedText, OFileNotation::N_URL);