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
3de02ddb
Kaydet (Commit)
3de02ddb
authored
Mar 19, 2001
tarafından
Daniel Boelzle
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
*** empty log message ***
üst
1f63800f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
testconv.cxx
stoc/test/testconv.cxx
+18
-4
No files found.
stoc/test/testconv.cxx
Dosyayı görüntüle @
3de02ddb
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: testconv.cxx,v $
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
* last change: $Author:
jl $ $Date: 2001-03-12 15:27:20
$
* last change: $Author:
dbo $ $Date: 2001-03-19 12:09:14
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -226,6 +226,16 @@ static sal_Bool convertTo( const Type & rDestType, const Any & rVal, sal_Bool bE
printf
(
" failed, but success was expected! ["
);
printf
(
aExcMsg
.
getStr
()
);
printf
(
"]
\n
"
);
#ifdef DEBUG
// for debugging, to trace again
try
{
aRet
=
s_xConverter
->
convertTo
(
rVal
,
rDestType
);
}
catch
(
Exception
&
)
{
}
#endif
return
sal_False
;
}
if
(
!
bExpectSuccess
&&
bCanConvert
)
...
...
@@ -235,10 +245,14 @@ static sal_Bool convertTo( const Type & rDestType, const Any & rVal, sal_Bool bE
printf
(
" to "
);
printValue
(
aRet
);
printf
(
" was successful, but was not expected to be!
\n
"
);
#ifdef DEBUG
// for debugging, to trace again
aRet
=
s_xConverter
->
convertTo
(
rVal
,
rDestType
);
#endif
return
sal_False
;
}
#ifdef __
MAG_MARKUS_NICHT___EXTRA_AUSGABEN
__
#ifdef __
RECONVERSION_OUTPUT
__
//= re-conversion output =
if
(
bCanConvert
)
{
...
...
@@ -456,7 +470,7 @@ static sal_Int32 initBlocks( ConvBlock * pTestBlocks )
aVal
<<=
(
sal_Int32
)(
0xffffffff
);
// is -1
pTestBlocks
[
nElems
++
]
=
ConvBlock
(
aVal
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
);
// st,do,fl,u3,i3,u1,i1,by,bo,ch,tc,si,sa
aVal
<<=
(
sal_Int32
)(
-
0x80000000
);
aVal
<<=
(
sal_Int32
)(
-
(
sal_Int32
)
0x80000000
);
pTestBlocks
[
nElems
++
]
=
ConvBlock
(
aVal
,
1
,
1
,
1
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
);
// st,do,fl,u3,i3,u1,i1,by,bo,ch,tc,si,sa
aVal
<<=
(
sal_Int32
)(
0x7fffffff
);
...
...
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