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/appl | |
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/appl')
-rw-r--r-- | sfx2/source/appl/app.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/appuno.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/helpinterceptor.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/appl/shutdownicon.cxx | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 6ff4e5c5cea6..ff66aad976c2 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -507,7 +507,7 @@ SfxApplication::ChooseScript() SAL_INFO( "sfx.appl", "done, now exec it"); - sal_uInt16 nRet = pDlg->Execute(); + sal_uInt16 nRet = pDlg->Execute(); SAL_INFO( "sfx.appl", "has returned"); diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx index 0de7be3c144c..2fef73c3df21 100644 --- a/sfx2/source/appl/appuno.cxx +++ b/sfx2/source/appl/appuno.cxx @@ -1223,11 +1223,11 @@ void TransformItems( sal_uInt16 nSlotId, const SfxItemSet& rSet, uno::Sequence<b continue; if ( nId == SID_SAVEACOPYITEM ) continue; - if ( nId == SID_MODIFYPASSWORDINFO ) + if ( nId == SID_MODIFYPASSWORDINFO ) continue; - if ( nId == SID_SUGGESTEDSAVEASDIR ) + if ( nId == SID_SUGGESTEDSAVEASDIR ) continue; - if ( nId == SID_SUGGESTEDSAVEASNAME ) + if ( nId == SID_SUGGESTEDSAVEASNAME ) continue; } diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx index 7b8c1f98ddb2..8c782108857a 100644 --- a/sfx2/source/appl/helpinterceptor.cxx +++ b/sfx2/source/appl/helpinterceptor.cxx @@ -51,7 +51,7 @@ HelpInterceptor_Impl::~HelpInterceptor_Impl() void HelpInterceptor_Impl::addURL( const OUString& rURL ) { - if ( !m_pHistory ) + if ( !m_pHistory ) m_pHistory.reset( new std::vector<std::unique_ptr<HelpHistoryEntry_Impl>> ); size_t nCount = m_pHistory->size(); diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 45cfaeeb9937..0035877b1bff 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -2698,7 +2698,7 @@ void SfxHelpWindow_Impl::InitSizes() void SfxHelpWindow_Impl::LoadConfig() { - SvtViewOptions aViewOpt( EViewType::Window, CONFIGNAME_HELPWIN ); + SvtViewOptions aViewOpt( EViewType::Window, CONFIGNAME_HELPWIN ); if ( !aViewOpt.Exists() ) return; diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 0510d7f537a2..ce484741909d 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -844,7 +844,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) { "sfx.appl", "LIBO_FLATPAK mode /.flatpak-info [Instance] app-path \"" << path << "\" doesn't contain /app/org.libreoffice.LibreOffice/"); - throw Failure(); + throw Failure(); } auto const i2 = i1 + segments.size; auto i3 = path.indexOf('/', i2); @@ -853,7 +853,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) { "sfx.appl", "LIBO_FLATPAK mode /.flatpak-info [Instance] app-path \"" << path << "\" doesn't contain branch segment"); - throw Failure(); + throw Failure(); } i3 = path.indexOf('/', i3 + 1); if (i3 == -1) { @@ -861,7 +861,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) { "sfx.appl", "LIBO_FLATPAK mode /.flatpak-info [Instance] app-path \"" << path << "\" doesn't contain sha segment"); - throw Failure(); + throw Failure(); } ++i3; auto const i4 = path.indexOf('/', i3); @@ -870,7 +870,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) { "sfx.appl", "LIBO_FLATPAK mode /.flatpak-info [Instance] app-path \"" << path << "\" doesn't contain files segment"); - throw Failure(); + throw Failure(); } path = path.copy(0, i1) + "/runtime/org.libreoffice.LibreOffice.Help/" + path.copy(i2, i3 - i2) + sha + path.copy(i4); diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index a05579fbdd89..da830474037a 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -716,7 +716,7 @@ css::uno::Any SAL_CALL ShutdownIcon::getFastPropertyValue( ::sal_Int32 nHandle ) case PROPHANDLE_TERMINATEVETOSTATE : { bool bState = (m_bListenForTermination && m_bVeto); - aValue <<= bState; + aValue <<= bState; } break; |