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
61794421
Kaydet (Commit)
61794421
authored
Eyl 20, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related cid#1371287: Improve code to not depend on missing move assignment
Change-Id: I4c03ad08078e25ea7f7d754e6eaa587da7984c9d
üst
e27a0ec8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
core-test.cxx
editeng/qa/unit/core-test.cxx
+6
-10
No files found.
editeng/qa/unit/core-test.cxx
Dosyayı görüntüle @
61794421
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include "editeng/editobj.hxx"
#include "editeng/editobj.hxx"
#include "editeng/flditem.hxx"
#include "editeng/flditem.hxx"
#include "svl/srchitem.hxx"
#include "svl/srchitem.hxx"
#include "rtl/strbuf.hxx"
#include <com/sun/star/text/textfield/Type.hpp>
#include <com/sun/star/text/textfield/Type.hpp>
...
@@ -429,15 +428,12 @@ void Test::testHyperlinkSearch()
...
@@ -429,15 +428,12 @@ void Test::testHyperlinkSearch()
sal_Int32
nEnd
=
aTrickyOnes
[
n
].
mnEnd
;
sal_Int32
nEnd
=
aTrickyOnes
[
n
].
mnEnd
;
pNode
->
UnExpandPositions
(
nStart
,
nEnd
);
pNode
->
UnExpandPositions
(
nStart
,
nEnd
);
rtl
::
OStringBuffer
aBuf
;
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
aBuf
=
"bound check start is "
;
OString
(
"in row "
+
OString
::
number
(
n
)).
getStr
(),
aBuf
.
append
(
nStart
).
append
(
" but should be "
).
append
(
aTrickyOnes
[
n
].
mnNewStart
);
aTrickyOnes
[
n
].
mnNewStart
,
nStart
);
aBuf
.
append
(
" in row "
).
append
((
sal_Int32
)
n
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
CPPUNIT_ASSERT_MESSAGE
(
aBuf
.
getStr
(),
nStart
==
aTrickyOnes
[
n
].
mnNewStart
);
OString
(
"in row "
+
OString
::
number
(
n
)).
getStr
(),
aBuf
=
"bound check end is "
;
aTrickyOnes
[
n
].
mnNewEnd
,
nEnd
);
aBuf
.
append
(
nEnd
).
append
(
" but should be "
).
append
(
aTrickyOnes
[
n
].
mnNewEnd
);
aBuf
.
append
(
" in row "
).
append
((
sal_Int32
)
n
);
CPPUNIT_ASSERT_MESSAGE
(
aBuf
.
getStr
(),
nEnd
==
aTrickyOnes
[
n
].
mnNewEnd
);
}
}
SvxSearchItem
aItem
(
1
);
//SID_SEARCH_ITEM);
SvxSearchItem
aItem
(
1
);
//SID_SEARCH_ITEM);
...
...
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