diff options
author | Joseph Powers <jpowers27@cox.net> | 2010-11-17 07:41:37 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2010-11-17 07:42:27 -0800 |
commit | 888b88e39c1993096467fd0bbab4053dcefc59a3 (patch) | |
tree | 933b81bac109b9b5d1aa75a0b3d4690b8c6ab236 /toolkit/inc | |
parent | edf99f8800d077ed1c2faabc59172bb7e6cb2fcc (diff) |
libs-gui HC cleanup and .bmp fix
Diffstat (limited to 'toolkit/inc')
-rw-r--r-- | toolkit/inc/toolkit/helper/throbberimpl.hxx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/toolkit/inc/toolkit/helper/throbberimpl.hxx b/toolkit/inc/toolkit/helper/throbberimpl.hxx index 0388b0735113..b2c7a5771f78 100644 --- a/toolkit/inc/toolkit/helper/throbberimpl.hxx +++ b/toolkit/inc/toolkit/helper/throbberimpl.hxx @@ -40,12 +40,14 @@ namespace toolkit //........................................................................ { +#define CSS_UNO ::com::sun::star::uno +#define CSS_GRAPHIC ::com::sun::star::graphic class Throbber_Impl { private: - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > > maImageList; - ::com::sun::star::uno::Reference< VCLXWindow > mxParent; + CSS_UNO::Sequence< CSS_UNO::Reference< CSS_GRAPHIC::XGraphic > > maImageList; + CSS_UNO::Reference< VCLXWindow > mxParent; sal_Bool mbRepeat; sal_Int32 mnStepTime; @@ -56,7 +58,7 @@ namespace toolkit DECL_LINK( TimeOutHdl, Throbber_Impl* ); public: - Throbber_Impl( ::com::sun::star::uno::Reference< VCLXWindow > xParent, + Throbber_Impl( CSS_UNO::Reference< VCLXWindow > xParent, sal_Int32 nStepTime, sal_Bool bRepeat ); ~Throbber_Impl(); @@ -66,15 +68,17 @@ namespace toolkit void setRepeat( sal_Bool bRepeat ) { mbRepeat = bRepeat; } // XSimpleAnimation - void start() throw ( ::com::sun::star::uno::RuntimeException ); - void stop() throw ( ::com::sun::star::uno::RuntimeException ); - void setImageList( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > >& ImageList ) - throw ( ::com::sun::star::uno::RuntimeException ); + void start() throw ( CSS_UNO::RuntimeException ); + void stop() throw ( CSS_UNO::RuntimeException ); + void setImageList( const CSS_UNO::Sequence< CSS_UNO::Reference< CSS_GRAPHIC::XGraphic > >& ImageList ) + throw ( CSS_UNO::RuntimeException ); // Helpers - void initImage() throw ( ::com::sun::star::uno::RuntimeException ); - sal_Bool isHCMode() throw ( ::com::sun::star::uno::RuntimeException ); + void initImage() throw ( CSS_UNO::RuntimeException ); }; //........................................................................ +#undef CSS_UNO +#undef CSS_GRAPHIC + } // namespacetoolkit //........................................................................ |