[Libreoffice-commits] core.git: avmedia/source

Andras Timar atimar at suse.com
Mon Apr 15 00:14:06 PDT 2013


 avmedia/source/framework/mediacontrol.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2a6009ffc10dc64dd6f8dc23f653ee8a49f9d86d
Author: Andras Timar <atimar at suse.com>
Date:   Mon Apr 15 00:11:40 2013 -0700

    use large icons in Media Player window when icon size is set to large
    
    Change-Id: Ib1506f4917eed6b05af3df0e83b2843fd370d374

diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx
index 553d130..09355e1 100644
--- a/avmedia/source/framework/mediacontrol.cxx
+++ b/avmedia/source/framework/mediacontrol.cxx
@@ -24,6 +24,7 @@
 #include <avmedia/mediaplayer.hxx>
 #include "helpids.hrc"
 #include <tools/time.hxx>
+#include <svtools/miscopt.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/lstbox.hxx>
 #include <unotools/syslocale.hxx>
@@ -63,7 +64,7 @@ namespace avmedia
 
 MediaControl::MediaControl( Window* pParent, MediaControlStyle eControlStyle ) :
     Control( pParent ),
-    maImageList( AVMEDIA_RESID( AVMEDIA_IMGLST ) ),
+    maImageList( SvtMiscOptions().AreCurrentSymbolsLarge() ? AVMEDIA_RESID( AVMEDIA_IMGLST_L ) : AVMEDIA_RESID( AVMEDIA_IMGLST ) ),
     maItem( 0, AVMEDIA_SETMASK_ALL ),
     maPlayToolBox( this, WB_3DLOOK ),
     maTimeSlider( this, WB_HORZ | WB_DRAG | WB_3DLOOK | WB_SLIDERSET ),


More information about the Libreoffice-commits mailing list