diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-12 14:30:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-12 14:30:49 +0200 |
commit | 3c446cd05f5d959d2b7dd5030b5a587e655deccf (patch) | |
tree | 33d46d2bf1f8ffb70f2806034ee60fec6e4e17a8 /sc | |
parent | f3695bbc17a547b547876dd1175c0b74e5b3e90e (diff) |
false warning C4701: potentially uninitialized local variable
Change-Id: Idd127d949837a4b327a77217abe70f50e3633d78
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column2.cxx | 2 |
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. |