Kaydet (Commit) daf17846 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

Remove warning "No DrawLayer available"

This warning appears very often in unit tests.
We have similiar checks all over the place and don't emit a warning either.

Change-Id: Ic1667fa51ce39e72c9a940023cc12a72458bd490
Reviewed-on: https://gerrit.libreoffice.org/50968Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 2d40c43e
......@@ -446,8 +446,6 @@ void initDataRows(
ScDrawLayer* pDrawLayer = rTab.GetDoc().GetDrawLayer();
if (pDrawLayer)
aRowDrawObjects = pDrawLayer->GetObjectsAnchoredToRange(rTab.GetTab(), nCol, nRow1, nRow2);
else
SAL_WARN("sc", "Could not retrieve anchored images, no DrawLayer available");
for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow)
{
......
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