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
3b94a463
Kaydet (Commit)
3b94a463
authored
Şub 08, 2017
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
The string "###" can be written as such, no need for a Special Const Variable
Change-Id: Ib9737acc8e0a9845fc03ed2c7de7969cef41f27c
üst
4df2bc90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
SpecialUnicodes.hxx
chart2/inc/SpecialUnicodes.hxx
+0
-1
MeanValueRegressionCurveCalculator.cxx
chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
+1
-2
RegressionCurveCalculator.cxx
chart2/source/tools/RegressionCurveCalculator.cxx
+1
-3
No files found.
chart2/inc/SpecialUnicodes.hxx
Dosyayı görüntüle @
3b94a463
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
#define INCLUDED_CHART2_INC_SPECIALUNICODES_HXX
#define INCLUDED_CHART2_INC_SPECIALUNICODES_HXX
const
sal_Unicode
aMinusSign
=
0x2212
;
const
sal_Unicode
aMinusSign
=
0x2212
;
const
OUString
aHashString
(
"###"
);
const
sal_Unicode
aSuperscriptFigures
[
10
]
=
{
0x2070
,
0x00B9
,
0x00B2
,
0x00B3
,
0x2074
,
0x2075
,
0x2076
,
0x2077
,
0x2078
,
0x2079
};
const
sal_Unicode
aSuperscriptFigures
[
10
]
=
{
0x2070
,
0x00B9
,
0x00B2
,
0x00B3
,
0x2074
,
0x2075
,
0x2076
,
0x2077
,
0x2078
,
0x2079
};
#endif
#endif
...
...
chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
Dosyayı görüntüle @
3b94a463
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include <osl/diagnose.h>
#include <osl/diagnose.h>
#include <rtl/math.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <SpecialUnicodes.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
...
@@ -121,7 +120,7 @@ OUString MeanValueRegressionCurveCalculator::ImplGetRepresentation(
...
@@ -121,7 +120,7 @@ OUString MeanValueRegressionCurveCalculator::ImplGetRepresentation(
{
{
*
pFormulaLength
-=
aBuf
.
getLength
();
*
pFormulaLength
-=
aBuf
.
getLength
();
if
(
*
pFormulaLength
<=
0
)
if
(
*
pFormulaLength
<=
0
)
return
aHashString
;
return
OUString
(
"###"
)
;
}
}
return
(
aBuf
+
getFormattedString
(
xNumFormatter
,
nNumberFormatKey
,
m_fMeanValue
,
pFormulaLength
)
);
return
(
aBuf
+
getFormattedString
(
xNumFormatter
,
nNumberFormatKey
,
m_fMeanValue
,
pFormulaLength
)
);
}
}
...
...
chart2/source/tools/RegressionCurveCalculator.cxx
Dosyayı görüntüle @
3b94a463
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
#include <comphelper/numbers.hxx>
#include <comphelper/numbers.hxx>
#include <comphelper/extract.hxx>
#include <comphelper/extract.hxx>
#include <SpecialUnicodes.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
...
@@ -90,7 +88,7 @@ OUString RegressionCurveCalculator::getFormattedString(
...
@@ -90,7 +88,7 @@ OUString RegressionCurveCalculator::getFormattedString(
double
fNumber
,
sal_Int32
*
pStringLength
/* = nullptr */
)
double
fNumber
,
sal_Int32
*
pStringLength
/* = nullptr */
)
{
{
if
(
pStringLength
&&
*
pStringLength
<=
0
)
if
(
pStringLength
&&
*
pStringLength
<=
0
)
return
aHashString
;
return
OUString
(
"###"
)
;
OUString
aResult
;
OUString
aResult
;
if
(
xNumFormatter
.
is
()
)
if
(
xNumFormatter
.
is
()
)
...
...
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