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

-Werror,-Wunused-private-field (Clang towards 3.2)

Change-Id: I8e97aaad72e8f6876c912e17a09de83d631b26fc
üst 1769cbd2
...@@ -87,15 +87,8 @@ private: ...@@ -87,15 +87,8 @@ private:
double mnStopTime; double mnStopTime;
sal_Bool mbMuted; sal_Bool mbMuted;
sal_Bool mbLooping;
sal_Bool mbInitialized; sal_Bool mbInitialized;
long mnWindowID;
long mnDuration;
int mnWidth;
int mnHeight;
long mnVersion;
oslCondition maSizeCondition; oslCondition maSizeCondition;
}; };
......
...@@ -49,13 +49,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : ...@@ -49,13 +49,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mnUnmutedVolume( 0 ), mnUnmutedVolume( 0 ),
mnStopTime( DBL_MAX ), //max double mnStopTime( DBL_MAX ), //max double
mbMuted( false ), mbMuted( false ),
mbLooping( false ),
mbInitialized( false ), mbInitialized( false ),
mnWindowID( 0 ),
mnDuration( 0 ),
mnWidth( 0 ),
mnHeight( 0 ),
mnVersion( 0 ),
maSizeCondition( osl_createCondition() ) maSizeCondition( osl_createCondition() )
{ {
OSErr result; OSErr result;
...@@ -63,8 +57,9 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : ...@@ -63,8 +57,9 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
NSApplicationLoad(); NSApplicationLoad();
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
// check the version of QuickTime installed // check the version of QuickTime installed
result = Gestalt(gestaltQuickTime,&mnVersion); long nVersion;
if ((result == noErr) && (mnVersion >= QT701)) result = Gestalt(gestaltQuickTime,&nVersion);
if ((result == noErr) && (nVersion >= QT701))
{ {
// we have version 7.01 or later, initialize // we have version 7.01 or later, initialize
mbInitialized = true; mbInitialized = true;
......
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