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
2dcc6a49
Kaydet (Commit)
2dcc6a49
authored
Şub 28, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused code BigInt::GetString()
Change-Id: I0e1b1e07103b7aafd0b6691e0fcf0d2c8f612ac8
üst
f6d97d00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
45 deletions
+0
-45
bigint.hxx
include/tools/bigint.hxx
+0
-1
bigint.cxx
tools/source/generic/bigint.cxx
+0
-43
unusedcode.easy
unusedcode.easy
+0
-1
No files found.
include/tools/bigint.hxx
Dosyayı görüntüle @
2dcc6a49
...
@@ -80,7 +80,6 @@ public:
...
@@ -80,7 +80,6 @@ public:
operator
sal_uIntPtr
()
const
;
operator
sal_uIntPtr
()
const
;
void
Set
(
bool
bSet
)
{
bIsSet
=
bSet
?
sal_True
:
sal_False
;
}
void
Set
(
bool
bSet
)
{
bIsSet
=
bSet
?
sal_True
:
sal_False
;
}
OUString
GetString
()
const
;
bool
IsSet
()
const
{
return
(
bool
)
bIsSet
;
}
bool
IsSet
()
const
{
return
(
bool
)
bIsSet
;
}
bool
IsNeg
()
const
;
bool
IsNeg
()
const
;
...
...
tools/source/generic/bigint.cxx
Dosyayı görüntüle @
2dcc6a49
...
@@ -607,49 +607,6 @@ BigInt::operator double() const
...
@@ -607,49 +607,6 @@ BigInt::operator double() const
}
}
}
}
OUString
BigInt
::
GetString
()
const
{
if
(
!
bIsBig
)
{
return
OUString
::
number
(
nVal
);
}
else
{
BigInt
aTmp
(
*
this
);
BigInt
a1000000000
(
1000000000L
);
aTmp
.
Abs
();
OUStringBuffer
sBuff
(
30
);
do
{
BigInt
a
=
aTmp
;
a
%=
a1000000000
;
aTmp
/=
a1000000000
;
if
(
a
.
nVal
<
100000000L
)
{
// to get leading 0s
OUString
aStr
(
OUString
::
number
(
a
.
nVal
+
1000000000L
));
sBuff
.
insert
(
0
,
aStr
.
getStr
()
+
1
);
}
else
{
sBuff
.
insert
(
0
,
OUString
::
number
(
a
.
nVal
));
}
}
while
(
aTmp
.
bIsBig
);
if
(
bIsNeg
)
{
sBuff
.
insert
(
0
,
OUString
::
number
(
-
aTmp
.
nVal
));
}
else
{
sBuff
.
insert
(
0
,
OUString
::
number
(
aTmp
.
nVal
));
}
return
sBuff
.
makeStringAndClear
();
}
}
BigInt
&
BigInt
::
operator
=
(
const
BigInt
&
rBigInt
)
BigInt
&
BigInt
::
operator
=
(
const
BigInt
&
rBigInt
)
{
{
if
(
rBigInt
.
bIsBig
)
if
(
rBigInt
.
bIsBig
)
...
...
unusedcode.easy
Dosyayı görüntüle @
2dcc6a49
AddressWalker::pop()
AddressWalker::pop()
BigInt::BigInt(unsigned int)
BigInt::BigInt(unsigned int)
BigInt::GetString() const
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
Chart2ExportTest::testFdo74115WallGradientFill()
Chart2ExportTest::testFdo74115WallGradientFill()
ComboBox::GetMRUCount() const
ComboBox::GetMRUCount() const
...
...
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