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
4df2bc90
Kaydet (Commit)
4df2bc90
authored
Şub 08, 2017
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
A newline is not that special or hard to remember
Change-Id: I2960a59283a5a04c5c804a57e43bdb633c0e45cf
üst
21864fed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
SpecialUnicodes.hxx
chart2/inc/SpecialUnicodes.hxx
+0
-1
ObjectNameProvider.cxx
chart2/source/controller/dialogs/ObjectNameProvider.cxx
+2
-4
RegressionCurveCalculator.cxx
chart2/source/tools/RegressionCurveCalculator.cxx
+1
-1
VSeriesPlotter.cxx
chart2/source/view/charttypes/VSeriesPlotter.cxx
+2
-2
No files found.
chart2/inc/SpecialUnicodes.hxx
Dosyayı görüntüle @
4df2bc90
...
@@ -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
aNewLine
(
"
\n
"
);
const
OUString
aHashString
(
"###"
);
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
};
...
...
chart2/source/controller/dialogs/ObjectNameProvider.cxx
Dosyayı görüntüle @
4df2bc90
...
@@ -487,10 +487,8 @@ OUString ObjectNameProvider::getHelpText( const OUString& rObjectCID, const Refe
...
@@ -487,10 +487,8 @@ OUString ObjectNameProvider::getHelpText( const OUString& rObjectCID, const Refe
{
{
if
(
bVerbose
)
if
(
bVerbose
)
{
{
OUString
aNewLine
(
"
\n
"
);
aRet
=
SCH_RESSTR
(
STR_TIP_DATAPOINT_INDEX
)
+
"
\n
"
+
SCH_RESSTR
(
STR_TIP_DATASERIES
)
+
"
\n
"
aRet
=
SCH_RESSTR
(
STR_TIP_DATAPOINT_INDEX
)
+
aNewLine
+
SCH_RESSTR
(
STR_TIP_DATASERIES
)
+
aNewLine
+
SCH_RESSTR
(
STR_TIP_DATAPOINT_VALUES
);
+
SCH_RESSTR
(
STR_TIP_DATAPOINT_VALUES
);
}
}
else
else
...
...
chart2/source/tools/RegressionCurveCalculator.cxx
Dosyayı görüntüle @
4df2bc90
...
@@ -200,7 +200,7 @@ void RegressionCurveCalculator::addStringToEquation(
...
@@ -200,7 +200,7 @@ void RegressionCurveCalculator::addStringToEquation(
{
{
if
(
pMaxWidth
&&
(
nLineLength
+
aAddString
.
getLength
()
>
*
pMaxWidth
)
)
if
(
pMaxWidth
&&
(
nLineLength
+
aAddString
.
getLength
()
>
*
pMaxWidth
)
)
{
// wrap line
{
// wrap line
aStrEquation
.
append
(
aNewLine
+
"
"
);
// start new line with a blank
aStrEquation
.
append
(
"
\n
"
);
// start new line with a blank
nLineLength
=
1
;
nLineLength
=
1
;
}
}
aStrEquation
.
append
(
aAddString
);
aStrEquation
.
append
(
aAddString
);
...
...
chart2/source/view/charttypes/VSeriesPlotter.cxx
Dosyayı görüntüle @
4df2bc90
...
@@ -1214,7 +1214,7 @@ sal_Int32 lcl_getOUStringMaxLineLength ( OUStringBuffer& aString )
...
@@ -1214,7 +1214,7 @@ sal_Int32 lcl_getOUStringMaxLineLength ( OUStringBuffer& aString )
for
(
sal_Int32
i
=
0
;
i
<
nStringLength
;
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
nStringLength
;
i
++
)
{
{
sal_Int32
indexSep
=
aString
.
indexOf
(
aNewLine
,
i
);
sal_Int32
indexSep
=
aString
.
indexOf
(
"
\n
"
,
i
);
if
(
indexSep
<
0
)
if
(
indexSep
<
0
)
indexSep
=
nStringLength
;
indexSep
=
nStringLength
;
sal_Int32
nLineLength
=
indexSep
-
i
;
sal_Int32
nLineLength
=
indexSep
-
i
;
...
@@ -1281,7 +1281,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
...
@@ -1281,7 +1281,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
if
(
bShowCorrCoeff
)
if
(
bShowCorrCoeff
)
{
{
aFormula
.
append
(
aNewLine
);
aFormula
.
append
(
"
\n
"
);
}
}
}
}
if
(
bShowCorrCoeff
)
if
(
bShowCorrCoeff
)
...
...
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