diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-09 15:43:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-10 10:09:59 +0200 |
commit | 4358dc795cbd2b49aa87c89795cf63413b82400c (patch) | |
tree | b112046a74791f03b7971d1c22a0d2cb9aa39955 /sc/source/ui | |
parent | f946e905c6c6bb041ae580b14b711c6964af97bd (diff) |
loplugin:constantparam in sc
Change-Id: Ia7bc394fdc0dba720751c2a58d55bfe34b239098
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.hxx | 7 | ||||
-rw-r--r-- | sc/source/ui/inc/cbutton.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/navipi.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/viewfunc.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/navipi/scenwnd.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/celllistsource.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/unoobj/celllistsource.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/unoobj/filtuno.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/vba/excelvbahelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun3.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun5.cxx | 5 |
18 files changed, 40 insertions, 45 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx index 02394b190f8e..a77889463cff 100644 --- a/sc/source/ui/attrdlg/scdlgfact.cxx +++ b/sc/source/ui/attrdlg/scdlgfact.cxx @@ -593,16 +593,16 @@ bool AbstractScTextImportOptionsDlg_Impl::IsDateConversionSet() const } // =========================Factories for createdialog =================== -AbstractScImportAsciiDlg * ScAbstractDialogFactory_Impl::CreateScImportAsciiDlg ( vcl::Window* pParent, const OUString& aDatName, +AbstractScImportAsciiDlg * ScAbstractDialogFactory_Impl::CreateScImportAsciiDlg ( const OUString& aDatName, SvStream* pInStream, ScImportAsciiCall eCall ) { - VclPtr<ScImportAsciiDlg> pDlg = VclPtr<ScImportAsciiDlg>::Create( pParent, aDatName,pInStream, eCall ); + VclPtr<ScImportAsciiDlg> pDlg = VclPtr<ScImportAsciiDlg>::Create( nullptr, aDatName,pInStream, eCall ); return new AbstractScImportAsciiDlg_Impl( pDlg ); } -AbstractScTextImportOptionsDlg * ScAbstractDialogFactory_Impl::CreateScTextImportOptionsDlg(vcl::Window* pParent) +AbstractScTextImportOptionsDlg * ScAbstractDialogFactory_Impl::CreateScTextImportOptionsDlg() { - VclPtr<ScTextImportOptionsDlg> pDlg = VclPtr<ScTextImportOptionsDlg>::Create(pParent); + VclPtr<ScTextImportOptionsDlg> pDlg = VclPtr<ScTextImportOptionsDlg>::Create(nullptr); return new AbstractScTextImportOptionsDlg_Impl(pDlg); } @@ -889,7 +889,7 @@ AbstractScTabBgColorDlg * ScAbstractDialogFactory_Impl::CreateScTabBgColorDlg( return new AbstractScTabBgColorDlg_Impl( pDlg ); } -AbstractScImportOptionsDlg * ScAbstractDialogFactory_Impl::CreateScImportOptionsDlg ( vcl::Window* pParent, +AbstractScImportOptionsDlg * ScAbstractDialogFactory_Impl::CreateScImportOptionsDlg ( bool bAscii, const ScImportOptions* pOptions, const OUString* pStrTitle, @@ -897,7 +897,7 @@ AbstractScImportOptionsDlg * ScAbstractDialogFactory_Impl::CreateScImportOptions bool bOnlyDbtoolsEncodings, bool bImport ) { - VclPtr<ScImportOptionsDlg> pDlg = VclPtr<ScImportOptionsDlg>::Create( pParent, bAscii, pOptions,pStrTitle, bMultiByte,bOnlyDbtoolsEncodings, bImport ); + VclPtr<ScImportOptionsDlg> pDlg = VclPtr<ScImportOptionsDlg>::Create( nullptr, bAscii, pOptions,pStrTitle, bMultiByte,bOnlyDbtoolsEncodings, bImport ); return new AbstractScImportOptionsDlg_Impl( pDlg ); } diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index 0f9e1feadb85..9c459527f20f 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -392,11 +392,11 @@ class ScAbstractDialogFactory_Impl : public ScAbstractDialogFactory public: virtual ~ScAbstractDialogFactory_Impl() {} - virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatName, + virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( const OUString& aDatName, SvStream* pInStream, ScImportAsciiCall eCall) override; - virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg(vcl::Window* pParent) override; + virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg() override; virtual AbstractScAutoFormatDlg * CreateScAutoFormatDlg(vcl::Window* pParent, ScAutoFormat* pAutoFormat, @@ -520,8 +520,7 @@ public: const Color& rDefaultColor, //Currently selected Color const OString& sHelpId ) override; - virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( vcl::Window* pParent, - bool bAscii = true, + virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( bool bAscii = true, const ScImportOptions* pOptions = nullptr, const OUString* pStrTitle = nullptr, bool bMultiByte = false, diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx index a78d71e4eeba..4b6aaaedb99a 100644 --- a/sc/source/ui/inc/cbutton.hxx +++ b/sc/source/ui/inc/cbutton.hxx @@ -37,8 +37,8 @@ public: void Draw( const Point& rAt, const Size& rSize, bool bState ); - void Draw( bool bState ) - { Draw( aBtnPos, aBtnSize, bState ); } + void Draw() + { Draw( aBtnPos, aBtnSize, false ); } void SetOptSizePixel(); diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index b6b615227bb4..6a91afdb1732 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -83,7 +83,7 @@ private: void ExecuteScenarioSlot( sal_uInt16 nSlotId ); void SelectScenario(); void EditScenario(); - void DeleteScenario( bool bQueryBox ); + void DeleteScenario(); private: ScScenarioWindow& mrParent; diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index 2644952b400e..3e837fee52e1 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.hxx @@ -97,7 +97,7 @@ public: void EnterDataAtCursor( const OUString& rString ); //! Not used? - SC_DLLPUBLIC void CutToClip( ScDocument* pClipDoc = nullptr, bool bIncludeObjects = false ); + SC_DLLPUBLIC void CutToClip( bool bIncludeObjects = false ); SC_DLLPUBLIC bool CopyToClip( ScDocument* pClipDoc = nullptr, bool bCut = false, bool bApi = false, bool bIncludeObjects = false, bool bStopEdit = true ); SC_DLLPUBLIC bool CopyToClip( ScDocument* pClipDoc, const ScRangeList& rRange, bool bCut = false, diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx index 501c2c1107d7..cd3d248c29ea 100644 --- a/sc/source/ui/navipi/scenwnd.cxx +++ b/sc/source/ui/navipi/scenwnd.cxx @@ -121,7 +121,7 @@ bool ScScenarioListBox::Notify( NotifyEvent& rNEvt ) bHandled = true; break; case KEY_DELETE: - DeleteScenario( true ); + DeleteScenario(); bHandled = true; break; } @@ -142,7 +142,7 @@ bool ScScenarioListBox::Notify( NotifyEvent& rNEvt ) switch( aPopup.GetSelected() ) { case RID_NAVIPI_SCENARIO_DELETE: - DeleteScenario( true ); + DeleteScenario(); break; case RID_NAVIPI_SCENARIO_EDIT: EditScenario(); @@ -185,10 +185,10 @@ void ScScenarioListBox::EditScenario() ExecuteScenarioSlot( SID_EDIT_SCENARIO ); } -void ScScenarioListBox::DeleteScenario( bool bQueryBox ) +void ScScenarioListBox::DeleteScenario() { if( GetSelectEntryCount() > 0 ) - if( !bQueryBox || (ScopedVclPtr<QueryBox>::Create( nullptr, WinBits( WB_YES_NO | WB_DEF_YES ), ScGlobal::GetRscString( STR_QUERY_DELSCENARIO ) )->Execute() == RET_YES) ) + if( ScopedVclPtr<QueryBox>::Create( nullptr, WinBits( WB_YES_NO | WB_DEF_YES ), ScGlobal::GetRscString( STR_QUERY_DELSCENARIO ) )->Execute() == RET_YES ) ExecuteScenarioSlot( SID_DELETE_SCENARIO ); } diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 9d5b047c546e..c81cd3b7b66b 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -816,7 +816,7 @@ void ScUndoCut::Redo() void ScUndoCut::Repeat(SfxRepeatTarget& rTarget) { if (dynamic_cast<const ScTabViewTarget*>( &rTarget) != nullptr) - static_cast<ScTabViewTarget&>(rTarget).GetViewShell()->CutToClip( nullptr, true ); + static_cast<ScTabViewTarget&>(rTarget).GetViewShell()->CutToClip( true ); } bool ScUndoCut::CanRepeat(SfxRepeatTarget& rTarget) const diff --git a/sc/source/ui/unoobj/celllistsource.cxx b/sc/source/ui/unoobj/celllistsource.cxx index d7222686b20f..f6908f2c2cf6 100644 --- a/sc/source/ui/unoobj/celllistsource.cxx +++ b/sc/source/ui/unoobj/celllistsource.cxx @@ -162,12 +162,12 @@ namespace calc return aAddress; } - OUString OCellListSource::getCellTextContent_noCheck( sal_Int32 _nRangeRelativeColumn, sal_Int32 _nRangeRelativeRow ) + OUString OCellListSource::getCellTextContent_noCheck( sal_Int32 _nRangeRelativeRow ) { OSL_PRECOND( m_xRange.is(), "OCellListSource::getRangeAddress: invalid range!" ); Reference< XTextRange > xCellText; if ( m_xRange.is() ) - xCellText.set(m_xRange->getCellByPosition( _nRangeRelativeColumn, _nRangeRelativeRow ), css::uno::UNO_QUERY); + xCellText.set(m_xRange->getCellByPosition( 0, _nRangeRelativeRow ), css::uno::UNO_QUERY); OUString sText; if ( xCellText.is() ) @@ -194,7 +194,7 @@ namespace calc if ( _nPosition >= getListEntryCount() ) throw IndexOutOfBoundsException(); - return getCellTextContent_noCheck( 0, _nPosition ); + return getCellTextContent_noCheck( _nPosition ); } Sequence< OUString > SAL_CALL OCellListSource::getAllListEntries( ) throw (RuntimeException, std::exception) @@ -207,7 +207,7 @@ namespace calc OUString* pAllEntries = aAllEntries.getArray(); for ( sal_Int32 i = 0; i < aAllEntries.getLength(); ++i ) { - *pAllEntries++ = getCellTextContent_noCheck( 0, i ); + *pAllEntries++ = getCellTextContent_noCheck( i ); } return aAllEntries; diff --git a/sc/source/ui/unoobj/celllistsource.hxx b/sc/source/ui/unoobj/celllistsource.hxx index ceb2e1573991..2cc076bd34e9 100644 --- a/sc/source/ui/unoobj/celllistsource.hxx +++ b/sc/source/ui/unoobj/celllistsource.hxx @@ -128,8 +128,6 @@ namespace calc getRangeAddress( ) const; /** retrievs the text of a cell within our range - @param _nRangeRelativeColumn - the relative column index of the cell within our range @param _nRangeRelativeRow the relative row index of the cell within our range @precond @@ -137,7 +135,6 @@ namespace calc */ OUString getCellTextContent_noCheck( - sal_Int32 _nRangeRelativeColumn, sal_Int32 _nRangeRelativeRow ); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index df1de74049fb..46bf00ce031d 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -1809,10 +1809,10 @@ uno::Sequence<sal_Int8> SAL_CALL ScCellRangesBase::getImplementationId() return css::uno::Sequence<sal_Int8>(); } -void ScCellRangesBase::PaintRanges_Impl( sal_uInt16 nPart ) +void ScCellRangesBase::PaintGridRanges_Impl( ) { for (size_t i = 0, nCount = aRanges.size(); i < nCount; ++i) - pDocShell->PostPaint( *aRanges[ i ], nPart ); + pDocShell->PostPaint( *aRanges[ i ], PAINT_GRID ); } // XSheetOperation @@ -3174,7 +3174,7 @@ void SAL_CALL ScCellRangesBase::setData( const uno::Sequence< uno::Sequence<doub } //! undo - PaintRanges_Impl( PAINT_GRID ); + PaintGridRanges_Impl(); pDocShell->SetDocumentModified(); ForceChartListener_Impl(); // call listeners for this object synchronously bDone = true; @@ -3244,7 +3244,7 @@ void SAL_CALL ScCellRangesBase::setRowDescriptions( } //! undo - PaintRanges_Impl( PAINT_GRID ); + PaintGridRanges_Impl(); pDocShell->SetDocumentModified(); ForceChartListener_Impl(); // call listeners for this object synchronously bDone = true; @@ -3315,7 +3315,7 @@ void SAL_CALL ScCellRangesBase::setColumnDescriptions( } //! undo - PaintRanges_Impl( PAINT_GRID ); + PaintGridRanges_Impl(); pDocShell->SetDocumentModified(); ForceChartListener_Impl(); // call listeners for this object synchronously bDone = true; diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index cdb8682ebb50..1c51354a31bb 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -444,10 +444,10 @@ void ScModelObj::BeforeXMLLoading() pDocShell->BeforeXMLLoading(); } -void ScModelObj::AfterXMLLoading(bool bRet) +void ScModelObj::AfterXMLLoading() { if (pDocShell) - pDocShell->AfterXMLLoading(bRet); + pDocShell->AfterXMLLoading(true); } ScSheetSaveData* ScModelObj::GetSheetSaveData() diff --git a/sc/source/ui/unoobj/filtuno.cxx b/sc/source/ui/unoobj/filtuno.cxx index b1b289d78006..96f74ce7b949 100644 --- a/sc/source/ui/unoobj/filtuno.cxx +++ b/sc/source/ui/unoobj/filtuno.cxx @@ -176,7 +176,7 @@ sal_Int16 SAL_CALL ScFilterOptionsObj::execute() throw(uno::RuntimeException, st if ( xInputStream.is() ) pInStream.reset(utl::UcbStreamHelper::CreateStream( xInputStream )); - std::unique_ptr<AbstractScImportAsciiDlg> pDlg(pFact->CreateScImportAsciiDlg( nullptr, aPrivDatName, pInStream.get(), SC_IMPORTFILE)); + std::unique_ptr<AbstractScImportAsciiDlg> pDlg(pFact->CreateScImportAsciiDlg( aPrivDatName, pInStream.get(), SC_IMPORTFILE)); OSL_ENSURE(pDlg, "Dialog create fail!"); if ( pDlg->Execute() == RET_OK ) { @@ -195,7 +195,7 @@ sal_Int16 SAL_CALL ScFilterOptionsObj::execute() throw(uno::RuntimeException, st { // HTML import. std::unique_ptr<AbstractScTextImportOptionsDlg> pDlg( - pFact->CreateScTextImportOptionsDlg(nullptr)); + pFact->CreateScTextImportOptionsDlg()); if (pDlg->Execute() == RET_OK) { @@ -277,7 +277,7 @@ sal_Int16 SAL_CALL ScFilterOptionsObj::execute() throw(uno::RuntimeException, st ScImportOptions aOptions( cAsciiDel, cStrDel, eEncoding); - std::unique_ptr<AbstractScImportOptionsDlg> pDlg(pFact->CreateScImportOptionsDlg(nullptr, + std::unique_ptr<AbstractScImportOptionsDlg> pDlg(pFact->CreateScImportOptionsDlg( bAscii, &aOptions, &aTitle, bMultiByte, bDBEnc, !bExport)); OSL_ENSURE(pDlg, "Dialog create fail!"); diff --git a/sc/source/ui/vba/excelvbahelper.cxx b/sc/source/ui/vba/excelvbahelper.cxx index e6f583b8ac39..29ac7bc5a818 100644 --- a/sc/source/ui/vba/excelvbahelper.cxx +++ b/sc/source/ui/vba/excelvbahelper.cxx @@ -177,7 +177,7 @@ implnCut( const uno::Reference< frame::XModel>& xModel ) ScTabViewShell* pViewShell = getBestViewShell( xModel ); if ( pViewShell ) { - pViewShell->CutToClip( nullptr, true ); + pViewShell->CutToClip( true ); // mark the copied transfer object so it is used in ScVbaRange::Insert ScTransferObj* pClipObj = ScTransferObj::GetOwnClipboard( nullptr ); diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 88a620b7f104..b9fbf41ccca7 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1272,7 +1272,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) case SID_CUT: // for graphs in DrawShell { WaitObject aWait( GetViewData()->GetDialogParent() ); - pTabViewShell->CutToClip( nullptr, true ); + pTabViewShell->CutToClip( true ); rReq.Done(); GetViewData()->SetPasteMode( (ScPasteFlags)(SC_PASTE_MODE | SC_PASTE_BORDER)); pTabViewShell->ShowCursor(); diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 70c0af5d6fb7..1ab82abb7c3d 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -977,7 +977,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); OSL_ENSURE( pFact, "ScCellShell::ExecuteDB: SID_TEXT_TO_COLUMNS - pFact is null!" ); std::unique_ptr<AbstractScImportAsciiDlg> pDlg(pFact->CreateScImportAsciiDlg( - nullptr, OUString(), &aStream, SC_TEXTTOCOLUMNS)); + OUString(), &aStream, SC_TEXTTOCOLUMNS)); OSL_ENSURE( pDlg, "ScCellShell::ExecuteDB: SID_TEXT_TO_COLUMNS - pDlg is null!" ); if ( pDlg->Execute() == RET_OK ) diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index c6f0a6c67bf4..e36bf901339f 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -1450,7 +1450,7 @@ void ScGridWindow::DrawButtons(SCCOL nX1, SCCOL nX2, const ScTableInfo& rTabInfo aComboButton.SetPosPixel( aRect.TopLeft() ); aComboButton.SetSizePixel( aRect.GetSize() ); pContentDev->SetClipRegion(vcl::Region(aRect)); - aComboButton.Draw( false ); + aComboButton.Draw(); pContentDev->SetClipRegion(); // always called from Draw() without clip region aComboButton.SetPosPixel( aOldPos ); // restore old state aComboButton.SetSizePixel( aOldSize ); // for MouseUp/Down (AutoFilter) diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx index 77b0fad9e999..24b91a9b739b 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -75,7 +75,7 @@ using namespace com::sun::star; // C U T -void ScViewFunc::CutToClip( ScDocument* pClipDoc, bool bIncludeObjects ) +void ScViewFunc::CutToClip( bool bIncludeObjects ) { UpdateInputLine(); @@ -104,7 +104,7 @@ void ScViewFunc::CutToClip( ScDocument* pClipDoc, bool bIncludeObjects ) MarkDataChanged(); } - CopyToClip( pClipDoc, true, false, bIncludeObjects ); // copy to clipboard + CopyToClip( nullptr, true, false, bIncludeObjects ); // copy to clipboard ScAddress aOldEnd( aRange.aEnd ); // combined cells in this range? pDoc->ExtendMerge( aRange, true ); diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx index 260f4f8efa46..bbd61e0c005b 100644 --- a/sc/source/ui/view/viewfun5.cxx +++ b/sc/source/ui/view/viewfun5.cxx @@ -307,7 +307,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId, // make sense to do it for other data types too. ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); std::unique_ptr<AbstractScTextImportOptionsDlg> pDlg( - pFact->CreateScTextImportOptionsDlg(nullptr)); + pFact->CreateScTextImportOptionsDlg()); if (pDlg->Execute() == RET_OK) { @@ -336,8 +336,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId, ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); std::unique_ptr<AbstractScImportAsciiDlg> pDlg( - pFact->CreateScImportAsciiDlg( nullptr, OUString(), &aStrm, - SC_PASTETEXT)); + pFact->CreateScImportAsciiDlg( OUString(), &aStrm, SC_PASTETEXT)); if (pDlg->Execute() == RET_OK) { |