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
3e993a51
Kaydet (Commit)
3e993a51
authored
Eki 07, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods: basic
Change-Id: Ic8c8c8ad4470e14d662f478f6b859cd908c9f78c
üst
8a3afbee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
sbxscan.cxx
basic/source/sbx/sbxscan.cxx
+1
-1
sbmod.hxx
include/basic/sbmod.hxx
+1
-1
sbxform.hxx
include/basic/sbxform.hxx
+9
-9
No files found.
basic/source/sbx/sbxscan.cxx
Dosyayı görüntüle @
3e993a51
...
...
@@ -860,7 +860,7 @@ void SbxValue::Format( OUString& rRes, const OUString* pFmt ) const
}
else
{
rRes
=
rAppData
.
pBasicFormater
->
BasicFormatNull
(
*
pFmt
);
rRes
=
SbxBasicFormater
::
BasicFormatNull
(
*
pFmt
);
}
}
...
...
include/basic/sbmod.hxx
Dosyayı görüntüle @
3e993a51
...
...
@@ -54,7 +54,7 @@ class BASIC_DLLPUBLIC SbModule : public SbxObject
std
::
vector
<
OUString
>
mModuleVariableNames
;
BASIC_DLLPRIVATE
void
implClearIfVarDependsOnDeletedBasic
(
SbxVariable
*
pVar
,
StarBASIC
*
pDeletedBasic
);
BASIC_DLLPRIVATE
static
void
implClearIfVarDependsOnDeletedBasic
(
SbxVariable
*
pVar
,
StarBASIC
*
pDeletedBasic
);
SbModule
(
const
SbModule
&
)
=
delete
;
SbModule
&
operator
=
(
const
SbModule
&
)
=
delete
;
...
...
include/basic/sbxform.hxx
Dosyayı görüntüle @
3e993a51
...
...
@@ -103,17 +103,17 @@ class BASIC_DLLPUBLIC SbxBasicFormater {
String containing the formatted output
*/
OUString
BasicFormat
(
double
dNumber
,
const
OUString
&
sFormatStrg
);
OUString
BasicFormatNull
(
const
OUString
&
sFormatStrg
);
static
OUString
BasicFormatNull
(
const
OUString
&
sFormatStrg
);
static
bool
isBasicFormat
(
const
OUString
&
sFormatStrg
);
private
:
BASIC_DLLPRIVATE
inline
void
ShiftString
(
OUStringBuffer
&
sStrg
,
sal_uInt16
nStartPos
);
BASIC_DLLPRIVATE
void
AppendDigit
(
OUStringBuffer
&
sStrg
,
short
nDigit
);
BASIC_DLLPRIVATE
static
inline
void
ShiftString
(
OUStringBuffer
&
sStrg
,
sal_uInt16
nStartPos
);
BASIC_DLLPRIVATE
static
void
AppendDigit
(
OUStringBuffer
&
sStrg
,
short
nDigit
);
BASIC_DLLPRIVATE
void
LeftShiftDecimalPoint
(
OUStringBuffer
&
sStrg
);
BASIC_DLLPRIVATE
void
StrRoundDigit
(
OUStringBuffer
&
sStrg
,
short
nPos
,
bool
&
bOverflow
);
BASIC_DLLPRIVATE
void
StrRoundDigit
(
OUStringBuffer
&
sStrg
,
short
nPos
);
BASIC_DLLPRIVATE
void
ParseBack
(
OUStringBuffer
&
sStrg
,
const
OUString
&
sFormatStrg
,
BASIC_DLLPRIVATE
static
void
ParseBack
(
OUStringBuffer
&
sStrg
,
const
OUString
&
sFormatStrg
,
short
nFormatPos
);
#ifdef with_sprintf_
// Methods for string conversion with sprintf():
...
...
@@ -129,11 +129,11 @@ class BASIC_DLLPUBLIC SbxBasicFormater {
bool
&
bFoundFirstDigit
);
BASIC_DLLPRIVATE
short
RoundDigit
(
double
dNumber
);
#endif
BASIC_DLLPRIVATE
OUString
GetPosFormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
OUString
GetNegFormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
OUString
Get0FormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
OUString
GetNullFormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
void
AnalyseFormatString
(
const
OUString
&
sFormatStrg
,
BASIC_DLLPRIVATE
static
OUString
GetPosFormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
static
OUString
GetNegFormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
static
OUString
Get0FormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
static
OUString
GetNullFormatString
(
const
OUString
&
sFormatStrg
,
bool
&
bFound
);
BASIC_DLLPRIVATE
static
void
AnalyseFormatString
(
const
OUString
&
sFormatStrg
,
short
&
nNoOfDigitsLeft
,
short
&
nNoOfDigitsRight
,
short
&
nNoOfOptionalDigitsLeft
,
short
&
nNoOfExponentDigits
,
...
...
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