summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/instbdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/instbdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx
index ffe119b0603c..8242d3b31740 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -312,11 +312,11 @@ IMPL_LINK( ScInsertTableDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg
SfxMedium* pMed = pDocInserter->CreateMedium();
if ( pMed )
{
- // ERRCTX_SFX_OPENDOC -> "Fehler beim Laden des Dokumentes"
+ // ERRCTX_SFX_OPENDOC -> "Error loading document"
SfxErrorContext aEc( ERRCTX_SFX_OPENDOC, pMed->GetName() );
if ( pDocShTables )
- pDocShTables->DoClose(); // delete passiert beim Zuweisen auf die Ref
+ pDocShTables->DoClose(); // deletion is done when assigning to the reference
pMed->UseInteractionHandler( true ); // to enable the filter options dialog
@@ -330,9 +330,9 @@ IMPL_LINK( ScInsertTableDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg
sal_uLong nErr = pDocShTables->GetErrorCode();
if ( nErr )
- ErrorHandler::HandleError( nErr ); // auch Warnings
+ ErrorHandler::HandleError( nErr ); // warnings, too
- if ( !pDocShTables->GetError() ) // nur Errors
+ if ( !pDocShTables->GetError() ) // errors only
{
FillTables_Impl( &pDocShTables->GetDocument() );
m_pFtPath->SetText( pDocShTables->GetTitle( SFX_TITLE_FULLNAME ) );