diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-20 11:21:22 +0200 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-10-20 11:21:55 +0200 |
commit | ee9befa313473b8530ba2ab21c3b8ded1e599c90 (patch) | |
tree | 427ffbb0c2938fb33bb6cf8313a96d5e9e2c05e4 /sc/source/ui/view/viewfun5.cxx | |
parent | 9b05409ff7bf1e6bb52b288852a506b764ed6f76 (diff) |
Removed lots of dead code.
Diffstat (limited to 'sc/source/ui/view/viewfun5.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun5.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx index 08d2e633a241..5ab159cf7dbc 100644 --- a/sc/source/ui/view/viewfun5.cxx +++ b/sc/source/ui/view/viewfun5.cxx @@ -326,12 +326,6 @@ BOOL ScViewFunc::PasteDataFormat( ULONG nFormatId, { // Do CSV dialog if more than one line. sal_Int32 nDelim = aStr.indexOf('\n'); -#if 0 - ::rtl::OString tmpStr = OUStringToOString( aStr, - RTL_TEXTENCODING_UTF8 ); - fprintf( stderr, "String is '%s' (%d) [%d]\n", tmpStr.getStr(), - tmpStr.getLength(), nDelim); -#endif if (nDelim >= 0 && nDelim != aStr.getLength () - 1) { ScImportStringStream aStrm( aStr); @@ -540,10 +534,6 @@ BOOL ScViewFunc::PasteDataFormat( ULONG nFormatId, uno::Reference < io::XInputStream > xStm; if( aDataHelper.GetInputStream( nFormatId, xStm ) ) { -#if 0 - SotStorage aDest( "d:\\test.xls" ); // to see the file - pStor->CopyTo( &aDest ); -#endif ScDocument* pInsDoc = new ScDocument( SCDOCMODE_CLIP ); SCTAB nSrcTab = 0; // Biff5 in clipboard: always sheet 0 pInsDoc->ResetClip( pDoc, nSrcTab ); @@ -615,15 +605,6 @@ BOOL ScViewFunc::PasteDataFormat( ULONG nFormatId, String aFile = aFileList.GetFile( i ); PasteFile( aPos, aFile, bLink ); -#if 0 - SfxStringItem aNameItem( FID_INSERT_FILE, aFile ); - SfxPointItem aPosItem( FN_PARAM_1, aPos ); - SfxDispatcher* pDisp = - GetViewData()->GetViewShell()->GetViewFrame()->GetDispatcher(); - if (pDisp) - pDisp->Execute( FID_INSERT_FILE, SFX_CALLMODE_ASYNCHRON, - &aNameItem, &aPosItem, (void*)0 ); -#endif aPos.X() += 400; aPos.Y() += 400; |