diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 22:55:00 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-19 01:34:04 +0100 |
commit | e51aca1fa61f2e433da2185e53e9be982f50eb74 (patch) | |
tree | ede35c5365161ce6012de8c12b2300c10cf7516d /sd | |
parent | adapt ScDataPilotTableObj test to XDataPilotTable2 changes (diff) | |
download | core-e51aca1fa61f2e433da2185e53e9be982f50eb74.tar.gz core-e51aca1fa61f2e433da2185e53e9be982f50eb74.zip |
svtools: Remove obsolete GraphicFilter::{Do,Has}ImportDialog
And simplify sdgrffilter because this if is always true.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/grf/sdgrffilter.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx index 48d46ab11ab1..4f50f37171e0 100644 --- a/sd/source/filter/grf/sdgrffilter.cxx +++ b/sd/source/filter/grf/sdgrffilter.cxx @@ -210,9 +210,6 @@ sal_Bool SdGRFFilter::Import() const sal_uInt16 nFilter = rGraphicFilter.GetImportFormatNumberForTypeName( mrMedium.GetFilter()->GetTypeName() ); sal_Bool bRet = sal_False; - // ggf. Filterdialog ausfuehren - if ( !rGraphicFilter.HasImportDialog( nFilter ) || rGraphicFilter.DoImportDialog( NULL, nFilter ) ) - { SvStream* pIStm = mrMedium.GetInStream(); sal_uInt16 nReturn = pIStm ? rGraphicFilter.ImportGraphic( aGraphic, aFileName, *pIStm, nFilter ) : 1; @@ -259,7 +256,6 @@ sal_Bool SdGRFFilter::Import() pPage->InsertObject( new SdrGrafObj( aGraphic, Rectangle( aPos, aGrfSize ) ) ); bRet = sal_True; } - } return bRet; } |