Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3925b8ac
Kaydet (Commit)
3925b8ac
authored
Mar 20, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix various loplugin warnings
Change-Id: I1c8734ad157a0570ab7829e4d0990c806918d2b1
üst
a8445614
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
uwriter.cxx
sw/qa/core/uwriter.cxx
+5
-3
No files found.
sw/qa/core/uwriter.cxx
Dosyayı görüntüle @
3925b8ac
...
@@ -1392,15 +1392,16 @@ namespace
...
@@ -1392,15 +1392,16 @@ namespace
{
{
struct
TestModify
:
SwModify
struct
TestModify
:
SwModify
{
{
TYPEINFO
();
TYPEINFO
_OVERRIDE
();
};
};
TYPEINIT1
(
TestModify
,
SwModify
);
TYPEINIT1
(
TestModify
,
SwModify
);
struct
TestClient
:
SwClient
struct
TestClient
:
SwClient
{
{
TYPEINFO
();
TYPEINFO
_OVERRIDE
();
int
m_nModifyCount
;
int
m_nModifyCount
;
TestClient
()
:
m_nModifyCount
(
0
)
{};
TestClient
()
:
m_nModifyCount
(
0
)
{};
virtual
void
Modify
(
const
SfxPoolItem
*
,
const
SfxPoolItem
*
)
virtual
void
Modify
(
const
SfxPoolItem
*
,
const
SfxPoolItem
*
)
SAL_OVERRIDE
{
{
ShowReg
();
ShowReg
();
++
m_nModifyCount
;
++
m_nModifyCount
;
...
@@ -1418,11 +1419,12 @@ namespace
...
@@ -1418,11 +1419,12 @@ namespace
};
};
TYPEINIT1
(
TestClient
,
SwClient
);
TYPEINIT1
(
TestClient
,
SwClient
);
struct
OtherTestClient
:
SwClient
struct
OtherTestClient
:
SwClient
{
TYPEINFO
();
};
{
TYPEINFO
_OVERRIDE
();
};
TYPEINIT1
(
OtherTestClient
,
SwClient
);
TYPEINIT1
(
OtherTestClient
,
SwClient
);
}
}
void
SwDocTest
::
testClientModify
()
void
SwDocTest
::
testClientModify
()
{
{
(
void
)
OtherTestClient
();
// avoid loplugin:unreffun
TestModify
aMod
;
TestModify
aMod
;
TestClient
aClient1
,
aClient2
;
TestClient
aClient1
,
aClient2
;
aMod
.
Add
(
&
aClient1
);
aMod
.
Add
(
&
aClient1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment