summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-05-05 22:17:59 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2014-05-05 22:22:40 +0300
commit718fbf4f808def97ad55b1afaeb5af68b9144b96 (patch)
tree82aa032e54f506bb802634ea9b3e402b65eeae68 /sfx2
parent1a2a961c1e7cdef648c28e211433e8de6e8a831b (diff)
Fix indentation
Change-Id: I7ac9792da93a1b5231ddac5398823667b28adf92
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/guisaveas.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 908ed2a878d5..85a9947c267a 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -1715,11 +1715,13 @@ bool SfxStoringHelper::GUIStoreModel( uno::Reference< frame::XModel > xModel,
}
// Launch PDF viewer
- if ( nStoreMode & PDFEXPORT_REQUESTED ) {
+ if ( nStoreMode & PDFEXPORT_REQUESTED )
+ {
FilterConfigItem aItem( "Office.Common/Filter/PDF/Export/" );
bool aViewPDF = aItem.ReadBool( "ViewPDFAfterExport", false );
- if ( aViewPDF ) {
+ if ( aViewPDF )
+ {
uno::Reference<XSystemShellExecute> xSystemShellExecute(SystemShellExecute::create( ::comphelper::getProcessComponentContext() ) );
xSystemShellExecute->execute( aURL.GetMainURL( INetURLObject::NO_DECODE ), "", SystemShellExecuteFlags::URIS_ONLY );
}