summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-30 23:01:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-31 09:04:13 +0200
commitc22663a7a2db7e07550d1feb20c2e67afbb3641b (patch)
tree4366a7b8e0fb503d035055683279beda3c026da9 /avmedia
parent1769cbd2b0c9ae49863383a0112c36550d495c44 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I8e97aaad72e8f6876c912e17a09de83d631b26fc
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/quicktime/player.hxx7
-rw-r--r--avmedia/source/quicktime/player.mm11
2 files changed, 3 insertions, 15 deletions
diff --git a/avmedia/source/quicktime/player.hxx b/avmedia/source/quicktime/player.hxx
index f110c30ac3e5..9bffa99e990a 100644
--- a/avmedia/source/quicktime/player.hxx
+++ b/avmedia/source/quicktime/player.hxx
@@ -87,15 +87,8 @@ private:
double mnStopTime;
sal_Bool mbMuted;
- sal_Bool mbLooping;
sal_Bool mbInitialized;
- long mnWindowID;
- long mnDuration;
- int mnWidth;
- int mnHeight;
-
- long mnVersion;
oslCondition maSizeCondition;
};
diff --git a/avmedia/source/quicktime/player.mm b/avmedia/source/quicktime/player.mm
index 1af6f084a2f9..cf3a913fd661 100644
--- a/avmedia/source/quicktime/player.mm
+++ b/avmedia/source/quicktime/player.mm
@@ -49,13 +49,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mnUnmutedVolume( 0 ),
mnStopTime( DBL_MAX ), //max double
mbMuted( false ),
- mbLooping( false ),
mbInitialized( false ),
- mnWindowID( 0 ),
- mnDuration( 0 ),
- mnWidth( 0 ),
- mnHeight( 0 ),
- mnVersion( 0 ),
maSizeCondition( osl_createCondition() )
{
OSErr result;
@@ -63,8 +57,9 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
NSApplicationLoad();
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
// check the version of QuickTime installed
- result = Gestalt(gestaltQuickTime,&mnVersion);
- if ((result == noErr) && (mnVersion >= QT701))
+ long nVersion;
+ result = Gestalt(gestaltQuickTime,&nVersion);
+ if ((result == noErr) && (nVersion >= QT701))
{
// we have version 7.01 or later, initialize
mbInitialized = true;