summaryrefslogtreecommitdiffstats
path: root/cui/source/customize
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:13:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:16:15 +0100
commita58f6d2744fde88f2034987208124e5b2505c641 (patch)
tree167d94743e2854bae544e9a09b59b0fb47b5e3ee /cui/source/customize
parento3tl::make_unique -> std::make_unique in tools..xmloff (diff)
downloadcore-a58f6d2744fde88f2034987208124e5b2505c641.tar.gz
core-a58f6d2744fde88f2034987208124e5b2505c641.zip
loplugin:indentation in cppu..cui
Change-Id: If625e5bf38ca8e1f12686038c7c9be8d0303b6f6 Reviewed-on: https://gerrit.libreoffice.org/67536 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/customize')
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx2
-rw-r--r--cui/source/customize/cfg.cxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx
index 01746d0c10e5..174cf7f458ae 100644
--- a/cui/source/customize/SvxToolbarConfigPage.cxx
+++ b/cui/source/customize/SvxToolbarConfigPage.cxx
@@ -1002,7 +1002,7 @@ void SvxToolbarEntriesListBox::ChangeVisibility( SvTreeListEntry* pEntry )
ToolbarSaveInData* pToolbarSaveInData = static_cast<ToolbarSaveInData*>(
pPage->GetSaveInData() );
- pToolbarSaveInData->ApplyToolbar( pToolbar );
+ pToolbarSaveInData->ApplyToolbar( pToolbar );
SetCheckButtonState( pEntry, pEntryData->IsVisible() ?
SvButtonState::Checked : SvButtonState::Unchecked );
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index c8b2e76af427..cb5b083dddc4 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -3382,9 +3382,9 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL )
uno::Any a = props->getPropertyValue("SizePixel");
- xGraphic = m_xGraphProvider->queryGraphic( aMediaProps );
- if ( xGraphic.is() )
- {
+ xGraphic = m_xGraphProvider->queryGraphic( aMediaProps );
+ if ( xGraphic.is() )
+ {
bool bOK = true;
a >>= aSize;
@@ -3426,11 +3426,11 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL )
{
SAL_WARN("cui.customize", "could not create Image from XGraphic");
}
- }
- else
- {
+ }
+ else
+ {
SAL_WARN("cui.customize", "could not get query XGraphic");
- }
+ }
}
catch( uno::Exception& e )
{