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
7e9bb77c
Kaydet (Commit)
7e9bb77c
authored
Nis 24, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
slideshow: sal_Bool->bool
Change-Id: I0a8886fe164989661add0665c4744fd17a9ef40c
üst
177d32b6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
26 deletions
+26
-26
basecontainernode.cxx
slideshow/source/engine/animationnodes/basecontainernode.cxx
+1
-1
color.cxx
slideshow/source/engine/color.cxx
+4
-4
drawinglayeranimation.cxx
slideshow/source/engine/shapes/drawinglayeranimation.cxx
+4
-4
viewmediashape.cxx
slideshow/source/engine/shapes/viewmediashape.cxx
+2
-2
targetpropertiescreator.cxx
slideshow/source/engine/slide/targetpropertiescreator.cxx
+3
-3
slideshowimpl.cxx
slideshow/source/engine/slideshowimpl.cxx
+7
-7
tools.cxx
slideshow/source/engine/tools.cxx
+1
-1
hslcolor.hxx
slideshow/source/inc/hslcolor.hxx
+2
-2
rgbcolor.hxx
slideshow/source/inc/rgbcolor.hxx
+2
-2
No files found.
slideshow/source/engine/animationnodes/basecontainernode.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -172,7 +172,7 @@ bool BaseContainerNode::notifyDeactivatedChild(
...
@@ -172,7 +172,7 @@ bool BaseContainerNode::notifyDeactivatedChild(
bool
BaseContainerNode
::
repeat
()
bool
BaseContainerNode
::
repeat
()
{
{
forEachChildNode
(
boost
::
mem_fn
(
&
AnimationNode
::
end
),
~
ENDED
);
forEachChildNode
(
boost
::
mem_fn
(
&
AnimationNode
::
end
),
~
ENDED
);
sal_B
ool
bState
=
init_children
();
b
ool
bState
=
init_children
();
if
(
bState
)
if
(
bState
)
activate_st
();
activate_st
();
return
bState
;
return
bState
;
...
...
slideshow/source/engine/color.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -209,14 +209,14 @@ namespace slideshow
...
@@ -209,14 +209,14 @@ namespace slideshow
}
}
sal_B
ool
operator
==
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
)
b
ool
operator
==
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
)
{
{
return
(
rLHS
.
getHue
()
==
rRHS
.
getHue
()
&&
return
(
rLHS
.
getHue
()
==
rRHS
.
getHue
()
&&
rLHS
.
getSaturation
()
==
rRHS
.
getSaturation
()
&&
rLHS
.
getSaturation
()
==
rRHS
.
getSaturation
()
&&
rLHS
.
getLuminance
()
==
rRHS
.
getLuminance
()
);
rLHS
.
getLuminance
()
==
rRHS
.
getLuminance
()
);
}
}
sal_B
ool
operator
!=
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
)
b
ool
operator
!=
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
)
{
{
return
!
(
rLHS
==
rRHS
);
return
!
(
rLHS
==
rRHS
);
}
}
...
@@ -350,14 +350,14 @@ namespace slideshow
...
@@ -350,14 +350,14 @@ namespace slideshow
255
);
255
);
}
}
sal_B
ool
operator
==
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
)
b
ool
operator
==
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
)
{
{
return
(
rLHS
.
getRed
()
==
rRHS
.
getRed
()
&&
return
(
rLHS
.
getRed
()
==
rRHS
.
getRed
()
&&
rLHS
.
getGreen
()
==
rRHS
.
getGreen
()
&&
rLHS
.
getGreen
()
==
rRHS
.
getGreen
()
&&
rLHS
.
getBlue
()
==
rRHS
.
getBlue
()
);
rLHS
.
getBlue
()
==
rRHS
.
getBlue
()
);
}
}
sal_B
ool
operator
!=
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
)
b
ool
operator
!=
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
)
{
{
return
!
(
rLHS
==
rRHS
);
return
!
(
rLHS
==
rRHS
);
}
}
...
...
slideshow/source/engine/shapes/drawinglayeranimation.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -159,8 +159,8 @@ private:
...
@@ -159,8 +159,8 @@ private:
basegfx
::
B2DRectangle
const
&
parentBounds
);
basegfx
::
B2DRectangle
const
&
parentBounds
);
// Access to VisibleWhenSTarted flags
// Access to VisibleWhenSTarted flags
sal_B
ool
IsVisibleWhenStarted
()
const
{
return
mbVisibleWhenStarted
;
}
b
ool
IsVisibleWhenStarted
()
const
{
return
mbVisibleWhenStarted
;
}
sal_B
ool
IsVisibleWhenStopped
()
const
{
return
mbVisibleWhenStopped
;
}
b
ool
IsVisibleWhenStopped
()
const
{
return
mbVisibleWhenStopped
;
}
// scroll horizontal? if sal_False, scroll is vertical.
// scroll horizontal? if sal_False, scroll is vertical.
bool
ScrollHorizontal
()
const
{
bool
ScrollHorizontal
()
const
{
...
@@ -270,7 +270,7 @@ double ActivityImpl::GetMixerState( sal_uInt32 nTime )
...
@@ -270,7 +270,7 @@ double ActivityImpl::GetMixerState( sal_uInt32 nTime )
{
{
// from AInfoBlinkText:
// from AInfoBlinkText:
double
fRetval
(
0.0
);
double
fRetval
(
0.0
);
sal_Bool
bDone
(
sal_F
alse
);
bool
bDone
(
f
alse
);
const
sal_uInt32
nLoopTime
(
2
*
mnFrequency
);
const
sal_uInt32
nLoopTime
(
2
*
mnFrequency
);
if
(
mnRepeat
)
if
(
mnRepeat
)
...
@@ -284,7 +284,7 @@ double ActivityImpl::GetMixerState( sal_uInt32 nTime )
...
@@ -284,7 +284,7 @@ double ActivityImpl::GetMixerState( sal_uInt32 nTime )
else
else
fRetval
=
1.0
;
fRetval
=
1.0
;
bDone
=
sal_T
rue
;
bDone
=
t
rue
;
}
}
}
}
...
...
slideshow/source/engine/shapes/viewmediashape.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -380,13 +380,13 @@ namespace slideshow
...
@@ -380,13 +380,13 @@ namespace slideshow
if
(
rxProps
.
is
()
)
if
(
rxProps
.
is
()
)
{
{
sal_B
ool
bLoop
(
false
);
b
ool
bLoop
(
false
);
getPropertyValue
(
bLoop
,
getPropertyValue
(
bLoop
,
rxProps
,
rxProps
,
OUString
(
"Loop"
));
OUString
(
"Loop"
));
mxPlayer
->
setPlaybackLoop
(
bLoop
);
mxPlayer
->
setPlaybackLoop
(
bLoop
);
sal_B
ool
bMute
(
false
);
b
ool
bMute
(
false
);
getPropertyValue
(
bMute
,
getPropertyValue
(
bMute
,
rxProps
,
rxProps
,
OUString
(
"Mute"
));
OUString
(
"Mute"
));
...
...
slideshow/source/engine/slide/targetpropertiescreator.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -259,7 +259,7 @@ namespace internal
...
@@ -259,7 +259,7 @@ namespace internal
// initially. This is currently the only place
// initially. This is currently the only place
// where a shape effect influences shape
// where a shape effect influences shape
// attributes outside it's effective duration.
// attributes outside it's effective duration.
sal_Bool
bVisible
(
sal_F
alse
);
bool
bVisible
(
f
alse
);
if
(
xAnimateNode
->
getAttributeName
().
equalsIgnoreAsciiCase
(
"visibility"
)
)
if
(
xAnimateNode
->
getAttributeName
().
equalsIgnoreAsciiCase
(
"visibility"
)
)
{
{
...
@@ -277,12 +277,12 @@ namespace internal
...
@@ -277,12 +277,12 @@ namespace internal
if
(
aString
.
equalsIgnoreAsciiCase
(
"true"
)
||
if
(
aString
.
equalsIgnoreAsciiCase
(
"true"
)
||
aString
.
equalsIgnoreAsciiCase
(
"on"
)
)
aString
.
equalsIgnoreAsciiCase
(
"on"
)
)
{
{
bVisible
=
sal_T
rue
;
bVisible
=
t
rue
;
}
}
if
(
aString
.
equalsIgnoreAsciiCase
(
"false"
)
||
if
(
aString
.
equalsIgnoreAsciiCase
(
"false"
)
||
aString
.
equalsIgnoreAsciiCase
(
"off"
)
)
aString
.
equalsIgnoreAsciiCase
(
"off"
)
)
{
{
bVisible
=
sal_F
alse
;
bVisible
=
f
alse
;
}
}
}
}
}
}
...
...
slideshow/source/engine/slideshowimpl.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -711,11 +711,11 @@ void SlideShowImpl::stopSlideTransitionSound()
...
@@ -711,11 +711,11 @@ void SlideShowImpl::stopSlideTransitionSound()
SoundPlayerSharedPtr
SlideShowImpl
::
resetSlideTransitionSound
(
const
uno
::
Any
&
rSound
,
bool
bLoopSound
)
SoundPlayerSharedPtr
SlideShowImpl
::
resetSlideTransitionSound
(
const
uno
::
Any
&
rSound
,
bool
bLoopSound
)
{
{
sal_Bool
bStopSound
=
sal_F
alse
;
bool
bStopSound
=
f
alse
;
OUString
url
;
OUString
url
;
if
(
!
(
rSound
>>=
bStopSound
)
)
if
(
!
(
rSound
>>=
bStopSound
)
)
bStopSound
=
sal_F
alse
;
bStopSound
=
f
alse
;
rSound
>>=
url
;
rSound
>>=
url
;
if
(
!
bStopSound
&&
url
.
isEmpty
()
)
if
(
!
bStopSound
&&
url
.
isEmpty
()
)
...
@@ -810,7 +810,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
...
@@ -810,7 +810,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
const
RGBColor
aTransitionFadeColor
(
unoColor2RGBColor
(
aUnoColor
));
const
RGBColor
aTransitionFadeColor
(
unoColor2RGBColor
(
aUnoColor
));
uno
::
Any
aSound
;
uno
::
Any
aSound
;
sal_Bool
bLoopSound
=
sal_F
alse
;
bool
bLoopSound
=
f
alse
;
if
(
!
getPropertyValue
(
aSound
,
xPropSet
,
"Sound"
)
)
if
(
!
getPropertyValue
(
aSound
,
xPropSet
,
"Sound"
)
)
OSL_TRACE
(
"createSlideTransition(): Could not determine transition sound effect URL from XDrawPage - using no sound"
);
OSL_TRACE
(
"createSlideTransition(): Could not determine transition sound effect URL from XDrawPage - using no sound"
);
...
@@ -1690,7 +1690,7 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
...
@@ -1690,7 +1690,7 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
if
(
rProperty
.
Name
==
"AdvanceOnClick"
)
if
(
rProperty
.
Name
==
"AdvanceOnClick"
)
{
{
sal_Bool
bAdvanceOnClick
=
sal_F
alse
;
bool
bAdvanceOnClick
=
f
alse
;
if
(
!
(
rProperty
.
Value
>>=
bAdvanceOnClick
))
if
(
!
(
rProperty
.
Value
>>=
bAdvanceOnClick
))
return
false
;
return
false
;
maUserEventQueue
.
setAdvanceOnClick
(
bAdvanceOnClick
);
maUserEventQueue
.
setAdvanceOnClick
(
bAdvanceOnClick
);
...
@@ -1699,10 +1699,10 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
...
@@ -1699,10 +1699,10 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
if
(
rProperty
.
Name
==
"DisableAnimationZOrder"
)
if
(
rProperty
.
Name
==
"DisableAnimationZOrder"
)
{
{
sal_Bool
bDisableAnimationZOrder
=
sal_F
alse
;
bool
bDisableAnimationZOrder
=
f
alse
;
if
(
!
(
rProperty
.
Value
>>=
bDisableAnimationZOrder
))
if
(
!
(
rProperty
.
Value
>>=
bDisableAnimationZOrder
))
return
false
;
return
false
;
mbDisableAnimationZOrder
=
bDisableAnimationZOrder
==
sal_True
;
mbDisableAnimationZOrder
=
bDisableAnimationZOrder
;
return
true
;
return
true
;
}
}
...
@@ -1817,7 +1817,7 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
...
@@ -1817,7 +1817,7 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
{
{
uno
::
Sequence
<
uno
::
Any
>
aValues
;
uno
::
Sequence
<
uno
::
Any
>
aValues
;
uno
::
Reference
<
presentation
::
XSlideShowView
>
xView
;
uno
::
Reference
<
presentation
::
XSlideShowView
>
xView
;
sal_B
ool
bValue
(
false
);
b
ool
bValue
(
false
);
if
((
rProperty
.
Value
>>=
aValues
)
if
((
rProperty
.
Value
>>=
aValues
)
&&
aValues
.
getLength
()
==
2
&&
aValues
.
getLength
()
==
2
&&
(
aValues
[
0
]
>>=
xView
)
&&
(
aValues
[
0
]
>>=
xView
)
...
...
slideshow/source/engine/tools.cxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -374,7 +374,7 @@ namespace slideshow
...
@@ -374,7 +374,7 @@ namespace slideshow
const
ShapeSharedPtr
&
/*rShape*/
,
const
ShapeSharedPtr
&
/*rShape*/
,
const
::
basegfx
::
B2DVector
&
/*rSlideBounds*/
)
const
::
basegfx
::
B2DVector
&
/*rSlideBounds*/
)
{
{
sal_Bool
nTmp
=
sal_Bool
()
;
bool
nTmp
;
// try to extract bool value
// try to extract bool value
if
(
(
rSourceAny
>>=
nTmp
)
)
if
(
(
rSourceAny
>>=
nTmp
)
)
{
{
...
...
slideshow/source/inc/hslcolor.hxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -79,8 +79,8 @@ namespace slideshow
...
@@ -79,8 +79,8 @@ namespace slideshow
double
mnMagicValue
;
double
mnMagicValue
;
};
};
sal_B
ool
operator
==
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
b
ool
operator
==
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
sal_B
ool
operator
!=
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
b
ool
operator
!=
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
HSLColor
operator
+
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
HSLColor
operator
+
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
HSLColor
operator
*
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
HSLColor
operator
*
(
const
HSLColor
&
rLHS
,
const
HSLColor
&
rRHS
);
HSLColor
operator
*
(
double
nFactor
,
const
HSLColor
&
rRHS
);
HSLColor
operator
*
(
double
nFactor
,
const
HSLColor
&
rRHS
);
...
...
slideshow/source/inc/rgbcolor.hxx
Dosyayı görüntüle @
7e9bb77c
...
@@ -75,8 +75,8 @@ namespace slideshow
...
@@ -75,8 +75,8 @@ namespace slideshow
RGBTriple
maRGBTriple
;
RGBTriple
maRGBTriple
;
};
};
sal_B
ool
operator
==
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
b
ool
operator
==
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
sal_B
ool
operator
!=
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
b
ool
operator
!=
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
RGBColor
operator
+
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
RGBColor
operator
+
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
RGBColor
operator
*
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
RGBColor
operator
*
(
const
RGBColor
&
rLHS
,
const
RGBColor
&
rRHS
);
RGBColor
operator
*
(
double
nFactor
,
const
RGBColor
&
rRHS
);
RGBColor
operator
*
(
double
nFactor
,
const
RGBColor
&
rRHS
);
...
...
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