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
8a8b1ae3
Kaydet (Commit)
8a8b1ae3
authored
Haz 14, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more toInt32 clean up
Change-Id: I4f7911cb283d67e7c7b883d629b39588e96f32c2
üst
5a0781a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
PropertyHelper.cxx
chart2/source/tools/PropertyHelper.cxx
+1
-1
lwpfribmark.cxx
lotuswordpro/source/filter/lwpfribmark.cxx
+1
-1
mysqlc_resultset.cxx
mysqlc/source/mysqlc_resultset.cxx
+6
-6
No files found.
chart2/source/tools/PropertyHelper.cxx
Dosyayı görüntüle @
8a8b1ae3
...
...
@@ -86,7 +86,7 @@ struct lcl_OUStringRestToInt32 : public ::std::unary_function< OUString, sal_Int
{
if
(
m_nPrefixLength
>
rStr
.
getLength
()
)
return
0
;
return
rStr
.
copy
(
m_nPrefixLength
).
toInt32
(
10
/* radix */
);
return
rStr
.
copy
(
m_nPrefixLength
).
toInt32
();
}
private
:
sal_Int32
m_nPrefixLength
;
...
...
lotuswordpro/source/filter/lwpfribmark.cxx
Dosyayı görüntüle @
8a8b1ae3
...
...
@@ -318,7 +318,7 @@ void LwpFribField::XFConvert(XFContentContainer* pXFPara)
XFEntry
*
pEntry
=
new
XFEntry
;
pEntry
->
SetEntryType
(
enumXFEntryTOC
);
pEntry
->
SetStringValue
(
sText
);
pEntry
->
SetOutlineLevel
(
sLevel
.
toInt32
(
10
));
pEntry
->
SetOutlineLevel
(
sLevel
.
toInt32
());
pXFPara
->
Add
(
pEntry
);
}
}
...
...
mysqlc/source/mysqlc_resultset.cxx
Dosyayı görüntüle @
8a8b1ae3
...
...
@@ -291,13 +291,13 @@ Date SAL_CALL OResultSet::getDate(sal_Int32 column)
token
=
dateString
.
getToken
(
0
,
'-'
,
nIndex
);
switch
(
i
)
{
case
0
:
d
.
Year
=
static_cast
<
sal_uInt16
>
(
token
.
to
Int32
(
10
));
d
.
Year
=
static_cast
<
sal_uInt16
>
(
token
.
to
UInt32
(
));
break
;
case
1
:
d
.
Month
=
static_cast
<
sal_uInt16
>
(
token
.
to
Int32
(
10
));
d
.
Month
=
static_cast
<
sal_uInt16
>
(
token
.
to
UInt32
(
));
break
;
case
2
:
d
.
Day
=
static_cast
<
sal_uInt16
>
(
token
.
to
Int32
(
10
));
d
.
Day
=
static_cast
<
sal_uInt16
>
(
token
.
to
UInt32
(
));
break
;
default
:
;
}
...
...
@@ -566,13 +566,13 @@ Time SAL_CALL OResultSet::getTime(sal_Int32 column)
token
=
timeString
.
getToken
(
0
,
':'
,
nIndex
);
switch
(
i
)
{
case
0
:
t
.
Hours
=
static_cast
<
sal_uInt16
>
(
token
.
to
Int32
(
10
));
t
.
Hours
=
static_cast
<
sal_uInt16
>
(
token
.
to
UInt32
(
));
break
;
case
1
:
t
.
Minutes
=
static_cast
<
sal_uInt16
>
(
token
.
to
Int32
(
10
));
t
.
Minutes
=
static_cast
<
sal_uInt16
>
(
token
.
to
UInt32
(
));
break
;
case
2
:
t
.
Seconds
=
static_cast
<
sal_uInt16
>
(
token
.
to
Int32
(
10
));
t
.
Seconds
=
static_cast
<
sal_uInt16
>
(
token
.
to
UInt32
(
));
break
;
}
i
++
;
...
...
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