diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:54:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-09 21:04:42 +0100 |
commit | 45f4de6d333aa3fa5873cf8e1146286c74960557 (patch) | |
tree | 463a497d6132e44d82294772be4aa3f487ad13e7 /sfx2/source/doc/guisaveas.cxx | |
parent | 34f333445c54c87f3afe777fa467f7a2bb122208 (diff) |
loplugin:indentation in sfx2..slideshow
Change-Id: I3bd23a8f6237d0887a4782b6179a413dd2f03e02
Reviewed-on: https://gerrit.libreoffice.org/67564
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/guisaveas.cxx')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 9e0a5649e473..f925d71bfa17 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -997,7 +997,7 @@ bool ModelData_Impl::OutputFileDialog( sal_Int16 nStoreMode, INetURLObject aURL( pFileDlg->GetPath() ); // the path should be provided outside since it might be used for further calls to the dialog aSuggestedName = aURL.GetName( INetURLObject::DecodeMechanism::WithCharset ); - aSuggestedDir = pFileDlg->GetDisplayDirectory(); + aSuggestedDir = pFileDlg->GetDisplayDirectory(); // old filter options should be cleared in case different filter is used @@ -1125,14 +1125,14 @@ bool ModelData_Impl::ShowDocumentInfoDialog(const std::function< void () >& aFun OUString ModelData_Impl::GetRecommendedExtension( const OUString& aTypeName ) { - if ( aTypeName.isEmpty() ) + if ( aTypeName.isEmpty() ) return OUString(); - uno::Reference< container::XNameAccess > xTypeDetection( + uno::Reference< container::XNameAccess > xTypeDetection( comphelper::getProcessServiceFactory()->createInstance("com.sun.star.document.TypeDetection"), uno::UNO_QUERY ); - if ( xTypeDetection.is() ) - { + if ( xTypeDetection.is() ) + { uno::Sequence< beans::PropertyValue > aTypeNameProps; if ( ( xTypeDetection->getByName( aTypeName ) >>= aTypeNameProps ) && aTypeNameProps.getLength() ) { |