@@ -125,118 +125,95 @@ class ElementAdapter {
125125 const DocumentPath &path) const = 0 ;
126126
127127 [[nodiscard]] virtual const TextRootAdapter *
128- text_root_adapter (ElementIdentifier element_id) const {
129- (void )element_id;
128+ text_root_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
130129 return nullptr ;
131130 }
132131 [[nodiscard]] virtual const SlideAdapter *
133- slide_adapter (ElementIdentifier element_id) const {
134- (void )element_id;
132+ slide_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
135133 return nullptr ;
136134 }
137135 [[nodiscard]] virtual const PageAdapter *
138- page_adapter (ElementIdentifier element_id) const {
139- (void )element_id;
136+ page_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
140137 return nullptr ;
141138 }
142139 [[nodiscard]] virtual const SheetAdapter *
143- sheet_adapter (ElementIdentifier element_id) const {
144- (void )element_id;
140+ sheet_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
145141 return nullptr ;
146142 }
147- [[nodiscard]] virtual const SheetCellAdapter *
148- sheet_cell_adapter (ElementIdentifier element_id) const {
149- (void )element_id;
143+ [[nodiscard]] virtual const SheetCellAdapter *sheet_cell_adapter (
144+ [[maybe_unused]] const ElementIdentifier element_id) const {
150145 return nullptr ;
151146 }
152- [[nodiscard]] virtual const MasterPageAdapter *
153- master_page_adapter (ElementIdentifier element_id) const {
154- (void )element_id;
147+ [[nodiscard]] virtual const MasterPageAdapter *master_page_adapter (
148+ [[maybe_unused]] const ElementIdentifier element_id) const {
155149 return nullptr ;
156150 }
157- [[nodiscard]] virtual const LineBreakAdapter *
158- line_break_adapter (ElementIdentifier element_id) const {
159- (void )element_id;
151+ [[nodiscard]] virtual const LineBreakAdapter *line_break_adapter (
152+ [[maybe_unused]] const ElementIdentifier element_id) const {
160153 return nullptr ;
161154 }
162155 [[nodiscard]] virtual const ParagraphAdapter *
163- paragraph_adapter (ElementIdentifier element_id) const {
164- (void )element_id;
156+ paragraph_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
165157 return nullptr ;
166158 }
167159 [[nodiscard]] virtual const SpanAdapter *
168- span_adapter (ElementIdentifier element_id) const {
169- (void )element_id;
160+ span_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
170161 return nullptr ;
171162 }
172163 [[nodiscard]] virtual const TextAdapter *
173- text_adapter (ElementIdentifier element_id) const {
174- (void )element_id;
164+ text_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
175165 return nullptr ;
176166 }
177167 [[nodiscard]] virtual const LinkAdapter *
178- link_adapter (ElementIdentifier element_id) const {
179- (void )element_id;
168+ link_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
180169 return nullptr ;
181170 }
182171 [[nodiscard]] virtual const BookmarkAdapter *
183- bookmark_adapter (ElementIdentifier element_id) const {
184- (void )element_id;
172+ bookmark_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
185173 return nullptr ;
186174 }
187175 [[nodiscard]] virtual const ListItemAdapter *
188- list_item_adapter (ElementIdentifier element_id) const {
189- (void )element_id;
176+ list_item_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
190177 return nullptr ;
191178 }
192179 [[nodiscard]] virtual const TableAdapter *
193- table_adapter (ElementIdentifier element_id) const {
194- (void )element_id;
180+ table_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
195181 return nullptr ;
196182 }
197- [[nodiscard]] virtual const TableColumnAdapter *
198- table_column_adapter (ElementIdentifier element_id) const {
199- (void )element_id;
183+ [[nodiscard]] virtual const TableColumnAdapter *table_column_adapter (
184+ [[maybe_unused]] const ElementIdentifier element_id) const {
200185 return nullptr ;
201186 }
202187 [[nodiscard]] virtual const TableRowAdapter *
203- table_row_adapter (ElementIdentifier element_id) const {
204- (void )element_id;
188+ table_row_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
205189 return nullptr ;
206190 }
207- [[nodiscard]] virtual const TableCellAdapter *
208- table_cell_adapter (ElementIdentifier element_id) const {
209- (void )element_id;
191+ [[nodiscard]] virtual const TableCellAdapter *table_cell_adapter (
192+ [[maybe_unused]] const ElementIdentifier element_id) const {
210193 return nullptr ;
211194 }
212195 [[nodiscard]] virtual const FrameAdapter *
213- frame_adapter (ElementIdentifier element_id) const {
214- (void )element_id;
196+ frame_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
215197 return nullptr ;
216198 }
217199 [[nodiscard]] virtual const RectAdapter *
218- rect_adapter (ElementIdentifier element_id) const {
219- (void )element_id;
200+ rect_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
220201 return nullptr ;
221202 }
222203 [[nodiscard]] virtual const LineAdapter *
223- line_adapter (ElementIdentifier element_id) const {
224- (void )element_id;
204+ line_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
225205 return nullptr ;
226206 }
227207 [[nodiscard]] virtual const CircleAdapter *
228- circle_adapter (ElementIdentifier element_id) const {
229- (void )element_id;
208+ circle_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
230209 return nullptr ;
231210 }
232- [[nodiscard]] virtual const CustomShapeAdapter *
233- custom_shape_adapter (ElementIdentifier element_id) const {
234- (void )element_id;
211+ [[nodiscard]] virtual const CustomShapeAdapter *custom_shape_adapter (
212+ [[maybe_unused]] const ElementIdentifier element_id) const {
235213 return nullptr ;
236214 }
237215 [[nodiscard]] virtual const ImageAdapter *
238- image_adapter (ElementIdentifier element_id) const {
239- (void )element_id;
216+ image_adapter ([[maybe_unused]] const ElementIdentifier element_id) const {
240217 return nullptr ;
241218 }
242219};
0 commit comments