Kaydet (Commit) 90f2f342 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Exit early in case the column has no cell notes to copy to destination.

Change-Id: Ifca77ccda7b2065b00ee29f29f377da599929843
üst beb2d06e
......@@ -1695,6 +1695,10 @@ public:
void ScColumn::CopyCellNotesToDocument(
SCROW nRow1, SCROW nRow2, ScColumn& rDestCol, bool bCloneCaption, SCROW nRowOffsetDest ) const
{
if (IsNotesEmptyBlock(nRow1, nRow2))
// The column has no cell notes to copy between specified rows.
return;
ScDrawLayer *pDrawLayer = rDestCol.GetDoc().GetDrawLayer();
bool bWasLocked = bool();
if (pDrawLayer)
......
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