summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui')
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.cxx2
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx
index 86aba605789b..b398105e02e4 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.cxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.cxx
@@ -343,7 +343,7 @@ void SwAddressControl_Impl::Command( const CommandEvent& rCEvt )
bool SwAddressControl_Impl::PreNotify( NotifyEvent& rNEvt )
{
- if(rNEvt.GetType() == EVENT_COMMAND)
+ if(rNEvt.GetType() == MouseNotifyEvent::COMMAND)
{
const CommandEvent* pCEvt = rNEvt.GetCommandEvent();
const sal_uInt16 nCmd = pCEvt->GetCommand();
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index f96c004c1b7f..675b1e8c7b32 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -999,7 +999,7 @@ void SwAssignFieldsControl::Command( const CommandEvent& rCEvt )
bool SwAssignFieldsControl::PreNotify( NotifyEvent& rNEvt )
{
- if(rNEvt.GetType() == EVENT_COMMAND)
+ if(rNEvt.GetType() == MouseNotifyEvent::COMMAND)
{
const CommandEvent* pCEvt = rNEvt.GetCommandEvent();
const sal_uInt16 nCmd = pCEvt->GetCommand();
@@ -1286,12 +1286,12 @@ void AddressMultiLineEdit::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& rHint)
bool AddressMultiLineEdit::PreNotify( NotifyEvent& rNEvt )
{
bool nHandled = false;
- if( EVENT_KEYINPUT == rNEvt.GetType() &&
+ if( MouseNotifyEvent::KEYINPUT == rNEvt.GetType() &&
rNEvt.GetKeyEvent()->GetCharCode())
{
nHandled = true;
}
- else if(EVENT_MOUSEBUTTONDOWN == rNEvt.GetType()) {
+ else if(MouseNotifyEvent::MOUSEBUTTONDOWN == rNEvt.GetType()) {
const MouseEvent *pMEvt = rNEvt.GetMouseEvent();
if(pMEvt->GetClicks() >= 2)
nHandled = true;