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
e9f28d0d
Kaydet (Commit)
e9f28d0d
authored
Eki 14, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1371215 Missing move assignment operator
Change-Id: I18732e6c7cc26c056feec0885161bffa53451a24
üst
482f6261
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
uiwriter.cxx
sw/qa/extras/uiwriter/uiwriter.cxx
+15
-11
No files found.
sw/qa/extras/uiwriter/uiwriter.cxx
Dosyayı görüntüle @
e9f28d0d
...
...
@@ -707,22 +707,26 @@ void SwUiWriterTest::testFdo74981()
SwInputField
aField
(
static_cast
<
SwInputFieldType
*>
(
pWrtShell
->
GetFieldType
(
0
,
RES_INPUTFLD
)),
OUString
(
"foo"
),
OUString
(
"bar"
),
0
,
0
);
pWrtShell
->
Insert
(
aField
);
// expect hints
SwNodeIndex
aIdx
(
pDoc
->
GetNodes
().
GetEndOfContent
(),
-
1
);
SwTextNode
*
pTextNode
=
aIdx
.
GetNode
().
GetTextNode
();
CPPUNIT_ASSERT
(
pTextNode
->
HasHints
());
{
// expect hints
SwNodeIndex
aIdx
(
pDoc
->
GetNodes
().
GetEndOfContent
(),
-
1
);
SwTextNode
*
pTextNode
=
aIdx
.
GetNode
().
GetTextNode
();
CPPUNIT_ASSERT
(
pTextNode
->
HasHints
());
}
// go to the begin of the paragraph and split this node
pWrtShell
->
Left
(
CRSR_SKIP_CHARS
,
false
,
100
,
false
);
pWrtShell
->
SplitNode
();
// expect only the second paragraph to have hints
aIdx
=
SwNodeIndex
(
pDoc
->
GetNodes
().
GetEndOfContent
(),
-
1
);
pTextNode
=
aIdx
.
GetNode
().
GetTextNode
();
CPPUNIT_ASSERT
(
pTextNode
->
HasHints
());
--
aIdx
;
pTextNode
=
aIdx
.
GetNode
().
GetTextNode
();
CPPUNIT_ASSERT
(
!
pTextNode
->
HasHints
());
{
// expect only the second paragraph to have hints
SwNodeIndex
aIdx
(
SwNodeIndex
(
pDoc
->
GetNodes
().
GetEndOfContent
(),
-
1
));
SwTextNode
*
pTextNode
=
aIdx
.
GetNode
().
GetTextNode
();
CPPUNIT_ASSERT
(
pTextNode
->
HasHints
());
--
aIdx
;
pTextNode
=
aIdx
.
GetNode
().
GetTextNode
();
CPPUNIT_ASSERT
(
!
pTextNode
->
HasHints
());
}
}
void
SwUiWriterTest
::
testTdf98512
()
...
...
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