diff options
Diffstat (limited to 'cui/source/customize')
-rw-r--r-- | cui/source/customize/SvxToolbarConfigPage.cxx | 6 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 6 | ||||
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index abc741297ff7..ceb00d6e4d29 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -552,7 +552,7 @@ IMPL_LINK( SvxToolbarConfigPage, ModifyItemHdl, MenuButton *, pButton, void ) } catch ( css::uno::Exception& e) { - SAL_WARN("cui.customize", "Error replacing image: " << e.Message); + SAL_WARN("cui.customize", "Error replacing image: " << e); } } } @@ -602,7 +602,7 @@ IMPL_LINK( SvxToolbarConfigPage, ModifyItemHdl, MenuButton *, pButton, void ) } catch ( css::uno::Exception& e ) { - SAL_WARN("cui.customize", "Error resetting image: " << e.Message); + SAL_WARN("cui.customize", "Error resetting image: " << e); } } else if (sIdent == "restoreItem") @@ -659,7 +659,7 @@ IMPL_LINK( SvxToolbarConfigPage, ModifyItemHdl, MenuButton *, pButton, void ) } catch ( css::uno::Exception& e ) { - SAL_WARN("cui.customize", "Error restoring image: " << e.Message); + SAL_WARN("cui.customize", "Error restoring image: " << e); } } else diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index b342c42e327e..51bab76a9843 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -926,7 +926,7 @@ void ContextMenuSaveInData::Reset() } catch ( const css::uno::Exception& e ) { - SAL_WARN("cui.customize", "Exception caught while resetting context menus: " << e.Message); + SAL_WARN("cui.customize", "Exception caught while resetting context menus: " << e); } } PersistChanges( GetConfigManager() ); @@ -941,7 +941,7 @@ void ContextMenuSaveInData::ResetContextMenu( const SvxConfigEntry* pEntry ) } catch ( const css::uno::Exception& e ) { - SAL_WARN("cui.customize", "Exception caught while resetting context menu: " << e.Message); + SAL_WARN("cui.customize", "Exception caught while resetting context menu: " << e); } PersistChanges( GetConfigManager() ); m_pRootEntry.reset(); @@ -3517,7 +3517,7 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL ) } catch( uno::Exception& e ) { - SAL_WARN("cui.customize", "Caught exception importing XGraphic: " << e.Message); + SAL_WARN("cui.customize", "Caught exception importing XGraphic: " << e); } return result; } diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index 02a34d9daf34..fe02b8b0497a 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -695,7 +695,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent } catch( Exception& e ) { - SAL_INFO("cui.customize", "Caught some exception whilst retrieving browse nodes from factory... Exception: " << e.Message); + SAL_INFO("cui.customize", "Caught some exception whilst retrieving browse nodes from factory... Exception: " << e); // TODO exception handling } |