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
6a018dec
Kaydet (Commit)
6a018dec
authored
Nis 20, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: MSVC2008 C2220 unsafe mix of types in operation
üst
dd1fbdd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
xdatabaserange.cxx
test/source/sheet/xdatabaserange.cxx
+12
-12
No files found.
test/source/sheet/xdatabaserange.cxx
Dosyayı görüntüle @
6a018dec
...
...
@@ -91,15 +91,15 @@ void XDatabaseRange::testGetSortDescriptor()
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsSortColumns"
)))
{
sal_Bool
bIsSortColumns
=
t
rue
;
sal_Bool
bIsSortColumns
=
sal_T
rue
;
xProp
.
Value
>>=
bIsSortColumns
;
CPPUNIT_ASSERT
(
bIsSortColumns
==
t
rue
);
CPPUNIT_ASSERT
(
bIsSortColumns
==
sal_T
rue
);
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ContainsHeader"
)))
{
sal_Bool
bContainsHeader
=
t
rue
;
sal_Bool
bContainsHeader
=
sal_T
rue
;
xProp
.
Value
>>=
bContainsHeader
;
CPPUNIT_ASSERT
(
bContainsHeader
==
t
rue
);
CPPUNIT_ASSERT
(
bContainsHeader
==
sal_T
rue
);
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"MaxFieldCount"
)))
{
...
...
@@ -114,15 +114,15 @@ void XDatabaseRange::testGetSortDescriptor()
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BindFormatsToContent"
)))
{
sal_Bool
bBindFormatsToContent
=
f
alse
;
sal_Bool
bBindFormatsToContent
=
sal_F
alse
;
xProp
.
Value
>>=
bBindFormatsToContent
;
CPPUNIT_ASSERT
(
bBindFormatsToContent
==
tru
e
);
CPPUNIT_ASSERT
(
bBindFormatsToContent
==
sal_Fals
e
);
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CopyOutputData"
)))
{
sal_Bool
bCopyOutputData
=
t
rue
;
sal_Bool
bCopyOutputData
=
sal_T
rue
;
xProp
.
Value
>>=
bCopyOutputData
;
CPPUNIT_ASSERT
(
bCopyOutputData
==
f
alse
);
CPPUNIT_ASSERT
(
bCopyOutputData
==
sal_F
alse
);
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"OutputPosition"
)))
{
...
...
@@ -130,9 +130,9 @@ void XDatabaseRange::testGetSortDescriptor()
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsUserListEnabled"
)))
{
sal_Bool
bIsUserListEnabled
=
t
rue
;
sal_Bool
bIsUserListEnabled
=
sal_T
rue
;
xProp
.
Value
>>=
bIsUserListEnabled
;
CPPUNIT_ASSERT
(
bIsUserListEnabled
==
f
alse
);
CPPUNIT_ASSERT
(
bIsUserListEnabled
==
sal_F
alse
);
}
else
if
(
xProp
.
Name
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"UserListIndex"
)))
...
...
@@ -180,7 +180,7 @@ void XDatabaseRange::testRefresh()
uno
::
Reference
<
beans
::
XPropertySet
>
xPropRow
(
xRow
,
UNO_QUERY_THROW
);
Any
aAny
=
xPropRow
->
getPropertyValue
(
aHidden
);
CPPUNIT_ASSERT
(
aAny
.
get
<
sal_Bool
>
()
==
t
rue
);
CPPUNIT_ASSERT
(
aAny
.
get
<
sal_Bool
>
()
==
sal_T
rue
);
}
xDBRange
->
refresh
();
...
...
@@ -194,7 +194,7 @@ void XDatabaseRange::testRefresh()
uno
::
Reference
<
beans
::
XPropertySet
>
xPropRow
(
xRow
,
UNO_QUERY_THROW
);
Any
aAny
=
xPropRow
->
getPropertyValue
(
aHidden
);
CPPUNIT_ASSERT
(
aAny
.
get
<
sal_Bool
>
()
==
f
alse
);
CPPUNIT_ASSERT
(
aAny
.
get
<
sal_Bool
>
()
==
sal_F
alse
);
}
...
...
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