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
c8e0a0ce
Kaydet (Commit)
c8e0a0ce
authored
Tem 19, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Work around bogus Mac GCC uninitialized warnings
Change-Id: I79731b0e8a991a96b87938749fa9898110fe2dde
üst
9ae07fcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
25 deletions
+25
-25
EnhancedShapeDumper.cxx
drawinglayer/source/dumper/EnhancedShapeDumper.cxx
+13
-13
XShapeDumper.cxx
drawinglayer/source/dumper/XShapeDumper.cxx
+12
-12
No files found.
drawinglayer/source/dumper/EnhancedShapeDumper.cxx
Dosyayı görüntüle @
c8e0a0ce
...
...
@@ -40,13 +40,13 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Extrusion"
);
sal_Bool
bExtrusion
;
sal_Bool
bExtrusion
=
sal_Bool
()
;
if
(
anotherAny
>>=
bExtrusion
)
dumpExtrusionAsAttribute
(
bExtrusion
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Brightness"
);
double
aBrightness
;
double
aBrightness
=
double
()
;
if
(
anotherAny
>>=
aBrightness
)
dumpBrightnessAsAttribute
(
aBrightness
);
}
...
...
@@ -58,43 +58,43 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Diffusion"
);
double
aDiffusion
;
double
aDiffusion
=
double
()
;
if
(
anotherAny
>>=
aDiffusion
)
dumpDiffusionAsAttribute
(
aDiffusion
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"NumberOfLineSegments"
);
sal_Int32
aNumberOfLineSegments
;
sal_Int32
aNumberOfLineSegments
=
sal_Int32
()
;
if
(
anotherAny
>>=
aNumberOfLineSegments
)
dumpNumberOfLineSegmentsAsAttribute
(
aNumberOfLineSegments
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"LightFace"
);
sal_Bool
bLightFace
;
sal_Bool
bLightFace
=
sal_Bool
()
;
if
(
anotherAny
>>=
bLightFace
)
dumpLightFaceAsAttribute
(
bLightFace
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FirstLightHarsh"
);
sal_Bool
bFirstLightHarsh
;
sal_Bool
bFirstLightHarsh
=
sal_Bool
()
;
if
(
anotherAny
>>=
bFirstLightHarsh
)
dumpFirstLightHarshAsAttribute
(
bFirstLightHarsh
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"SecondLightHarsh"
);
sal_Bool
bSecondLightHarsh
;
sal_Bool
bSecondLightHarsh
=
sal_Bool
()
;
if
(
anotherAny
>>=
bSecondLightHarsh
)
dumpSecondLightHarshAsAttribute
(
bSecondLightHarsh
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FirstLightLevel"
);
double
aFirstLightLevel
;
double
aFirstLightLevel
=
double
()
;
if
(
anotherAny
>>=
aFirstLightLevel
)
dumpFirstLightLevelAsAttribute
(
aFirstLightLevel
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"SecondLightLevel"
);
double
aSecondLightLevel
;
double
aSecondLightLevel
=
double
()
;
if
(
anotherAny
>>=
aSecondLightLevel
)
dumpSecondLightLevelAsAttribute
(
aSecondLightLevel
);
}
...
...
@@ -112,7 +112,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Metal"
);
sal_Bool
bMetal
;
sal_Bool
bMetal
=
sal_Bool
()
;
if
(
anotherAny
>>=
bMetal
)
dumpMetalAsAttribute
(
bMetal
);
}
...
...
@@ -136,7 +136,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Shininess"
);
double
aShininess
;
double
aShininess
=
double
()
;
if
(
anotherAny
>>=
aShininess
)
dumpShininessAsAttribute
(
aShininess
);
}
...
...
@@ -148,7 +148,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Specularity"
);
double
aSpecularity
;
double
aSpecularity
=
double
()
;
if
(
anotherAny
>>=
aSpecularity
)
dumpSpecularityAsAttribute
(
aSpecularity
);
}
...
...
@@ -172,7 +172,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"ExtrusionColor"
);
sal_Bool
bExtrusionColor
;
sal_Bool
bExtrusionColor
=
sal_Bool
()
;
if
(
anotherAny
>>=
bExtrusionColor
)
dumpExtrusionColorAsAttribute
(
bExtrusionColor
);
}
...
...
drawinglayer/source/dumper/XShapeDumper.cxx
Dosyayı görüntüle @
c8e0a0ce
...
...
@@ -1294,13 +1294,13 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillColor"
);
sal_Int32
aColor
;
sal_Int32
aColor
=
sal_Int32
()
;
if
(
anotherAny
>>=
aColor
)
dumpFillColorAsAttribute
(
aColor
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillTransparence"
);
sal_Int32
aTransparence
;
sal_Int32
aTransparence
=
sal_Int32
()
;
if
(
anotherAny
>>=
aTransparence
)
dumpFillTransparenceAsAttribute
(
aTransparence
,
xmlWriter
);
}
...
...
@@ -1342,7 +1342,7 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBackground"
);
sal_Bool
bFillBackground
;
sal_Bool
bFillBackground
=
sal_Bool
()
;
if
(
anotherAny
>>=
bFillBackground
)
dumpFillBackgroundAsAttribute
(
bFillBackground
,
xmlWriter
);
}
...
...
@@ -1366,25 +1366,25 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapPositionOffsetX"
);
sal_Int32
aBitmapPositionOffsetX
;
sal_Int32
aBitmapPositionOffsetX
=
sal_Int32
()
;
if
(
anotherAny
>>=
aBitmapPositionOffsetX
)
dumpFillBitmapPositionOffsetXAsAttribute
(
aBitmapPositionOffsetX
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapPositionOffsetY"
);
sal_Int32
aBitmapPositionOffsetY
;
sal_Int32
aBitmapPositionOffsetY
=
sal_Int32
()
;
if
(
anotherAny
>>=
aBitmapPositionOffsetY
)
dumpFillBitmapPositionOffsetYAsAttribute
(
aBitmapPositionOffsetY
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapOffsetX"
);
sal_Int32
aBitmapOffsetX
;
sal_Int32
aBitmapOffsetX
=
sal_Int32
()
;
if
(
anotherAny
>>=
aBitmapOffsetX
)
dumpFillBitmapOffsetXAsAttribute
(
aBitmapOffsetX
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapOffsetY"
);
sal_Int32
aBitmapOffsetY
;
sal_Int32
aBitmapOffsetY
=
sal_Int32
()
;
if
(
anotherAny
>>=
aBitmapOffsetY
)
dumpFillBitmapOffsetYAsAttribute
(
aBitmapOffsetY
,
xmlWriter
);
}
...
...
@@ -1396,19 +1396,19 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapLogicalSize"
);
sal_Bool
bBitmapLogicalSize
;
sal_Bool
bBitmapLogicalSize
=
sal_Bool
()
;
if
(
anotherAny
>>=
bBitmapLogicalSize
)
dumpFillBitmapLogicalSizeAsAttribute
(
bBitmapLogicalSize
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapSizeX"
);
sal_Int32
aBitmapSizeX
;
sal_Int32
aBitmapSizeX
=
sal_Int32
()
;
if
(
anotherAny
>>=
aBitmapSizeX
)
dumpFillBitmapSizeXAsAttribute
(
aBitmapSizeX
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapSizeY"
);
sal_Int32
aBitmapSizeY
;
sal_Int32
aBitmapSizeY
=
sal_Int32
()
;
if
(
anotherAny
>>=
aBitmapSizeY
)
dumpFillBitmapSizeYAsAttribute
(
aBitmapSizeY
,
xmlWriter
);
}
...
...
@@ -1420,13 +1420,13 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapStretch"
);
sal_Bool
bBitmapStretch
;
sal_Bool
bBitmapStretch
=
sal_Bool
()
;
if
(
anotherAny
>>=
bBitmapStretch
)
dumpFillBitmapStretchAsAttribute
(
bBitmapStretch
,
xmlWriter
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillBitmapTile"
);
sal_Bool
bBitmapTile
;
sal_Bool
bBitmapTile
=
sal_Bool
()
;
if
(
anotherAny
>>=
bBitmapTile
)
dumpFillBitmapTileAsAttribute
(
bBitmapTile
,
xmlWriter
);
}
...
...
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