Kaydet (Commit) aa2444c6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

avmedia: sal_False/True -> false/true

Change-Id: I0ecd9e016ab0faa75a58796568d19fe91f6dccee
üst b0bac593
...@@ -393,7 +393,7 @@ CreateStream(uno::Reference<embed::XStorage> const& xStorage, ...@@ -393,7 +393,7 @@ CreateStream(uno::Reference<embed::XStorage> const& xStorage,
//but currently xmloff has this one hardcoded anyway... //but currently xmloff has this one hardcoded anyway...
"application/vnd.sun.star.media"))); "application/vnd.sun.star.media")));
xStreamProps->setPropertyValue( // turn off compression xStreamProps->setPropertyValue( // turn off compression
"Compressed", uno::makeAny(sal_False)); "Compressed", uno::makeAny(false));
} }
return xStream; return xStream;
} }
......
...@@ -35,7 +35,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : ...@@ -35,7 +35,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mxMgr( rxMgr ), mxMgr( rxMgr ),
mpMovie( nil ), mpMovie( nil ),
/* GST /* GST
mbFakeVideo (sal_False ), mbFakeVideo (false ),
*/ */
mnUnmutedVolume( 0 ), mnUnmutedVolume( 0 ),
mnStopTime( DBL_MAX ), //max double mnStopTime( DBL_MAX ), //max double
......
...@@ -294,11 +294,11 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent */, ...@@ -294,11 +294,11 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent */,
// for video link should be the default // for video link should be the default
xCtrlAcc->setValue( xCtrlAcc->setValue(
ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_LINK, 0, ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_LINK, 0,
uno::makeAny(sal_True) ); uno::makeAny(true) );
// disabled for now: TODO: preview? // disabled for now: TODO: preview?
xCtrlAcc->enableControl( xCtrlAcc->enableControl(
ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_PREVIEW, ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_PREVIEW,
sal_False); false);
} }
if( aDlg.Execute() == ERRCODE_NONE ) if( aDlg.Execute() == ERRCODE_NONE )
......
...@@ -97,7 +97,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : ...@@ -97,7 +97,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mnFrameWnd( 0 ), mnFrameWnd( 0 ),
mbMuted( false ), mbMuted( false ),
mbLooping( false ), mbLooping( false ),
mbAddWindow( sal_True ) mbAddWindow( true )
{ {
::CoInitialize( NULL ); ::CoInitialize( NULL );
} }
...@@ -201,7 +201,7 @@ const IVideoWindow* Player::getVideoWindow() const ...@@ -201,7 +201,7 @@ const IVideoWindow* Player::getVideoWindow() const
void Player::setNotifyWnd( int nNotifyWnd ) void Player::setNotifyWnd( int nNotifyWnd )
{ {
mbAddWindow = sal_False; mbAddWindow = false;
if( mpME ) if( mpME )
mpME->SetNotifyWindow( (OAHWND) nNotifyWnd, WM_GRAPHNOTIFY, reinterpret_cast< LONG_PTR>( this ) ); mpME->SetNotifyWindow( (OAHWND) nNotifyWnd, WM_GRAPHNOTIFY, reinterpret_cast< LONG_PTR>( this ) );
} }
......
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