diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-28 15:38:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-29 06:26:47 +0000 |
commit | 913a2d3692f0dc36c41bfeca2cad7e936b189a30 (patch) | |
tree | 9143f8a8e7d2e89ed4a18a21edab1f348039c3f4 /sfx2/source/dialog/mailmodel.cxx | |
parent | e5c8de332a687b682b596f1a917030185909dd1f (diff) |
com::sun::star->css in sfx2
Change-Id: I20d9b45e4b28c2a4a511774d3154aceb0471d197
Reviewed-on: https://gerrit.libreoffice.org/19643
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rw-r--r-- | sfx2/source/dialog/mailmodel.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx index 5486d1298333..fd309faf2e62 100644 --- a/sfx2/source/dialog/mailmodel.cxx +++ b/sfx2/source/dialog/mailmodel.cxx @@ -135,15 +135,14 @@ SfxMailModel::SaveResult SfxMailModel::ShowFilterOptionsDialog( const OUString& rType, bool bModified, sal_Int32& rNumArgs, - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs ) + css::uno::Sequence< css::beans::PropertyValue >& rArgs ) { SaveResult eRet( SAVE_ERROR ); try { uno::Sequence < beans::PropertyValue > aProps; - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > xFilterCFG = - uno::Reference< container::XNameAccess >( + css::uno::Reference< css::container::XNameAccess > xFilterCFG( xSMGR->createInstance( OUString("com.sun.star.document.FilterFactory") ), uno::UNO_QUERY ); css::uno::Reference< css::util::XModifiable > xModifiable( xModel, css::uno::UNO_QUERY ); @@ -226,7 +225,7 @@ SfxMailModel::SaveResult SfxMailModel::ShowFilterOptionsDialog( { xModifiable->setModified( sal_False ); } - catch( com::sun::star::beans::PropertyVetoException& ) + catch( css::beans::PropertyVetoException& ) { } } @@ -619,12 +618,12 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat( { xModifiable->setModified( sal_False ); } - catch( com::sun::star::beans::PropertyVetoException& ) + catch( css::beans::PropertyVetoException& ) { } } } - catch ( com::sun::star::io::IOException& ) + catch ( css::io::IOException& ) { eRet = SAVE_ERROR; } @@ -642,7 +641,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat( rFileNamePath = aFileURL; eRet = SAVE_SUCCESSFULL; } - catch ( com::sun::star::io::IOException& ) + catch ( css::io::IOException& ) { eRet = SAVE_ERROR; } |