Kaydet (Commit) 3c446cd0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

false warning C4701: potentially uninitialized local variable

Change-Id: Idd127d949837a4b327a77217abe70f50e3633d78
üst f3695bbc
...@@ -1699,7 +1699,7 @@ void ScColumn::CopyCellNotesToDocument( ...@@ -1699,7 +1699,7 @@ void ScColumn::CopyCellNotesToDocument(
SCROW nRow1, SCROW nRow2, ScColumn& rDestCol, bool bCloneCaption, SCROW nRowOffsetDest ) const SCROW nRow1, SCROW nRow2, ScColumn& rDestCol, bool bCloneCaption, SCROW nRowOffsetDest ) const
{ {
ScDrawLayer *pDrawLayer = rDestCol.GetDoc().GetDrawLayer(); ScDrawLayer *pDrawLayer = rDestCol.GetDoc().GetDrawLayer();
bool bWasLocked; bool bWasLocked = bool();
if (pDrawLayer) if (pDrawLayer)
{ {
// Avoid O(n^2) by temporary locking SdrModel which disables broadcasting. // Avoid O(n^2) by temporary locking SdrModel which disables broadcasting.
......
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