Kaydet (Commit) 0d6e3233 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

eMode may be used uninitialized in this function

Change-Id: Ic5d17c360be7f3cb3d5004327d2a6d76dce40c52
üst cb03de1c
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include "globstr.hrc" #include "globstr.hrc"
#include <cassert>
#include <iostream> #include <iostream>
namespace { namespace {
...@@ -654,7 +655,8 @@ ScFormatEntry* ScCondFrmtEntry::createConditionEntry() const ...@@ -654,7 +655,8 @@ ScFormatEntry* ScCondFrmtEntry::createConditionEntry() const
eMode = SC_COND_NOTDUPLICATE; eMode = SC_COND_NOTDUPLICATE;
break; break;
default: default:
break; assert(false); // this cannot happen
return NULL;
} }
rtl::OUString aExpr1 = maEdVal1.GetText(); rtl::OUString aExpr1 = maEdVal1.GetText();
......
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