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
21b3a9a6
Kaydet (Commit)
21b3a9a6
authored
Şub 12, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix errors with assertion macros
üst
b3776dfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xspreadsheets2.cxx
test/source/sheet/xspreadsheets2.cxx
+2
-2
No files found.
test/source/sheet/xspreadsheets2.cxx
Dosyayı görüntüle @
21b3a9a6
...
@@ -283,7 +283,7 @@ void XSpreadsheets2::testImportCellStyle()
...
@@ -283,7 +283,7 @@ void XSpreadsheets2::testImportCellStyle()
sal_Int32
aVertJustify
=
0
;
sal_Int32
aVertJustify
=
0
;
CPPUNIT_ASSERT
(
xCellStyleProp
->
getPropertyValue
(
aProperty
)
>>=
aVertJustify
);
CPPUNIT_ASSERT
(
xCellStyleProp
->
getPropertyValue
(
aProperty
)
>>=
aVertJustify
);
CPPUNIT_ASSERT_
EQUAL_MESSAGE
(
"New style: VertJustify not set"
,
aVertJustify
,
table
::
CellVertJustify_CENTER
);
CPPUNIT_ASSERT_
MESSAGE
(
"New style: VertJustify not set"
,
aVertJustify
==
table
::
CellVertJustify_CENTER
);
}
}
uno
::
Reference
<
sheet
::
XSpreadsheetDocument
>
XSpreadsheets2
::
getDoc
(
const
rtl
::
OUString
&
aFileBase
,
uno
::
Reference
<
lang
::
XComponent
>&
xComp
)
uno
::
Reference
<
sheet
::
XSpreadsheetDocument
>
XSpreadsheets2
::
getDoc
(
const
rtl
::
OUString
&
aFileBase
,
uno
::
Reference
<
lang
::
XComponent
>&
xComp
)
...
@@ -326,7 +326,7 @@ void XSpreadsheets2::importSheetToCopy()
...
@@ -326,7 +326,7 @@ void XSpreadsheets2::importSheetToCopy()
uno
::
Reference
<
sheet
::
XSpreadsheets2
>
xDestSheets
(
xDestDoc
->
getSheets
(),
UNO_QUERY_THROW
);
uno
::
Reference
<
sheet
::
XSpreadsheets2
>
xDestSheets
(
xDestDoc
->
getSheets
(),
UNO_QUERY_THROW
);
sal_Int32
nDestPos
=
0
;
sal_Int32
nDestPos
=
0
;
sal_Int32
nDestPosEffective
=
xDestSheets
->
importSheet
(
xDocument
,
aSrcSheetName
,
nDestPos
);
sal_Int32
nDestPosEffective
=
xDestSheets
->
importSheet
(
xDocument
,
aSrcSheetName
,
nDestPos
);
CPPUNIT_ASSERT_EQUAL
S
_MESSAGE
(
"Wrong sheet index"
,
nDestPosEffective
,
nDestPos
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"Wrong sheet index"
,
nDestPosEffective
,
nDestPos
);
}
}
else
else
{
{
...
...
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