Coverage Report

Created: 2026-06-30 11:14

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/svl/unx/source/svdde/ddedummy.cxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
 * This file is part of the LibreOffice project.
4
 *
5
 * This Source Code Form is subject to the terms of the Mozilla Public
6
 * License, v. 2.0. If a copy of the MPL was not distributed with this
7
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
 *
9
 * This file incorporates work covered by the following license notice:
10
 *
11
 *   Licensed to the Apache Software Foundation (ASF) under one or more
12
 *   contributor license agreements. See the NOTICE file distributed
13
 *   with this work for additional information regarding copyright
14
 *   ownership. The ASF licenses this file to you under the Apache
15
 *   License, Version 2.0 (the "License"); you may not use this file
16
 *   except in compliance with the License. You may obtain a copy of
17
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
 */
19
20
#include <svl/svdde.hxx>
21
#include <tools/long.hxx>
22
23
struct Conversation
24
{
25
};
26
27
struct DdeDataImp
28
{
29
};
30
31
DdeData::DdeData()
32
0
{
33
0
}
34
35
DdeData::DdeData( SAL_UNUSED_PARAMETER const OUString& )
36
0
{
37
0
}
38
39
DdeData::DdeData(const DdeData&)
40
0
{
41
0
}
42
43
DdeData::DdeData(DdeData&&) noexcept
44
0
{
45
0
}
46
47
DdeData::DdeData( const void*, tools::Long, SotClipboardFormatId)
48
0
{
49
0
}
50
51
DdeData::~DdeData()
52
0
{
53
0
}
54
55
void DdeData::SetFormat( SAL_UNUSED_PARAMETER SotClipboardFormatId )
56
0
{
57
0
}
58
59
SotClipboardFormatId DdeData::GetFormat() const
60
0
{
61
0
    return SotClipboardFormatId::NONE;
62
0
}
63
64
DdeData& DdeData::operator=(const DdeData&)
65
0
{
66
0
    return *this;
67
0
}
68
69
DdeData& DdeData::operator=(DdeData&&) noexcept
70
0
{
71
0
    return *this;
72
0
}
73
74
tools::Long DdeData::getSize() const
75
0
{
76
0
    return 0;
77
0
}
78
79
void const * DdeData::getData() const
80
0
{
81
0
  return nullptr;
82
0
}
83
84
struct DdeImp {};
85
86
tools::Long DdeConnection::GetError() const
87
0
{
88
0
    return 0;
89
0
}
90
91
DdeConnection::DdeConnection( SAL_UNUSED_PARAMETER const OUString&, SAL_UNUSED_PARAMETER const OUString& )
92
0
    : pService(nullptr)
93
0
    , pTopic(nullptr)
94
0
{
95
0
}
96
97
DdeConnection::~DdeConnection()
98
0
{
99
0
}
100
101
OUString DdeConnection::GetServiceName() const
102
0
{
103
0
    return OUString();
104
0
}
105
106
OUString DdeConnection::GetTopicName() const
107
0
{
108
0
    return OUString();
109
0
}
110
111
DdeTransaction::DdeTransaction( DdeConnection& rConnection, SAL_UNUSED_PARAMETER const OUString&, tools::Long )
112
0
    : rDde(rConnection)
113
0
    , pName(nullptr)
114
0
    , nType(0)
115
0
    , nId(0)
116
0
    , nTime(0)
117
0
    , bBusy(false)
118
0
{
119
0
}
120
121
void DdeTransaction::Execute()
122
0
{
123
0
}
124
125
void DdeTransaction::Done( SAL_UNUSED_PARAMETER bool )
126
0
{
127
0
}
128
129
void DdeTransaction::Data( SAL_UNUSED_PARAMETER const DdeData* )
130
0
{
131
0
}
132
133
DdeTransaction::~DdeTransaction()
134
0
{
135
0
}
136
137
DdeRequest::DdeRequest( DdeConnection& rConnection, const OUString& rString, tools::Long lLong )
138
0
    : DdeTransaction( rConnection, rString, lLong )
139
0
{
140
0
}
141
142
DdeExecute::DdeExecute( DdeConnection& rConnection, const OUString& rString, tools::Long lLong )
143
0
    : DdeTransaction( rConnection, rString, lLong )
144
0
{
145
0
}
146
147
DdePoke::DdePoke( DdeConnection& rConnection, const OUString& rString, const DdeData&, tools::Long lLong )
148
0
    : DdeTransaction( rConnection, rString, lLong )
149
0
{
150
0
}
151
152
153
DdeTopic::DdeTopic( SAL_UNUSED_PARAMETER const OUString& )
154
0
    : pName(nullptr)
155
0
{
156
0
}
157
158
DdeTopic::~DdeTopic()
159
0
{
160
0
}
161
162
void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* )
163
0
{
164
0
}
165
166
DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem )
167
0
{
168
0
    return const_cast<DdeItem*>(&rDdeItem);
169
0
}
170
171
void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER const DdeItem& )
172
0
{
173
0
}
174
175
DdeData* DdeTopic::Get(SAL_UNUSED_PARAMETER SotClipboardFormatId)
176
0
{
177
0
    return nullptr;
178
0
}
179
180
bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER const OUString& )
181
0
{
182
0
    return false;
183
0
}
184
185
bool DdeTopic::StartAdviseLoop()
186
0
{
187
0
    return false;
188
0
}
189
190
bool DdeTopic::Execute( SAL_UNUSED_PARAMETER const OUString* )
191
0
{
192
0
    return false;
193
0
}
194
195
bool DdeTopic::Put( SAL_UNUSED_PARAMETER const DdeData* )
196
0
{
197
0
    return false;
198
0
}
199
200
OUString DdeTopic::GetName() const
201
0
{
202
0
    return OUString();
203
0
}
204
205
DdeService::DdeService( SAL_UNUSED_PARAMETER const OUString& )
206
0
    : pSysTopic(nullptr)
207
0
    , pName(nullptr)
208
0
    , nStatus(0)
209
0
{
210
0
}
211
212
OUString DdeService::Topics()
213
0
{
214
0
    return OUString();
215
0
}
216
217
0
OUString DdeService::Formats() {
218
0
    return OUString();
219
0
}
220
221
OUString DdeService::SysItems()
222
0
{
223
0
    return OUString();
224
0
}
225
226
OUString DdeService::Status()
227
0
{
228
0
    return OUString();
229
0
}
230
231
DdeService::~DdeService()
232
0
{
233
0
}
234
235
void DdeService::AddFormat(SAL_UNUSED_PARAMETER SotClipboardFormatId)
236
0
{
237
0
}
238
239
void DdeService::AddTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
240
0
{
241
0
}
242
243
void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
244
0
{
245
0
}
246
247
OUString DdeService::GetName() const
248
0
{
249
0
    return OUString();
250
0
}
251
252
DdeServices& DdeService::GetServices()
253
0
{
254
0
    static DdeServices SINGLETON;
255
0
    return SINGLETON;
256
0
}
257
258
DdeItem::DdeItem( SAL_UNUSED_PARAMETER const OUString& )
259
0
    : pName(nullptr)
260
0
    , pMyTopic(nullptr)
261
0
    , pImpData(nullptr)
262
0
    , nType(0)
263
0
{
264
0
}
265
266
DdeItem::DdeItem( const DdeItem& )
267
0
    : pName(nullptr)
268
0
    , pMyTopic(nullptr)
269
0
    , pImpData(nullptr)
270
0
    , nType(0)
271
0
{
272
0
}
273
274
DdeItem::~DdeItem()
275
0
{
276
0
}
277
278
void DdeItem::NotifyClient()
279
0
{
280
0
}
281
282
DdeGetPutItem::DdeGetPutItem( const OUString& rStr )
283
0
    : DdeItem( rStr )
284
0
{
285
0
}
286
287
DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem )
288
0
    : DdeItem( rItem )
289
0
{
290
0
}
291
292
DdeData* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER SotClipboardFormatId )
293
0
{
294
0
    return nullptr;
295
0
}
296
297
bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER const DdeData* )
298
0
{
299
0
    return false;
300
0
}
301
302
void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER bool )
303
0
{
304
0
}
305
306
DdeLink::DdeLink( DdeConnection& rConnection, const OUString& rString, tools::Long l )
307
0
    : DdeTransaction( rConnection, rString, l )
308
0
{
309
0
}
310
311
DdeLink::~DdeLink()
312
{
313
}
314
315
void DdeLink::Notify()
316
0
{
317
0
}
318
319
DdeHotLink::DdeHotLink( DdeConnection& rConnection, const OUString& rString )
320
0
    : DdeLink( rConnection, rString, 0 )
321
0
{
322
0
}
323
324
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */