Kaydet (Commit) 4a2bfe3d authored tarafından Michael Stahl's avatar Michael Stahl

warning C4805: '!=': unsafe mix of bool and sal_Bool

Change-Id: I7607ddc9e207c87d6126715c43970ac22d3aed62
üst b5c0e66b
...@@ -414,7 +414,7 @@ void SAL_CALL Player::setMute( sal_Bool bSet ) ...@@ -414,7 +414,7 @@ void SAL_CALL Player::setMute( sal_Bool bSet )
{ {
::osl::MutexGuard aGuard(m_aMutex); ::osl::MutexGuard aGuard(m_aMutex);
if( mpBA && ( mbMuted != bSet ) ) if (mpBA && (mbMuted != static_cast<bool>(bSet)))
{ {
mbMuted = bSet; mbMuted = bSet;
mpBA->put_Volume( mbMuted ? -10000 : mnUnmutedVolume ); mpBA->put_Volume( mbMuted ? -10000 : mnUnmutedVolume );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment