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
998eb403
Kaydet (Commit)
998eb403
authored
Haz 14, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
GetByteString unused
üst
bf8030e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
44 deletions
+0
-44
bigint.hxx
tools/inc/tools/bigint.hxx
+0
-1
bigint.cxx
tools/source/generic/bigint.cxx
+0
-43
No files found.
tools/inc/tools/bigint.hxx
Dosyayı görüntüle @
998eb403
...
...
@@ -98,7 +98,6 @@ public:
operator
sal_uIntPtr
()
const
;
void
Set
(
sal_Bool
bSet
)
{
bIsSet
=
bSet
;
}
ByteString
GetByteString
()
const
;
UniString
GetString
()
const
;
sal_Bool
IsSet
()
const
{
return
bIsSet
;
}
...
...
tools/source/generic/bigint.cxx
Dosyayı görüntüle @
998eb403
...
...
@@ -686,49 +686,6 @@ BigInt::operator double() const
// -----------------------------------------------------------------------
ByteString
BigInt
::
GetByteString
()
const
{
ByteString
aString
;
if
(
!
bIsBig
)
aString
=
ByteString
::
CreateFromInt32
(
nVal
);
else
{
BigInt
aTmp
(
*
this
);
BigInt
a1000000000
(
1000000000L
);
aTmp
.
Abs
();
do
{
BigInt
a
=
aTmp
;
a
%=
a1000000000
;
aTmp
/=
a1000000000
;
ByteString
aStr
=
aString
;
if
(
a
.
nVal
<
100000000L
)
{
// leading 0s
aString
=
ByteString
::
CreateFromInt32
(
a
.
nVal
+
1000000000L
);
aString
.
Erase
(
0
,
1
);
}
else
aString
=
ByteString
::
CreateFromInt32
(
a
.
nVal
);
aString
+=
aStr
;
}
while
(
aTmp
.
bIsBig
);
ByteString
aStr
=
aString
;
if
(
bIsNeg
)
aString
=
ByteString
::
CreateFromInt32
(
-
aTmp
.
nVal
);
else
aString
=
ByteString
::
CreateFromInt32
(
aTmp
.
nVal
);
aString
+=
aStr
;
}
return
aString
;
}
// -----------------------------------------------------------------------
UniString
BigInt
::
GetString
()
const
{
UniString
aString
;
...
...
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