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
4cd9b2fb
Kaydet (Commit)
4cd9b2fb
authored
May 02, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: doubles truncated to floats
Change-Id: I42b67cc0670f3d0990708fb299243098c1aa972b
üst
2b168fec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
VSeriesPlotter.cxx
chart2/source/view/charttypes/VSeriesPlotter.cxx
+1
-1
VTitle.cxx
chart2/source/view/main/VTitle.cxx
+3
-3
No files found.
chart2/source/view/charttypes/VSeriesPlotter.cxx
Dosyayı görüntüle @
4cd9b2fb
...
...
@@ -466,7 +466,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
if
(
xProps
.
is
()
)
xProps
->
getPropertyValue
(
C2U
(
"CharHeight"
))
>>=
fViewFontSize
;
// pt -> 1/100th mm
fViewFontSize
*=
(
2540.0
/
72.0
);
fViewFontSize
*=
(
2540.0
f
/
72.0
f
);
}
Reference
<
drawing
::
XShape
>
xSymbol
;
if
(
pLabel
->
ShowLegendSymbol
)
...
...
chart2/source/view/main/VTitle.cxx
Dosyayı görüntüle @
4cd9b2fb
...
...
@@ -248,10 +248,10 @@ void VTitle::createShapes(
float
fFontHeight
=
0.0
;
if
(
xShapeProp
.
is
()
&&
(
xShapeProp
->
getPropertyValue
(
C2U
(
"CharHeight"
)
)
>>=
fFontHeight
)
)
{
fFontHeight
*=
(
2540.
/
72.
);
// pt -> 1/100 mm
float
fXFraction
=
0.18
;
fFontHeight
*=
(
2540.
0
f
/
72.0
f
);
// pt -> 1/100 mm
float
fXFraction
=
0.18
f
;
sal_Int32
nXDistance
=
static_cast
<
sal_Int32
>
(
::
rtl
::
math
::
round
(
fFontHeight
*
fXFraction
)
);
float
fYFraction
=
0.30
;
float
fYFraction
=
0.30
f
;
sal_Int32
nYDistance
=
static_cast
<
sal_Int32
>
(
::
rtl
::
math
::
round
(
fFontHeight
*
fYFraction
)
);
xShapeProp
->
setPropertyValue
(
C2U
(
"TextLeftDistance"
),
uno
::
makeAny
(
nXDistance
)
);
xShapeProp
->
setPropertyValue
(
C2U
(
"TextRightDistance"
),
uno
::
makeAny
(
nXDistance
)
);
...
...
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