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
69b81b64
Kaydet (Commit)
69b81b64
authored
Kas 06, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I23de1fa2f8e6c0cf6281b32eab179e131aa98056
üst
b8f0442f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
16 deletions
+14
-16
animationtransformnode.cxx
...w/source/engine/animationnodes/animationtransformnode.cxx
+3
-3
rehearsetimingsactivity.cxx
slideshow/source/engine/rehearsetimingsactivity.cxx
+1
-1
shapeimporter.cxx
slideshow/source/engine/shapes/shapeimporter.cxx
+2
-2
viewmediashape.cxx
slideshow/source/engine/shapes/viewmediashape.cxx
+5
-5
slideshowimpl.cxx
slideshow/source/engine/slideshowimpl.cxx
+2
-4
shapetransitionfactory.cxx
...show/source/engine/transitions/shapetransitionfactory.cxx
+1
-1
No files found.
slideshow/source/engine/animationnodes/animationtransformnode.cxx
Dosyayı görüntüle @
69b81b64
...
@@ -66,7 +66,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
...
@@ -66,7 +66,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
return
ActivitiesFactory
::
createAnimateActivity
(
return
ActivitiesFactory
::
createAnimateActivity
(
aParms
,
aParms
,
AnimationFactory
::
createNumberPropertyAnimation
(
AnimationFactory
::
createNumberPropertyAnimation
(
OUString
(
"Rotate"
)
,
"Rotate"
,
rShape
,
rShape
,
getContext
().
mpSubsettableShapeManager
,
getContext
().
mpSubsettableShapeManager
,
getSlideSize
()
),
getSlideSize
()
),
...
@@ -76,7 +76,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
...
@@ -76,7 +76,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
return
ActivitiesFactory
::
createAnimateActivity
(
return
ActivitiesFactory
::
createAnimateActivity
(
aParms
,
aParms
,
AnimationFactory
::
createNumberPropertyAnimation
(
AnimationFactory
::
createNumberPropertyAnimation
(
OUString
(
"SkewX"
)
,
"SkewX"
,
rShape
,
rShape
,
getContext
().
mpSubsettableShapeManager
,
getContext
().
mpSubsettableShapeManager
,
getSlideSize
()
),
getSlideSize
()
),
...
@@ -86,7 +86,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
...
@@ -86,7 +86,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
return
ActivitiesFactory
::
createAnimateActivity
(
return
ActivitiesFactory
::
createAnimateActivity
(
aParms
,
aParms
,
AnimationFactory
::
createNumberPropertyAnimation
(
AnimationFactory
::
createNumberPropertyAnimation
(
OUString
(
"SkewY"
)
,
"SkewY"
,
rShape
,
rShape
,
getContext
().
mpSubsettableShapeManager
,
getContext
().
mpSubsettableShapeManager
,
getSlideSize
()
),
getSlideSize
()
),
...
...
slideshow/source/engine/rehearsetimingsactivity.cxx
Dosyayı görüntüle @
69b81b64
...
@@ -165,7 +165,7 @@ RehearseTimingsActivity::RehearseTimingsActivity( const SlideShowContext& rConte
...
@@ -165,7 +165,7 @@ RehearseTimingsActivity::RehearseTimingsActivity( const SlideShowContext& rConte
blackHole
->
SetMapMode
(
MAP_PIXEL
);
blackHole
->
SetMapMode
(
MAP_PIXEL
);
Rectangle
rect
;
Rectangle
rect
;
const
FontMetric
metric
(
blackHole
->
GetFontMetric
()
);
const
FontMetric
metric
(
blackHole
->
GetFontMetric
()
);
blackHole
->
GetTextBoundRect
(
rect
,
OUString
(
"XX:XX:XX"
)
);
blackHole
->
GetTextBoundRect
(
rect
,
"XX:XX:XX"
);
maSpriteSizePixel
.
setX
(
rect
.
getWidth
()
*
12
/
10
);
maSpriteSizePixel
.
setX
(
rect
.
getWidth
()
*
12
/
10
);
maSpriteSizePixel
.
setY
(
metric
.
GetLineHeight
()
*
11
/
10
);
maSpriteSizePixel
.
setY
(
metric
.
GetLineHeight
()
*
11
/
10
);
mnYOffset
=
(
metric
.
GetAscent
()
+
(
metric
.
GetLineHeight
()
/
20
));
mnYOffset
=
(
metric
.
GetAscent
()
+
(
metric
.
GetLineHeight
()
/
20
));
...
...
slideshow/source/engine/shapes/shapeimporter.cxx
Dosyayı görüntüle @
69b81b64
...
@@ -290,7 +290,7 @@ ShapeSharedPtr ShapeImporter::createShape(
...
@@ -290,7 +290,7 @@ ShapeSharedPtr ShapeImporter::createShape(
// (Netscape)Plugin shape. This is a special object
// (Netscape)Plugin shape. This is a special object
return
createAppletShape
(
xCurrShape
,
return
createAppletShape
(
xCurrShape
,
mnAscendingPrio
,
mnAscendingPrio
,
OUString
(
"com.sun.star.comp.sfx2.PluginObject"
)
,
"com.sun.star.comp.sfx2.PluginObject"
,
aPropertyValues
,
aPropertyValues
,
SAL_N_ELEMENTS
(
aPropertyValues
),
SAL_N_ELEMENTS
(
aPropertyValues
),
mrContext
);
mrContext
);
...
@@ -310,7 +310,7 @@ ShapeSharedPtr ShapeImporter::createShape(
...
@@ -310,7 +310,7 @@ ShapeSharedPtr ShapeImporter::createShape(
// (Java)Applet shape. This is a special object
// (Java)Applet shape. This is a special object
return
createAppletShape
(
xCurrShape
,
return
createAppletShape
(
xCurrShape
,
mnAscendingPrio
,
mnAscendingPrio
,
OUString
(
"com.sun.star.comp.sfx2.AppletObject"
)
,
"com.sun.star.comp.sfx2.AppletObject"
,
aPropertyValues
,
aPropertyValues
,
SAL_N_ELEMENTS
(
aPropertyValues
),
SAL_N_ELEMENTS
(
aPropertyValues
),
mrContext
);
mrContext
);
...
...
slideshow/source/engine/shapes/viewmediashape.cxx
Dosyayı görüntüle @
69b81b64
...
@@ -247,7 +247,7 @@ namespace slideshow
...
@@ -247,7 +247,7 @@ namespace slideshow
if
(
xPropSet
.
is
()
&&
if
(
xPropSet
.
is
()
&&
getPropertyValue
(
xParentWindow
,
getPropertyValue
(
xParentWindow
,
xPropSet
,
xPropSet
,
OUString
(
"Window"
)
)
)
"Window"
)
)
{
{
const
awt
::
Rectangle
aRect
(
xParentWindow
->
getPosSize
()
);
const
awt
::
Rectangle
aRect
(
xParentWindow
->
getPosSize
()
);
...
@@ -372,19 +372,19 @@ namespace slideshow
...
@@ -372,19 +372,19 @@ namespace slideshow
bool
bLoop
(
false
);
bool
bLoop
(
false
);
getPropertyValue
(
bLoop
,
getPropertyValue
(
bLoop
,
rxProps
,
rxProps
,
OUString
(
"Loop"
)
);
"Loop"
);
mxPlayer
->
setPlaybackLoop
(
bLoop
);
mxPlayer
->
setPlaybackLoop
(
bLoop
);
bool
bMute
(
false
);
bool
bMute
(
false
);
getPropertyValue
(
bMute
,
getPropertyValue
(
bMute
,
rxProps
,
rxProps
,
OUString
(
"Mute"
)
);
"Mute"
);
mxPlayer
->
setMute
(
bMute
||
!
mbIsSoundEnabled
);
mxPlayer
->
setMute
(
bMute
||
!
mbIsSoundEnabled
);
sal_Int16
nVolumeDB
(
0
);
sal_Int16
nVolumeDB
(
0
);
getPropertyValue
(
nVolumeDB
,
getPropertyValue
(
nVolumeDB
,
rxProps
,
rxProps
,
OUString
(
"VolumeDB"
)
);
"VolumeDB"
);
mxPlayer
->
setVolumeDB
(
nVolumeDB
);
mxPlayer
->
setVolumeDB
(
nVolumeDB
);
if
(
mxPlayerWindow
.
is
()
)
if
(
mxPlayerWindow
.
is
()
)
...
@@ -392,7 +392,7 @@ namespace slideshow
...
@@ -392,7 +392,7 @@ namespace slideshow
media
::
ZoomLevel
eZoom
(
media
::
ZoomLevel_FIT_TO_WINDOW
);
media
::
ZoomLevel
eZoom
(
media
::
ZoomLevel_FIT_TO_WINDOW
);
getPropertyValue
(
eZoom
,
getPropertyValue
(
eZoom
,
rxProps
,
rxProps
,
OUString
(
"Zoom"
)
);
"Zoom"
);
mxPlayerWindow
->
setZoomLevel
(
eZoom
);
mxPlayerWindow
->
setZoomLevel
(
eZoom
);
}
}
}
}
...
...
slideshow/source/engine/slideshowimpl.cxx
Dosyayı görüntüle @
69b81b64
...
@@ -2161,8 +2161,7 @@ void queryAutomaticSlideTransition( uno::Reference<drawing::XDrawPage> const& xD
...
@@ -2161,8 +2161,7 @@ void queryAutomaticSlideTransition( uno::Reference<drawing::XDrawPage> const& xD
if
(
!
xPropSet
.
is
()
||
if
(
!
xPropSet
.
is
()
||
!
getPropertyValue
(
nChange
,
!
getPropertyValue
(
nChange
,
xPropSet
,
xPropSet
,
OUString
(
"Change"
)
)
"Change"
))
)
{
{
OSL_TRACE
(
OSL_TRACE
(
"queryAutomaticSlideTransition(): "
"queryAutomaticSlideTransition(): "
...
@@ -2174,8 +2173,7 @@ void queryAutomaticSlideTransition( uno::Reference<drawing::XDrawPage> const& xD
...
@@ -2174,8 +2173,7 @@ void queryAutomaticSlideTransition( uno::Reference<drawing::XDrawPage> const& xD
if
(
!
xPropSet
.
is
()
||
if
(
!
xPropSet
.
is
()
||
!
getPropertyValue
(
nAutomaticNextSlideTimeout
,
!
getPropertyValue
(
nAutomaticNextSlideTimeout
,
xPropSet
,
xPropSet
,
OUString
(
"HighResDuration"
)
)
"HighResDuration"
))
)
{
{
OSL_TRACE
(
OSL_TRACE
(
"queryAutomaticSlideTransition(): "
"queryAutomaticSlideTransition(): "
...
...
slideshow/source/engine/transitions/shapetransitionfactory.cxx
Dosyayı görüntüle @
69b81b64
...
@@ -334,7 +334,7 @@ AnimationActivitySharedPtr createShapeTransitionByType(
...
@@ -334,7 +334,7 @@ AnimationActivitySharedPtr createShapeTransitionByType(
pGeneratedActivity
=
ActivitiesFactory
::
createSimpleActivity
(
pGeneratedActivity
=
ActivitiesFactory
::
createSimpleActivity
(
rParms
,
rParms
,
AnimationFactory
::
createNumberPropertyAnimation
(
AnimationFactory
::
createNumberPropertyAnimation
(
OUString
(
"Opacity"
)
,
"Opacity"
,
rShape
,
rShape
,
rShapeManager
,
rShapeManager
,
rSlideSize
),
rSlideSize
),
...
...
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