diff options
author | Johnny_M <klasse@partyheld.de> | 2017-06-30 22:49:10 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-07-03 12:03:58 +0200 |
commit | 5034e8217c9844293dc94e5dff0bdc865ad7a91a (patch) | |
tree | ad59e9dd3844b98efb5d130edfa7d7c793dd4a11 /sc/source/ui | |
parent | 00c81f291922b09f3bd6ceb334d5aaae0bab5334 (diff) |
Translate German comments and debug strings (leftovers in dirs sal to sc)
Translates leftovers found using a custom regex and manually checking
the rest of the affected file.
Additionally:
- A few spelling fixes
Change-Id: I2b83bd11adf520b90bb29c8ea624990759dad3c6
Reviewed-on: https://gerrit.libreoffice.org/39427
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/ui')
-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 | ||||
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/formdlg/formula.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tabview.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/undobase.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/src/scstring.src | 4 | ||||
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cursuno.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/unoobj/datauno.cxx | 42 | ||||
-rw-r--r-- | sc/source/ui/unoobj/fielduno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/fmtuno.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/unoobj/linkuno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/unoobj/textuno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 2 |
22 files changed, 59 insertions, 59 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(); diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index 00cf7c2db5b3..8ca99aac6171 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -46,7 +46,7 @@ #* #* Function: Constructor of ScFunctionWin Class #* -#* Input: Sfx- Verknuepfungen, Fenster, Resource +#* Input: Sfx - links, window, resource #* #* Output: --- #* @@ -235,7 +235,7 @@ void ScFunctionWin::UpdateFunctionList() pDesc = pFuncMgr->Next(); } } - else // LRU-Liste + else // LRU list { for (::std::vector<const formula::IFunctionDescription*>::iterator iter=aLRUList.begin(); iter != aLRUList.end(); ++iter) diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx index cbaf4dd74165..bdd9d25e2ba0 100644 --- a/sc/source/ui/formdlg/formula.cxx +++ b/sc/source/ui/formdlg/formula.cxx @@ -397,7 +397,7 @@ void ScFormulaDlg::SetReference( const ScRange& rRef, ScDocument* pRefDoc ) bool bOtherDoc = (pRefDoc != m_pDoc && pRefDoc->GetDocumentShell()->HasName()); if ( bOtherDoc ) { - // reference to other document - wie inputhdl.cxx + // reference to other document - like inputhdl.cxx OSL_ENSURE(rRef.aStart.Tab()==rRef.aEnd.Tab(), "nStartTab!=nEndTab"); diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index c0c9b83490e2..ec37aa9bd389 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -54,7 +54,7 @@ class SdrHdlList; class ScTransferObj; struct SpellCallbackInfo; - // Maus-Status (nMouseStatus) + // mouse status (nMouseStatus) #define SC_GM_NONE 0 #define SC_GM_TABDOWN 1 @@ -64,7 +64,7 @@ struct SpellCallbackInfo; #define SC_GM_WATERUNDO 5 #define SC_GM_URLDOWN 6 - // Page-Drag-Modus + // page drag mode #define SC_PD_NONE 0 #define SC_PD_RANGE_L 1 diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index 9f60f9b6eeb0..2a7e67994b74 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -333,7 +333,7 @@ public: bool SelMouseButtonDown( const MouseEvent& rMEvt ); ScDrawView* GetScDrawView() { return pDrawView; } - // gegen CLOKs + // against CLOKs SdrView* GetSdrView() { return pDrawView; } bool IsMinimized() const { return bMinimized; } @@ -454,7 +454,7 @@ public: void ScrollToObject( SdrObject* pDrawObj ); void MakeVisible( const tools::Rectangle& rHMMRect ); - // Zeichnen + // Drawing void PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScUpdateMode eMode = ScUpdateMode::All ); diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index 7ca09678f1e9..57a89337aa01 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -141,7 +141,7 @@ public: enum ScMoveUndoMode { SC_UNDO_REFFIRST, SC_UNDO_REFLAST }; -class ScMoveUndo: public ScSimpleUndo // mit Referenzen +class ScMoveUndo: public ScSimpleUndo // with references { public: ScMoveUndo( ScDocShell* pDocSh, diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index cbca4cecc81b..a05185191a22 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -238,7 +238,7 @@ void ScContentTree::InitRoot( ScContentId nType ) BitmapEx aBitmap(aContentBmps[(int)nType - 1]); Image aImage(aBitmap); OUString aName(ScResId(SCSTR_CONTENT_ROOT + (int)nType)); - // wieder an die richtige Position: + // back to the correct position: sal_uInt16 nPos = nRootType != ScContentId::ROOT ? 0 : pPosList[nType]-1; SvTreeListEntry* pNew = InsertEntry( aName, aImage, aImage, nullptr, false, nPos ); @@ -587,7 +587,7 @@ void ScContentTree::Command( const CommandEvent& rCEvt ) case CommandEventId::ContextMenu: { - // Drag-Drop Modus + // drag-and-drop mode ScopedVclPtrInstance<PopupMenu> aPop; VclBuilder aBuilder(nullptr, VclBuilderContainer::getUIRootDir(), "modules/scalc/ui/dropmenu.ui", ""); @@ -1518,7 +1518,7 @@ void ScContentTree::SetRootType( ScContentId nNew ) } } -void ScContentTree::ToggleRoot() // nach Selektion +void ScContentTree::ToggleRoot() // after selection { ScContentId nNew = ScContentId::ROOT; if ( nRootType == ScContentId::ROOT ) diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 138e4deb2df5..c145b0ec9422 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -177,7 +177,7 @@ void ColumnEdit::ExecuteCol() { SCROW nRow = xDlg->aEdRow->GetRow(); - EvalText(); // setzt nCol + EvalText(); // sets nCol if ( (nCol > 0) && (nRow > 0) ) xDlg->SetCurrentCell(nCol - 1, nRow - 1); @@ -316,7 +316,7 @@ IMPL_LINK(ScNavigatorDlg, DocumentSelectHdl, ListBox&, rListBox, void) IMPL_LINK(ScNavigatorDlg, ToolBoxSelectHdl, ToolBox*, pToolBox, void) { sal_uInt16 nSelId = pToolBox->GetCurItemId(); - // Modus umschalten ? + // Switch the mode? if (nSelId == nZoomId || nSelId == nScenarioId) { NavListMode eOldMode = eListMode; @@ -357,7 +357,7 @@ IMPL_LINK(ScNavigatorDlg, ToolBoxSelectHdl, ToolBox*, pToolBox, void) IMPL_LINK(ScNavigatorDlg, ToolBoxDropdownClickHdl, ToolBox *, pToolBox, void) { - // the popup menu of the drop modus has to be called in the + // the popup menu of the drop mode has to be called in the // click (button down) and not in the select (button up) if (pToolBox->GetCurItemId() == nDragModeId) { diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src index c853dd7732a4..4ca3e92fb35b 100644 --- a/sc/source/ui/src/scstring.src +++ b/sc/source/ui/src/scstring.src @@ -19,7 +19,7 @@ #include "scres.hrc" - // Strings fuer Interface-Namen ------------------------------------------ + // Strings for interface names ------------------------------------------- String SCSTR_LONG_SCDOC_NAME { @@ -205,7 +205,7 @@ String SCSTR_VALID_LIST Text [ en-US ] = "~Entries" ; }; - // fuer Dialoge: + // for dialogues: String SCSTR_CHARSET_USER { diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index b2fcb297cf84..5593feed2a74 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -791,7 +791,7 @@ void Chart2Positioner::createPositionMap() pCol = pCols->begin()->second; if (mbDummyUpperLeft) if (pCol->find(0) == pCol->end()) - (*pCol)[ 0 ] = nullptr; // Dummy fuer Beschriftung + (*pCol)[ 0 ] = nullptr; // dummy for labeling nAllRowCount = static_cast<SCSIZE>(pCol->size()); } diff --git a/sc/source/ui/unoobj/cursuno.cxx b/sc/source/ui/unoobj/cursuno.cxx index 21da6fbc7c08..cd8332aefc76 100644 --- a/sc/source/ui/unoobj/cursuno.cxx +++ b/sc/source/ui/unoobj/cursuno.cxx @@ -208,7 +208,7 @@ void SAL_CALL ScCellCursorObj::collapseToSize( sal_Int32 nColumns, sal_Int32 nRo OSL_ENSURE( rRanges.size() == 1, "Range? Ranges?" ); ScRange aNewRange( *rRanges[ 0 ] ); - aNewRange.PutInOrder(); //! wirklich? + aNewRange.PutInOrder(); //! really? long nEndX = aNewRange.aStart.Col() + nColumns - 1; long nEndY = aNewRange.aStart.Row() + nRows - 1; @@ -240,7 +240,7 @@ void SAL_CALL ScCellCursorObj::gotoStartOfUsedArea(sal_Bool bExpand) ScRange aNewRange( *rRanges[0] ); SCTAB nTab = aNewRange.aStart.Tab(); - SCCOL nUsedX = 0; // Anfang holen + SCCOL nUsedX = 0; // fetch the beginning SCROW nUsedY = 0; if (!pDocSh->GetDocument().GetDataStart( nTab, nUsedX, nUsedY )) { @@ -267,7 +267,7 @@ void SAL_CALL ScCellCursorObj::gotoEndOfUsedArea( sal_Bool bExpand ) ScRange aNewRange( *rRanges[ 0 ]); SCTAB nTab = aNewRange.aStart.Tab(); - SCCOL nUsedX = 0; // Ende holen + SCCOL nUsedX = 0; // fetch the end SCROW nUsedY = 0; if (!pDocSh->GetDocument().GetTableArea( nTab, nUsedX, nUsedY )) { diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx index 30039fd76fed..32ee2b1590bc 100644 --- a/sc/source/ui/unoobj/datauno.cxx +++ b/sc/source/ui/unoobj/datauno.cxx @@ -253,7 +253,7 @@ void ScImportDescriptor::FillImportParam( ScImportParam& rParam, const uno::Sequ rParam.nType = ScDbQuery; break; default: - OSL_FAIL("falscher Mode"); + OSL_FAIL("wrong mode"); rParam.bImport = false; } } @@ -262,11 +262,11 @@ void ScImportDescriptor::FillImportParam( ScImportParam& rParam, const uno::Sequ void ScSortDescriptor::FillProperties( uno::Sequence<beans::PropertyValue>& rSeq, const ScSortParam& rParam ) { - OSL_ENSURE( rSeq.getLength() == GetPropertyCount(), "falscher Count" ); + OSL_ENSURE( rSeq.getLength() == GetPropertyCount(), "wrong count" ); beans::PropertyValue* pArray = rSeq.getArray(); - // Uno-Werte zusammensuchen + // gather Uno values together table::CellAddress aOutPos; aOutPos.Sheet = rParam.nDestTab; @@ -285,14 +285,14 @@ void ScSortDescriptor::FillProperties( uno::Sequence<beans::PropertyValue>& rSeq { pFieldArray[i].Field = rParam.maKeyState[i].nField; pFieldArray[i].IsAscending = rParam.maKeyState[i].bAscending; - pFieldArray[i].FieldType = table::TableSortFieldType_AUTOMATIC; // immer Automatic + pFieldArray[i].FieldType = table::TableSortFieldType_AUTOMATIC; // always automatic pFieldArray[i].IsCaseSensitive = rParam.bCaseSens; pFieldArray[i].CollatorLocale = rParam.aCollatorLocale; pFieldArray[i].CollatorAlgorithm = rParam.aCollatorAlgorithm; } } - // Sequence fuellen + // fill the sequence pArray[0].Name = SC_UNONAME_ISSORTCOLUMNS; pArray[0].Value <<= !rParam.bByRow; @@ -374,7 +374,7 @@ void ScSortDescriptor::FillSortParam( ScSortParam& rParam, const uno::Sequence<b rParam.maKeyState[i].nField = static_cast<SCCOLROW>( pFieldArray[i].Field ); rParam.maKeyState[i].bAscending = pFieldArray[i].SortAscending; - // FieldType wird ignoriert + // FieldType is ignored rParam.maKeyState[i].bDoSort = true; } for (i=nCount; i<nSortSize; i++) @@ -400,7 +400,7 @@ void ScSortDescriptor::FillSortParam( ScSortParam& rParam, const uno::Sequence<b rParam.aCollatorLocale = pFieldArray[i].CollatorLocale; rParam.aCollatorAlgorithm = pFieldArray[i].CollatorAlgorithm; - // FieldType wird ignoriert + // FieldType is ignored rParam.maKeyState[i].bDoSort = true; } for (i=nCount; i<nSortSize; i++) @@ -612,7 +612,7 @@ void SAL_CALL ScSubTotalDescriptorBase::addNew( PutData(aParam); } -// Flags/Einstellungen als Properties +// flags/settings as properties // XEnumerationAccess @@ -782,17 +782,17 @@ ScSubTotalDescriptor::~ScSubTotalDescriptor() void ScSubTotalDescriptor::GetData( ScSubTotalParam& rParam ) const { - rParam = aStoredParam; // Abfrage fuer Interface + rParam = aStoredParam; // query for interface } void ScSubTotalDescriptor::PutData( const ScSubTotalParam& rParam ) { - aStoredParam = rParam; // vom Interface gesetzt + aStoredParam = rParam; // set by the interface } void ScSubTotalDescriptor::SetParam( const ScSubTotalParam& rNew ) { - aStoredParam = rNew; // von aussen gesetzt + aStoredParam = rNew; // set from outside } ScRangeSubTotalDescriptor::ScRangeSubTotalDescriptor(ScDatabaseRangeObj* pPar) : @@ -979,8 +979,8 @@ uno::Sequence<sheet::TableFilterField> SAL_CALL ScFilterDescriptorBase::getFilte ScQueryParam aParam; GetData(aParam); - SCSIZE nEntries = aParam.GetEntryCount(); // allozierte Eintraege im Param - SCSIZE nCount = 0; // aktive + SCSIZE nEntries = aParam.GetEntryCount(); // allocated entries in Param + SCSIZE nCount = 0; // active while ( nCount < nEntries && aParam.GetEntry(nCount).bDoQuery ) ++nCount; @@ -1030,7 +1030,7 @@ uno::Sequence<sheet::TableFilterField> SAL_CALL ScFilterDescriptorBase::getFilte case SC_TOPPERC: aField.Operator = sheet::FilterOperator_TOP_PERCENT; break; case SC_BOTPERC: aField.Operator = sheet::FilterOperator_BOTTOM_PERCENT; break; default: - OSL_FAIL("Falscher Filter-enum"); + OSL_FAIL("wrong filter enum"); aField.Operator = sheet::FilterOperator_EMPTY; } pAry[i] = aField; @@ -1245,8 +1245,8 @@ uno::Sequence<sheet::TableFilterField3> SAL_CALL ScFilterDescriptorBase::getFilt ScQueryParam aParam; GetData(aParam); - SCSIZE nEntries = aParam.GetEntryCount(); // allozierte Eintraege im Param - SCSIZE nCount = 0; // aktive + SCSIZE nEntries = aParam.GetEntryCount(); // allocated entries in Param + SCSIZE nCount = 0; // active while ( nCount < nEntries && aParam.GetEntry(nCount).bDoQuery ) ++nCount; @@ -1494,17 +1494,17 @@ ScFilterDescriptor::~ScFilterDescriptor() void ScFilterDescriptor::GetData( ScQueryParam& rParam ) const { - rParam = aStoredParam; // Abfrage fuer Interface + rParam = aStoredParam; // query for interface } void ScFilterDescriptor::PutData( const ScQueryParam& rParam ) { - aStoredParam = rParam; // vom Interface gesetzt + aStoredParam = rParam; // set by the interface } void ScFilterDescriptor::SetParam( const ScQueryParam& rNew ) { - aStoredParam = rNew; // von aussen gesetzt + aStoredParam = rNew; // set from outside } ScRangeFilterDescriptor::ScRangeFilterDescriptor(ScDocShell* pDocShell, ScDatabaseRangeObj* pPar) : @@ -2278,7 +2278,7 @@ uno::Sequence<OUString> SAL_CALL ScDatabaseRangesObj::getElementNames() { SolarMutexGuard aGuard; - //! "unbenannt" weglassen ? + //! need to omit "unnamed"? if (pDocShell) { @@ -2301,7 +2301,7 @@ sal_Bool SAL_CALL ScDatabaseRangesObj::hasByName( const OUString& aName ) { SolarMutexGuard aGuard; - //! "unbenannt" weglassen ? + //! need to omit "unnamed"? if (pDocShell) { diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index 785de1c51cc3..23b908d4cf1e 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -1118,7 +1118,7 @@ ScEditFieldObj::~ScEditFieldObj() SvxFieldItem ScEditFieldObj::CreateFieldItem() { - OSL_ENSURE( !mpEditSource, "CreateFieldItem mit eingefuegtem Feld" ); + OSL_ENSURE( !mpEditSource, "CreateFieldItem with inserted field" ); return SvxFieldItem(*getData(), EE_FEATURE_FIELD); } diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx index 5f7c71160f03..6ed3b94fbe30 100644 --- a/sc/source/ui/unoobj/fmtuno.cxx +++ b/sc/source/ui/unoobj/fmtuno.cxx @@ -140,7 +140,7 @@ ScCondFormatEntryItem::ScCondFormatEntryItem() : ScTableConditionalFormat::ScTableConditionalFormat( ScDocument* pDoc, sal_uLong nKey, SCTAB nTab, FormulaGrammar::Grammar eGrammar) { - // Eintrag aus dem Dokument lesen... + // read the entry from the document... if ( pDoc && nKey ) { @@ -331,7 +331,7 @@ void SAL_CALL ScTableConditionalFormat::addNew( } else { - OSL_FAIL("falsche Property"); + OSL_FAIL("wrong property"); //! Exception... } } @@ -579,7 +579,7 @@ ScTableValidationObj::ScTableValidationObj(ScDocument* pDoc, sal_uLong nKey, const formula::FormulaGrammar::Grammar eGrammar) : aPropSet( lcl_GetValidatePropertyMap() ) { - // Eintrag aus dem Dokument lesen... + // read the entry from the document... bool bFound = false; if ( pDoc && nKey ) diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx index 77be3e2b5d04..a9b04fa65cb5 100644 --- a/sc/source/ui/unoobj/linkuno.cxx +++ b/sc/source/ui/unoobj/linkuno.cxx @@ -1035,7 +1035,7 @@ void ScDDELinkObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) static OUString lcl_BuildDDEName( const OUString& rAppl, const OUString& rTopic, const OUString& rItem ) { - // Appl|Topic!Item (wie Excel) + // Appl|Topic!Item (like Excel) OUString aRet = rAppl + "|" + rTopic + "!" + rItem; return aRet; } diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index 33600f6165ee..f8a10d2abb25 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -1052,7 +1052,7 @@ void SAL_CALL ScStyleObj::setParentStyle( const OUString& rParentStyle ) ScDocument& rDoc = pDocShell->GetDocument(); if ( eFamily == SfxStyleFamily::Para ) { - // update lineheight + // update line height ScopedVclPtrInstance< VirtualDevice > pVDev; Point aLogic = pVDev->LogicToPixel( Point(1000,1000), MapUnit::MapTwip ); @@ -1628,7 +1628,7 @@ void ScStyleObj::setPropertyValue_Impl( const OUString& rPropertyName, const Sfx { bool bBool = false; *pValue >>= bBool; - //! sal_Bool-MID fuer ScViewObjectModeItem definieren? + //! need to define sal_Bool-MID for ScViewObjectModeItem? rSet.Put( ScViewObjectModeItem( pEntry->nWID, bBool ? VOBJ_MODE_SHOW : VOBJ_MODE_HIDE ) ); } diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index ef67bfc77a39..5634752685ea 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -306,7 +306,7 @@ uno::Reference<text::XTextCursor> SAL_CALL ScHeaderFooterTextObj::createTextCurs if (!mxUnoText.is()) CreateUnoText_Impl(); return mxUnoText->createTextCursorByRange(aTextPosition); - //! wie ScCellObj::createTextCursorByRange, wenn SvxUnoTextRange_getReflection verfuegbar + //! like ScCellObj::createTextCursorByRange, if SvxUnoTextRange_getReflection available } void ScHeaderFooterTextObj::FillDummyFieldData( ScHeaderFieldData& rData ) diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 663b1923af91..ff7ec2978608 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -179,7 +179,7 @@ ScTabView::~ScTabView() SfxLokHelper::forEachOtherView(pThisViewShell, lRemoveWindows); } - aViewData.KillEditView(); // solange GridWin's noch existieren + aViewData.KillEditView(); // as long as GridWins still exist if (pDrawView) { diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 16f8f2c0480f..ae0247b2cf24 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -1193,7 +1193,7 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich, pEditView[eWhich]->SetBackgroundColor( aBackCol ); pEditView[eWhich]->Invalidate(); // needed? - // needed, wenn position changed + // needed, if position changed } IMPL_LINK( ScViewData, EditEngineHdl, EditStatus&, rStatus, void ) |