diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-01 09:56:55 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-01 11:06:26 +0000 |
commit | 75c1a8033a876b711c7b360565c99f831dd9d2e8 (patch) | |
tree | 099dd4bc0e40379c386474e72a04440b362b169d /cui | |
parent | 7cac55174385bb278c4ae979bcf31f106072798e (diff) |
WaE: various sillies flagged by MSVC++
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/about.cxx | 8 | ||||
-rw-r--r-- | cui/source/inc/cuitabarea.hxx | 1 | ||||
-rw-r--r-- | cui/source/options/optinet2.cxx | 28 |
3 files changed, 15 insertions, 22 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 0d77033cc2d7..b987b4af08ed 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -65,14 +65,6 @@ using namespace ::com::sun::star; #define SPACE_OFFSET 5 #define SCROLL_TIMER 30 -/** loads the application logo as used in the about dialog and impress slideshow pause screen */ -Image SfxApplication::GetApplicationLogo() -{ - BitmapEx aBitmap; - Application::LoadBrandBitmap ("about", aBitmap); - return Image( aBitmap ); -} - /* get good version information */ static String GetBuildId() diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index 1f76ce0ad609..7bb13e2ecbb7 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -657,6 +657,7 @@ public: const ResId &aLoad, const ResId &aSave, const ResId &aEmbed, const ResId &aTableName, XPropertyListType t, XOutdevItemPool* mpXPool ); + virtual ~SvxLoadSaveEmbed() {}; XPropertyListRef GetList(); void HideLoadSaveEmbed(); bool GetEmbed(); diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index a8fe225571da..17a55efdd03a 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -315,15 +315,15 @@ void SvxProxyTabPage::ReadConfigData_Impl() } } - catch(container::NoSuchElementException &e) { + catch(container::NoSuchElementException &) { OSL_TRACE( "SvxProxyTabPage::ReadConfigData_Impl: NoSuchElementException caught" ); } - catch(com::sun::star::lang::WrappedTargetException &e) { + catch(com::sun::star::lang::WrappedTargetException &) { OSL_TRACE( "SvxProxyTabPage::ReadConfigData_Impl: WrappedTargetException caught" ); } - catch(RuntimeException &e) { + catch(RuntimeException &) { OSL_TRACE( "SvxProxyTabPage::ReadConfigData_Impl: RuntimeException caught" ); } @@ -373,16 +373,16 @@ void SvxProxyTabPage::ReadConfigDefaults_Impl() aNoProxyForED.SetText( aStringValue ); } } - catch(beans::UnknownPropertyException &e) + catch(beans::UnknownPropertyException &) { OSL_TRACE( "SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught" ); } - catch(com::sun::star::lang::WrappedTargetException &e) { + catch(com::sun::star::lang::WrappedTargetException &) { OSL_TRACE( "SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught" ); } - catch(RuntimeException &e) + catch(RuntimeException &) { OSL_TRACE( "SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught" ); } @@ -407,16 +407,16 @@ void SvxProxyTabPage::RestoreConfigDefaults_Impl() xChangesBatch->commitChanges(); } - catch(beans::UnknownPropertyException &e) + catch(beans::UnknownPropertyException &) { OSL_TRACE( "SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught" ); } - catch(com::sun::star::lang::WrappedTargetException &e) { + catch(com::sun::star::lang::WrappedTargetException &) { OSL_TRACE( "SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught" ); } - catch(RuntimeException &e) + catch(RuntimeException &) { OSL_TRACE( "SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught" ); } @@ -512,23 +512,23 @@ sal_Bool SvxProxyTabPage::FillItemSet(SfxItemSet& ) xChangesBatch->commitChanges(); } - catch(com::sun::star::lang::IllegalArgumentException &e) { + catch(com::sun::star::lang::IllegalArgumentException &) { OSL_TRACE( "SvxProxyTabPage::FillItemSet: IllegalArgumentException caught" ); } - catch(beans::UnknownPropertyException &e) { + catch(beans::UnknownPropertyException &) { OSL_TRACE( "SvxProxyTabPage::FillItemSet: UnknownPropertyException caught" ); } - catch(beans::PropertyVetoException &e) { + catch(beans::PropertyVetoException &) { OSL_TRACE( "SvxProxyTabPage::FillItemSet: PropertyVetoException caught" ); } - catch(com::sun::star::lang::WrappedTargetException &e) { + catch(com::sun::star::lang::WrappedTargetException &) { OSL_TRACE( "SvxProxyTabPage::FillItemSet: WrappedTargetException caught" ); } - catch(RuntimeException &e) { + catch(RuntimeException &) { OSL_TRACE( "SvxProxyTabPage::FillItemSet: RuntimeException caught" ); } |