diff options
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/arealink.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx index 2b01cddb41c7..425af099b597 100644 --- a/sc/source/ui/docshell/arealink.cxx +++ b/sc/source/ui/docshell/arealink.cxx @@ -71,7 +71,7 @@ ScAreaLink::ScAreaLink( SfxObjectShell* pShell, const OUString& rFile, bInCreate (false), bDoInsert (true) { - OSL_ENSURE(dynamic_cast< const ScDocShell *>( pShell ) != nullptr, "ScAreaLink mit falscher ObjectShell"); + OSL_ENSURE(dynamic_cast< const ScDocShell *>( pShell ) != nullptr, "ScAreaLink with wrong ObjectShell"); pImpl->m_pDocSh = static_cast< ScDocShell* >( pShell ); SetRefreshHandler( LINK( this, ScAreaLink, RefreshHdl ) ); SetRefreshControl( &pImpl->m_pDocSh->GetDocument().GetRefreshTimerControlAddress() ); diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 3e06af5bd726..dd0576f281c3 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -1998,7 +1998,7 @@ bool ScDocFunc::InsertCells( const ScRange& rRange, const ScMarkData* pTabMark, nPaintFlags |= PaintPartFlags::Top; break; default: - OSL_FAIL("Falscher Code beim Einfuegen"); + OSL_FAIL("Wrong code at inserting"); bSuccess = false; break; } @@ -2502,7 +2502,7 @@ bool ScDocFunc::DeleteCells( const ScRange& rRange, const ScMarkData* pTabMark, nPaintFlags |= PaintPartFlags::Top; break; default: - OSL_FAIL("Falscher Code beim Loeschen"); + OSL_FAIL("Wrong code at deleting"); break; } diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index b20ad11cde30..aeb1b1baf857 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -395,7 +395,7 @@ void ScDocShell::CalcOutputFactor() nPrtToScreenFactor = nPrinterWidth / (double) nWindowWidth; else { - OSL_FAIL("GetTextSize gibt 0 ??"); + OSL_FAIL("GetTextSize returns 0 ??"); nPrtToScreenFactor = 1.0; } } @@ -1078,7 +1078,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck if ( pAct && pAct->GetActionNumber() > nOldActionMax ) pAct->SetComment( rComment ); else - OSL_FAIL( "MergeDocument: wohin mit dem Kommentar?!?" ); + OSL_FAIL( "MergeDocument: what to do with the comment?!?" ); } // adjust references diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 0723f4e06927..6233fa671711 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -204,7 +204,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) } ScDBData* pDBData = GetDBData( ScRange(aPos), SC_DB_IMPORT, ScGetDBSelection::Keep ); - OSL_ENSURE(pDBData, "Cannot create DB-Daten"); + OSL_ENSURE(pDBData, "Cannot create DB data"); sTarget = pDBData->GetName(); } } @@ -1295,7 +1295,7 @@ void ScDocShell::DoAutoStyle( const ScRange& rRange, const OUString& rStyle ) if (pStyleSheet) { OSL_ENSURE(rRange.aStart.Tab() == rRange.aEnd.Tab(), - "DoAutoStyle mit mehreren Tabellen"); + "DoAutoStyle with several tables"); SCTAB nTab = rRange.aStart.Tab(); SCCOL nStartCol = rRange.aStart.Col(); SCROW nStartRow = rRange.aStart.Row(); @@ -1322,7 +1322,7 @@ void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint ) OUString aNewName = pStyle->GetName(); OUString aOldName = aNewName; - const SfxStyleSheetModifiedHint* pExtendedHint = dynamic_cast<const SfxStyleSheetModifiedHint*>(&rHint); // Name geaendert? + const SfxStyleSheetModifiedHint* pExtendedHint = dynamic_cast<const SfxStyleSheetModifiedHint*>(&rHint); // name changed? if (pExtendedHint) aOldName = pExtendedHint->GetOldName(); |