diff options
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 1c854b9d9424..3d554b3cb816 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -778,6 +778,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) } const SfxStringItem* pFileName = rReq.GetArg<SfxStringItem>(SID_FILE_NAME); + assert(pFileName && "SID_FILE_NAME is required"); OUString aFileName = pFileName->GetValue(); OUString aReferer; |