summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basicbox.cxx6
-rw-r--r--basctl/source/basicide/scriptdocument.cxx6
2 files changed, 1 insertions, 11 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx
index 6af00166696e..3efa5d01a8b6 100644
--- a/basctl/source/basicide/basicbox.cxx
+++ b/basctl/source/basicide/basicbox.cxx
@@ -484,12 +484,6 @@ bool LanguageBox::PreNotify( NotifyEvent& rNEvt )
break;
}
}
- else if( rNEvt.GetType() == MouseNotifyEvent::GETFOCUS )
- {
- }
- else if( rNEvt.GetType() == MouseNotifyEvent::LOSEFOCUS )
- {
- }
return bDone || ListBox::PreNotify( rNEvt );
}
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 00135960566a..5dde5c181cdb 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -285,11 +285,7 @@ namespace basctl
,m_bDocumentClosed( false )
{
if ( _rxDocument.is() )
- {
- if ( impl_initDocument_nothrow( _rxDocument ) )
- {
- }
- }
+ impl_initDocument_nothrow( _rxDocument );
}
ScriptDocument::Impl::~Impl()