summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-12 14:30:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-12 14:30:49 +0200
commit3c446cd05f5d959d2b7dd5030b5a587e655deccf (patch)
tree33d46d2bf1f8ffb70f2806034ee60fec6e4e17a8 /sc
parentf3695bbc17a547b547876dd1175c0b74e5b3e90e (diff)
false warning C4701: potentially uninitialized local variable
Change-Id: Idd127d949837a4b327a77217abe70f50e3633d78
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index f72c99ee607a..744b64d1e484 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1699,7 +1699,7 @@ void ScColumn::CopyCellNotesToDocument(
SCROW nRow1, SCROW nRow2, ScColumn& rDestCol, bool bCloneCaption, SCROW nRowOffsetDest ) const
{
ScDrawLayer *pDrawLayer = rDestCol.GetDoc().GetDrawLayer();
- bool bWasLocked;
+ bool bWasLocked = bool();
if (pDrawLayer)
{
// Avoid O(n^2) by temporary locking SdrModel which disables broadcasting.