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

coverity#1250409 Explicit null dereferenced

Change-Id: Ib32e7c9eb979b9d6ab60d81423292be5fac87a54
üst 59fc4ae4
......@@ -343,13 +343,15 @@ generateCustomMenuURL(
OUString url(CUSTOM_MENU_STR );
url += OUString::number( suffix );
if (!entries)
return url;
// now check is there is an already existing entry with this url
SvxEntries::const_iterator iter = entries->begin();
SvxConfigEntry* pEntry;
while ( iter != entries->end() )
{
pEntry = *iter;
SvxConfigEntry* pEntry = *iter;
if ( url.equals( pEntry->GetCommand() ) )
{
......
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