From 1825ab689fca48500a8ce391e9f1c137ff09a255 Mon Sep 17 00:00:00 2001
From: Ian McInerney <ian.s.mcinerney@ieee.org>
Date: Tue, 11 Feb 2025 19:58:24 +0000
Subject: [PATCH] Remove duplicate data tag in drawing sheet format

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19931
---
 common/drawing_sheet/ds_data_model_io.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/drawing_sheet/ds_data_model_io.cpp b/common/drawing_sheet/ds_data_model_io.cpp
index e3dc1d086f..818126f318 100644
--- a/common/drawing_sheet/ds_data_model_io.cpp
+++ b/common/drawing_sheet/ds_data_model_io.cpp
@@ -421,8 +421,6 @@ void DS_DATA_MODEL_IO::format( DS_DATA_ITEM_BITMAP* aItem ) const
         m_out->Print( "(comment %s)", m_out->Quotew( aItem->m_Info ).c_str() );
 
     // Write image in png readable format
-    m_out->Print( "(data" );
-
     wxMemoryOutputStream stream;
     aItem->m_ImageBitmap->SaveImageData( stream );