diff options
Diffstat (limited to 'cui/source/customize')
-rw-r--r-- | cui/source/customize/SvxToolbarConfigPage.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 14 |
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 ) { |