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
bab961dd
Kaydet (Commit)
bab961dd
authored
Mar 11, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix chart2 build
Change-Id: Ia3eb1c1576034c1cbc93e9fb4e60d205a325b132
üst
065415b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
Diagram.cxx
chart2/source/model/main/Diagram.cxx
+1
-1
PieChartType.cxx
chart2/source/model/template/PieChartType.cxx
+1
-1
PieChart.cxx
chart2/source/view/charttypes/PieChart.cxx
+1
-2
ChartView.cxx
chart2/source/view/main/ChartView.cxx
+2
-2
No files found.
chart2/source/model/main/Diagram.cxx
Dosyayı görüntüle @
bab961dd
...
@@ -168,7 +168,7 @@ void lcl_AddPropertiesToVector(
...
@@ -168,7 +168,7 @@ void lcl_AddPropertiesToVector(
beans
::
PropertyAttribute
::
BOUND
beans
::
PropertyAttribute
::
BOUND
|
beans
::
PropertyAttribute
::
MAYBEVOID
));
|
beans
::
PropertyAttribute
::
MAYBEVOID
));
rOutProperties
.
push_back
(
rOutProperties
.
push_back
(
Property
(
C2U
(
"3DRelativeHeight"
)
,
Property
(
"3DRelativeHeight"
,
PROP_DIAGRAM_3DRELATIVEHEIGHT
,
PROP_DIAGRAM_3DRELATIVEHEIGHT
,
::
getCppuType
(
reinterpret_cast
<
const
sal_Int32
*
>
(
0
)),
::
getCppuType
(
reinterpret_cast
<
const
sal_Int32
*
>
(
0
)),
beans
::
PropertyAttribute
::
MAYBEVOID
));
beans
::
PropertyAttribute
::
MAYBEVOID
));
...
...
chart2/source/model/template/PieChartType.cxx
Dosyayı görüntüle @
bab961dd
...
@@ -56,7 +56,7 @@ static void lcl_AddPropertiesToVector(
...
@@ -56,7 +56,7 @@ static void lcl_AddPropertiesToVector(
beans
::
PropertyAttribute
::
BOUND
beans
::
PropertyAttribute
::
BOUND
|
beans
::
PropertyAttribute
::
MAYBEDEFAULT
));
|
beans
::
PropertyAttribute
::
MAYBEDEFAULT
));
rOutProperties
.
push_back
(
rOutProperties
.
push_back
(
Property
(
C2U
(
"3DRelativeHeight"
)
,
Property
(
"3DRelativeHeight"
,
PROP_PIECHARTTYPE_3DRELATIVEHEIGHT
,
PROP_PIECHARTTYPE_3DRELATIVEHEIGHT
,
::
getCppuType
(
reinterpret_cast
<
const
sal_Int32
*
>
(
0
)),
::
getCppuType
(
reinterpret_cast
<
const
sal_Int32
*
>
(
0
)),
beans
::
PropertyAttribute
::
MAYBEVOID
));
beans
::
PropertyAttribute
::
MAYBEVOID
));
...
...
chart2/source/view/charttypes/PieChart.cxx
Dosyayı görüntüle @
bab961dd
...
@@ -346,7 +346,7 @@ void PieChart::createShapes()
...
@@ -346,7 +346,7 @@ void PieChart::createShapes()
{
{
try
try
{
{
uno
::
Any
aAny
=
xPropertySet
->
getPropertyValue
(
C2U
(
"3DRelativeHeight"
)
);
uno
::
Any
aAny
=
xPropertySet
->
getPropertyValue
(
"3DRelativeHeight"
);
aAny
>>=
n3DRelativeHeight
;
aAny
>>=
n3DRelativeHeight
;
}
}
catch
(
const
uno
::
Exception
&
e
)
{}
catch
(
const
uno
::
Exception
&
e
)
{}
...
@@ -391,7 +391,6 @@ void PieChart::createShapes()
...
@@ -391,7 +391,6 @@ void PieChart::createShapes()
if
(
!
bIsVisible
)
if
(
!
bIsVisible
)
continue
;
continue
;
double
fLogicZ
=
-
1.0
;
//as defined
double
fDepth
=
this
->
getTransformedDepth
()
*
(
n3DRelativeHeight
/
100.0
);
double
fDepth
=
this
->
getTransformedDepth
()
*
(
n3DRelativeHeight
/
100.0
);
uno
::
Reference
<
drawing
::
XShapes
>
xSeriesGroupShape_Shapes
=
getSeriesGroupShape
(
pSeries
,
xSeriesTarget
);
uno
::
Reference
<
drawing
::
XShapes
>
xSeriesGroupShape_Shapes
=
getSeriesGroupShape
(
pSeries
,
xSeriesTarget
);
...
...
chart2/source/view/main/ChartView.cxx
Dosyayı görüntüle @
bab961dd
...
@@ -678,10 +678,10 @@ void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter(
...
@@ -678,10 +678,10 @@ void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter(
try
try
{
{
sal_Int32
n3DRelativeHeightOldValue
(
100
);
sal_Int32
n3DRelativeHeightOldValue
(
100
);
uno
::
Any
aAny
=
xPropertySet
->
getPropertyValue
(
C2U
(
"3DRelativeHeight"
)
);
uno
::
Any
aAny
=
xPropertySet
->
getPropertyValue
(
"3DRelativeHeight"
);
aAny
>>=
n3DRelativeHeightOldValue
;
aAny
>>=
n3DRelativeHeightOldValue
;
if
(
n3DRelativeHeightOldValue
!=
n3DRelativeHeight
)
if
(
n3DRelativeHeightOldValue
!=
n3DRelativeHeight
)
xPropertySet
->
setPropertyValue
(
C2U
(
"3DRelativeHeight"
)
,
uno
::
makeAny
(
n3DRelativeHeight
)
);
xPropertySet
->
setPropertyValue
(
"3DRelativeHeight"
,
uno
::
makeAny
(
n3DRelativeHeight
)
);
}
}
catch
(
const
uno
::
Exception
&
e
){}
catch
(
const
uno
::
Exception
&
e
){}
}
}
...
...
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