Kaydet (Commit) 2ef43902 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704787 Explicit null dereferenced

Change-Id: I8c83648f39c4e8e6aeae06e764820f7677f75288
üst 73c70f28
......@@ -213,7 +213,7 @@
#define SID_OVERWRITE (SID_SFX_START + 1634)
#define SID_RENAME (SID_SFX_START + 1653)
#define SID_PARTWIN (SID_SFX_START + 1640)
#define SID_CRASH (SID_SFX_START + 1645)
// FREE (was: SID_CRASH)
#define SID_FAIL_ON_WARNING (SID_SFX_START + 1646)
#define SID_INPUTSTREAM (SID_SFX_START + 1648)
#define SID_LOGOUT (SID_SFX_START + 1652)
......
......@@ -138,10 +138,6 @@ interface Application
ExecMethod = MiscExec_Impl ;
StateMethod = MiscState_Impl ;
]
SID_CRASH
[
ExecMethod = MiscExec_Impl ;
]
SID_UPDATE_CONFIG
[
ExecMethod = MiscExec_Impl ;
......
......@@ -1197,31 +1197,6 @@ SfxVoidItem Copy SID_COPY
]
SfxVoidItem Crash SID_CRASH
(SfxBoolItem Direct SID_CRASH)
[
/* flags: */
AutoUpdate = FALSE,
Cachable = Cachable,
FastCall = FALSE,
HasCoreId = FALSE,
HasDialog = FALSE,
ReadOnlyDoc = TRUE,
Toggle = FALSE,
Container = TRUE,
RecordAbsolute = FALSE,
RecordPerSet;
Synchron;
/* config: */
AccelConfig = FALSE,
MenuConfig = FALSE,
StatusBarConfig = FALSE,
ToolBoxConfig = FALSE,
GroupId = ;
]
SfxVoidItem CreateMacro SID_BASICIDE_CREATEMACRO
(SfxMacroInfoItem aMacroInfo SID_BASICIDE_ARG_MACROINFO)
[
......
......@@ -564,14 +564,6 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
break;
#endif
case SID_CRASH :
{
// Provoke a crash:
char * crash = 0;
*crash = 0;
break;
}
case SID_SHOW_IME_STATUS_WINDOW:
if (pAppData_Impl->m_xImeStatusWindow->canToggle())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment