diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:40:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:42:29 +0100 |
commit | 04683f14883f4cd64febadd71b327639f1e7edcc (patch) | |
tree | d1195eec7abc45fcf3b28776278f3856638a4a32 /svtools/source/control/urlcontrol.cxx | |
parent | 734cf8395d745db73f52fd6d625d7deb77ba6d40 (diff) |
Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
Diffstat (limited to 'svtools/source/control/urlcontrol.cxx')
-rw-r--r-- | svtools/source/control/urlcontrol.cxx | 4 |
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); |