sc/source/core/data/column2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3c446cd05f5d959d2b7dd5030b5a587e655deccf
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Jun 12 14:30:49 2014 +0200

    false warning C4701: potentially uninitialized local variable
    
    Change-Id: Idd127d949837a4b327a77217abe70f50e3633d78

diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index f72c99e..744b64d1 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.
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to