summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-04-01 06:39:48 +0000
committerMichael Stahl <mstahl@redhat.com>2017-04-04 12:54:10 +0000
commit6777720cf8b147496fcc9942a621b4b8d9f267f8 (patch)
tree9f21e9916aa3b13b0e4df35c33961f50b2bed40f
parenta2d1a73304a2ff378ca05ff87848e04dbfdc0e4e (diff)
tdf#39468 Translate German comments
First run of translating German comments and terms in sc/ Change-Id: I9802df334259edcea148bead95cc98a8057b91a1 Reviewed-on: https://gerrit.libreoffice.org/35994 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sc/inc/viewuno.hxx2
-rw-r--r--sc/qa/unit/data/README.cellborders2
-rw-r--r--sc/source/filter/excel/excform8.cxx4
-rw-r--r--sc/source/filter/excel/read.cxx4
-rw-r--r--sc/source/filter/inc/rtfparse.hxx4
-rw-r--r--sc/source/filter/lotus/filter.cxx2
-rw-r--r--sc/source/filter/lotus/lotattr.cxx2
-rw-r--r--sc/source/filter/starcalc/scflt.cxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx4
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx12
-rw-r--r--sc/source/ui/docshell/dbdocimp.cxx4
-rw-r--r--sc/source/ui/docshell/docfunc.cxx6
-rw-r--r--sc/source/ui/docshell/docsh3.cxx2
-rw-r--r--sc/source/ui/docshell/docsh4.cxx8
-rw-r--r--sc/source/ui/docshell/docsh5.cxx2
-rw-r--r--sc/source/ui/docshell/docsh6.cxx2
-rw-r--r--sc/source/ui/docshell/docsh8.cxx2
-rw-r--r--sc/source/ui/docshell/olinefun.cxx2
-rw-r--r--sc/source/ui/drawfunc/drawsh.cxx6
-rw-r--r--sc/source/ui/drawfunc/drawsh2.cxx6
-rw-r--r--sc/source/ui/drawfunc/drawsh5.cxx11
-rw-r--r--sc/source/ui/drawfunc/drtxtob.cxx22
-rw-r--r--sc/source/ui/drawfunc/drtxtob1.cxx4
-rw-r--r--sc/source/ui/drawfunc/fuconpol.cxx6
-rw-r--r--sc/source/ui/drawfunc/fuconrec.cxx2
-rw-r--r--sc/source/ui/drawfunc/fuconstr.cxx17
-rw-r--r--sc/source/ui/drawfunc/fuins2.cxx10
-rw-r--r--sc/source/ui/drawfunc/fupoor.cxx26
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx9
-rw-r--r--sc/source/ui/drawfunc/futext.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext2.cxx4
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx6
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx2
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/crnrdlg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/highred.cxx2
-rw-r--r--sc/source/ui/namedlg/namedlg.cxx2
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx12
-rw-r--r--sc/source/ui/pagedlg/hfedtdlg.cxx2
-rw-r--r--sc/source/ui/vba/vbachart.cxx2
40 files changed, 109 insertions, 114 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 2baa6c8bdb65..49c936e99c24 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -59,7 +59,7 @@ class ScViewPaneBase : public css::sheet::XViewPane,
{
private:
ScTabViewShell* pViewShell;
- sal_uInt16 nPane; // ScSplitPos oder SC_VIEWPANE_ACTIVE
+ sal_uInt16 nPane; // ScSplitPos or SC_VIEWPANE_ACTIVE
protected:
css::awt::Rectangle GetVisArea() const;
diff --git a/sc/qa/unit/data/README.cellborders b/sc/qa/unit/data/README.cellborders
index 00db85a5db40..3a439e4f2f94 100644
--- a/sc/qa/unit/data/README.cellborders
+++ b/sc/qa/unit/data/README.cellborders
@@ -22,7 +22,7 @@ Base for the evaluation is LibreOffice master (commit [bbfeab3b13b48c99cfa2f94c
EXCEL || LIBREOFFICE
Excel-Line Name Value || LO-Line Name Value
- Keine EXC_LINE_NONE 0 || none table::BorderLineStyle::NONE 32767 (-1)
+ None EXC_LINE_NONE 0 || none table::BorderLineStyle::NONE 32767 (-1)
1 EXC_LINE_HAIR 7 || 1 table::BorderLineStyle::SOLID 0
2 EXC_LINE_DOTTED 4 || 2 table::BorderLineStyle::DOTTED 1
3 EXC_LINE_THIN_DASHDOTDOT 11 || 3 table::BorderLineStyle::DASHED 2
diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx
index cc26894066b8..469a576c4130 100644
--- a/sc/source/filter/excel/excform8.cxx
+++ b/sc/source/filter/excel/excform8.cxx
@@ -293,7 +293,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
break;
case 0x17: // String Constant [314 266]
{
- sal_uInt8 nLen = aIn.ReaduInt8(); // und?
+ sal_uInt8 nLen = aIn.ReaduInt8(); // Why?
OUString aString = aIn.ReadUniString( nLen ); // reads Grbit even if nLen==0
aStack << aPool.Store( aString );
@@ -1016,7 +1016,7 @@ ConvErr ExcelToSc8::Convert( ScRangeListTabs& rRangeList, XclImpStream& aIn, std
case 0x16: // Missing Argument [314 266]
break;
case 0x17: // String Constant [314 266]
- nLen = aIn.ReaduInt8(); // und?
+ nLen = aIn.ReaduInt8(); // Why?
aIn.IgnoreUniString( nLen ); // reads Grbit even if nLen==0
break;
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index b861037e621b..f25eb3fcf3e9 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -575,7 +575,7 @@ FltError ImportExcel::Read()
{
case 0x0A: // EOF [ 2345]
eAkt = Z_Biff5W;
- aIn.SeekGlobalPosition(); // und zurueck an alte Position
+ aIn.SeekGlobalPosition(); // and back to old position
break;
case 0x12: DocProtect(); break; // PROTECT [ 5]
case 0x2F: // FILEPASS [ 2345]
@@ -633,7 +633,7 @@ FltError ImportExcel::Read()
case 0x08: Row25(); break; // ROW [ 2 5]
case 0x0A: // EOF [ 2345]
eAkt = Z_Biff5T;
- aIn.SeekGlobalPosition(); // und zurueck an alte Position
+ aIn.SeekGlobalPosition(); // and back to old position
break;
case 0x12: SheetProtect(); break; // SHEET PROTECTION
case 0x1A:
diff --git a/sc/source/filter/inc/rtfparse.hxx b/sc/source/filter/inc/rtfparse.hxx
index ed627fcb6239..a22d603d7a5d 100644
--- a/sc/source/filter/inc/rtfparse.hxx
+++ b/sc/source/filter/inc/rtfparse.hxx
@@ -30,8 +30,8 @@ struct ScRTFCellDefault
{
SfxItemSet aItemSet;
SCCOL nCol;
- sal_uInt16 nTwips; // rechter Rand der Zelle
- SCCOL nColOverlap; // MergeCell wenn >1, merged cells wenn 0
+ sal_uInt16 nTwips; // right border of cell
+ SCCOL nColOverlap; // MergeCell if >1, merged cells if 0
ScRTFCellDefault( SfxItemPool* pPool )
: aItemSet(*pPool)
diff --git a/sc/source/filter/lotus/filter.cxx b/sc/source/filter/lotus/filter.cxx
index eca690eb3b81..a66206082d0a 100644
--- a/sc/source/filter/lotus/filter.cxx
+++ b/sc/source/filter/lotus/filter.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// Discover WKS, WK1 und WK3; s.a op.cpp
+// Discover WKS, WK1 and WK3; s.a op.cpp
#include <string.h>
#include <map>
diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx
index bffa6c1c4cd0..d9d9ac4cdad0 100644
--- a/sc/source/filter/lotus/lotattr.cxx
+++ b/sc/source/filter/lotus/lotattr.cxx
@@ -188,7 +188,7 @@ void LotAttrCol::SetAttr( const SCROW nRow, const ScPatternAttr& rAttr )
{
// Actually with the current implementation of MAXROWCOUNT>=64k and nRow
// being read as sal_uInt16 there's no chance that nRow would be invalid..
- OSL_ENSURE( ValidRow(nRow), "*LotAttrCol::SetAttr(): ... und rums?!" );
+ OSL_ENSURE( ValidRow(nRow), "*LotAttrCol::SetAttr(): ... and failed?!" );
std::vector<std::unique_ptr<ENTRY> >::reverse_iterator iterLast = aEntries.rbegin();
diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx
index 509d8013eba3..c6b66a50fb71 100644
--- a/sc/source/filter/starcalc/scflt.cxx
+++ b/sc/source/filter/starcalc/scflt.cxx
@@ -2352,7 +2352,7 @@ void Sc10Import::LoadObjects()
Sc10ImageHeader ImageHeader;
lcl_ReadImageHeaer(rStream, ImageHeader);
- // Attention: here come the data (Bitmap oder Metafile)
+ // Attention: here come the data (Bitmap or Metafile)
// Typ = 1 Device-dependent Bitmap DIB
// Typ = 2 MetaFile
rStream.SeekRel(ImageHeader.Size);
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index a5ac5011d485..280271e9f48a 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -2759,9 +2759,9 @@ sal_Int32 ScXMLImport::SetCurrencySymbol(const sal_Int32 nKey, const OUString& r
}
catch ( const util::MalformedNumberFormatException& rException )
{
- OUString sErrorMessage("Fehler im Formatstring ");
+ OUString sErrorMessage("Error in Formatstring ");
sErrorMessage += sFormatString;
- sErrorMessage += " an Position ";
+ sErrorMessage += " at position ";
sErrorMessage += OUString::number(rException.CheckPos);
uno::Sequence<OUString> aSeq { sErrorMessage };
uno::Reference<xml::sax::XLocator> xLocator;
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index 0bd48526d050..9bb41cdbee74 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -473,7 +473,7 @@ bool ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam& rSortParam,
rSortParam.nCol2, rSortParam.nRow2 );
if (!pDBData)
{
- OSL_FAIL( "Sort: keine DBData" );
+ OSL_FAIL( "Sort: no DBData" );
return false;
}
@@ -620,7 +620,7 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
rQueryParam.nCol2, rQueryParam.nRow2 );
if (!pDBData)
{
- OSL_FAIL( "Query: keine DBData" );
+ OSL_FAIL( "Query: no DBData" );
return false;
}
@@ -809,7 +809,7 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
if ( nFormulaCols > 0 )
{
// fill in formulas
- //! Undo (Query und Repeat) !!!
+ //! Undo (Query and Repeat) !!!
ScRange aNewForm( aLocalParam.nCol2+1, aLocalParam.nRow1, nDestTab,
aLocalParam.nCol2+nFormulaCols, aLocalParam.nRow2, nDestTab );
@@ -850,7 +850,7 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
{
const ScPatternAttr* pSrcPattern = pAttribDoc->GetPattern(
nCol, nAttrRow, nDestTab );
- OSL_ENSURE(pSrcPattern,"Pattern ist 0");
+ OSL_ENSURE(pSrcPattern,"Pattern is 0");
if (pSrcPattern)
{
rDoc.ApplyPatternAreaTab( nCol, nAttrRow, nCol, aLocalParam.nRow2,
@@ -902,7 +902,7 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
}
else
{
- OSL_FAIL("Zielbereich nicht da");
+ OSL_FAIL("Target are not available");
}
}
@@ -967,7 +967,7 @@ void ScDBDocFunc::DoSubTotals( SCTAB nTab, const ScSubTotalParam& rParam,
rParam.nCol2, rParam.nRow2 );
if (!pDBData)
{
- OSL_FAIL( "SubTotals: keine DBData" );
+ OSL_FAIL( "SubTotals: no DBData" );
return;
}
diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx
index 11e7cc0c1e94..12fb1fd49c1c 100644
--- a/sc/source/ui/docshell/dbdocimp.cxx
+++ b/sc/source/ui/docshell/dbdocimp.cxx
@@ -508,13 +508,13 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
ScRange aDelRange( rParam.nCol1, rParam.nRow1, nTab,
rParam.nCol2, rParam.nRow2, nTab );
- rDoc.DeleteAreaTab( aDelRange, InsertDeleteFlags::ALL & ~InsertDeleteFlags::NOTE ); // ohne die Formeln
+ rDoc.DeleteAreaTab( aDelRange, InsertDeleteFlags::ALL & ~InsertDeleteFlags::NOTE ); // without the formulas
ScRange aOld( rParam.nCol1, rParam.nRow1, nTab,
rParam.nCol2+nFormulaCols, rParam.nRow2, nTab );
ScRange aNew( rParam.nCol1, rParam.nRow1, nTab,
nEndCol+nFormulaCols, nEndRow, nTab );
- rDoc.FitBlock( aOld, aNew, false ); // Formeln nicht loeschen
+ rDoc.FitBlock( aOld, aNew, false ); // Do not delete formulas
}
else if ( nEndCol < rParam.nCol2 ) // DeleteArea calls PutInOrder
rDoc.DeleteArea( nEndCol+1, rParam.nRow1, rParam.nCol2, rParam.nRow2,
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 18f12cfe728f..979c27e966e6 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -1785,7 +1785,7 @@ bool ScDocFunc::InsertCells( const ScRange& rRange, const ScMarkData* pTabMark,
return false;
}
- WaitObject aWait( ScDocShell::GetActiveDialogParent() ); // wichtig wegen TrackFormulas bei UpdateReference
+ WaitObject aWait( ScDocShell::GetActiveDialogParent() ); // important due to TrackFormulas at UpdateReference
ScDocument* pRefUndoDoc = nullptr;
ScRefUndoData* pUndoData = nullptr;
@@ -4635,7 +4635,7 @@ bool ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir e
aDestArea.aStart.SetCol( sal::static_int_cast<SCCOL>( aSourceArea.aStart.Col() - nCount ) );
break;
default:
- OSL_FAIL("Falsche Richtung bei FillAuto");
+ OSL_FAIL("Wrong direction with FillAuto");
break;
}
@@ -5068,7 +5068,7 @@ bool ScDocFunc::CreateNames( const ScRange& rRange, CreateNameFlags nFlags, bool
SCCOL nEndCol = rRange.aEnd.Col();
SCROW nEndRow = rRange.aEnd.Row();
SCTAB nTab = rRange.aStart.Tab();
- OSL_ENSURE(rRange.aEnd.Tab() == nTab, "CreateNames: mehrere Tabellen geht nicht");
+ OSL_ENSURE(rRange.aEnd.Tab() == nTab, "CreateNames: multiple tables not possible");
bool bValid = true;
if ( nFlags & ( CreateNameFlags::Top | CreateNameFlags::Bottom ) )
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index b40d44c2f49a..313b008529b9 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -783,7 +783,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
{ // turn on
aDocument.StartChangeTracking();
pThisTrack = aDocument.GetChangeTrack();
- OSL_ENSURE(pThisTrack,"ChangeTracking nicht angeschaltet?");
+ OSL_ENSURE(pThisTrack,"ChangeTracking not enabled?");
if ( !bShared )
{
// turn on visual RedLining
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 521dd0dfa8bd..a973929a4124 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -209,7 +209,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
}
ScDBData* pDBData = GetDBData( ScRange(aPos), SC_DB_IMPORT, ScGetDBSelection::Keep );
- OSL_ENSURE(pDBData, "kann DB-Daten nicht anlegen");
+ OSL_ENSURE(pDBData, "Cannot create DB-Daten");
sTarget = pDBData->GetName();
}
}
@@ -370,13 +370,13 @@ void ScDocShell::Execute( SfxRequest& rReq )
}
else
{
- OSL_FAIL("UpdateChartArea: keine ViewShell oder falsche Daten");
+ OSL_FAIL("UpdateChartArea: no ViewShell or wrong data");
}
rReq.Done();
}
else
{
- OSL_FAIL("SID_CHART_SOURCE ohne Argumente");
+ OSL_FAIL("SID_CHART_SOURCE without arguments");
}
break;
@@ -491,7 +491,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
{
ScRange aRange;
ScTabViewShell* pViewSh = GetBestViewShell();
- OSL_ENSURE(pViewSh,"SID_REIMPORT_AFTER_LOAD: keine View");
+ OSL_ENSURE(pViewSh,"SID_REIMPORT_AFTER_LOAD: no View");
if (pViewSh && pDBColl)
{
ScopedVclPtrInstance<QueryBox> aBox( GetActiveDialogParent(), WinBits(WB_YES_NO | WB_DEF_YES),
diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx
index 84aaf4d2bdb5..a714eb0bcd18 100644
--- a/sc/source/ui/docshell/docsh5.cxx
+++ b/sc/source/ui/docshell/docsh5.cxx
@@ -734,7 +734,7 @@ void ScDocShell::UseScenario( SCTAB nTab, const OUString& rName, bool bRecord )
}
else
{
- OSL_FAIL( "UseScenario auf Szenario-Blatt" );
+ OSL_FAIL( "UseScenario on Szenario-Sheet" );
}
}
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx
index 7c9353497a63..fda2c606ad19 100644
--- a/sc/source/ui/docshell/docsh6.cxx
+++ b/sc/source/ui/docshell/docsh6.cxx
@@ -156,7 +156,7 @@ void ScDocShell::UpdateOle( const ScViewData* pViewData, bool bSnapSize )
if (GetCreateMode() == SfxObjectCreateMode::STANDARD)
return;
- OSL_ENSURE(pViewData,"pViewData==0 bei ScDocShell::UpdateOle");
+ OSL_ENSURE(pViewData,"pViewData==0 at ScDocShell::UpdateOle");
tools::Rectangle aOldArea = SfxObjectShell::GetVisArea();
tools::Rectangle aNewArea = aOldArea;
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index dd72ce19d7ef..b4f19bbf4889 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -784,7 +784,7 @@ sal_uLong ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncodi
bool bHasFieldNames = true;
for ( SCCOL nDocCol = nFirstCol; nDocCol <= nLastCol && bHasFieldNames; nDocCol++ )
- { // nur Strings in erster Zeile => sind Feldnamen
+ { // only Strings in first row => are field names
if ( !aDocument.HasStringData( nDocCol, nFirstRow, nTab ) )
bHasFieldNames = false;
}
diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx
index 2a824b45ba50..7e5277232d72 100644
--- a/sc/source/ui/docshell/olinefun.cxx
+++ b/sc/source/ui/docshell/olinefun.cxx
@@ -631,7 +631,7 @@ bool ScOutlineDocFunc::ShowOutline( SCTAB nTab, bool bColumns, sal_uInt16 nLevel
rDocShell.GetUndoManager()->AddUndoAction(
new ScUndoDoOutline( &rDocShell,
- nStart, nEnd, nTab, pUndoDoc, //! start und end berechnen
+ nStart, nEnd, nTab, pUndoDoc, //! calc start and end
bColumns, nLevel, nEntry, true ) );
}
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index 10a43c554484..24ccb51cd760 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -74,7 +74,7 @@ void ScDrawShell::InitInterface_Impl()
GetStaticInterface()->RegisterChildWindow(SvxFontWorkChildWindow::GetChildWindowId());
}
-// abschalten der nicht erwuenschten Acceleratoren:
+// disable the unwanted Accelerators
void ScDrawShell::StateDisableItems( SfxItemSet &rSet )
{
@@ -254,10 +254,10 @@ void ScDrawShell::ExecDrawAttr( SfxRequest& rReq )
SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
if( pObj->GetObjIdentifier() == OBJ_CAPTION )
{
- // --------- Itemset fuer Caption --------
+ // Caption Itemset
SfxItemSet aNewAttr(pDoc->GetItemPool());
pView->GetAttributes(aNewAttr);
- // --------- Itemset fuer Groesse und Position --------
+ // Size and Position Itemset
SfxItemSet aNewGeoAttr(pView->GetGeoAttrFromMarked());
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx
index b9ea261c7696..78fc94b493a3 100644
--- a/sc/source/ui/drawfunc/drawsh2.cxx
+++ b/sc/source/ui/drawfunc/drawsh2.cxx
@@ -152,10 +152,10 @@ void ScDrawShell::GetDrawFuncState( SfxItemSet& rSet ) // Funktionen disabl
if ( !pView->IsGroupEntered() )
rSet.DisableItem( SID_LEAVE_GROUP );
- if ( nMarkCount <= 1 ) // nichts oder nur ein Objekt selektiert
+ if ( nMarkCount <= 1 ) // Nothing or only one object selected
{
- // Ausrichtung
- rSet.DisableItem( SID_OBJECT_ALIGN_LEFT ); // keine Ausrichtung an der Seite
+ // alignment
+ rSet.DisableItem( SID_OBJECT_ALIGN_LEFT ); // no alignment on the side
rSet.DisableItem( SID_OBJECT_ALIGN_CENTER );
rSet.DisableItem( SID_OBJECT_ALIGN_RIGHT );
rSet.DisableItem( SID_OBJECT_ALIGN_UP );
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx
index f862452dcb0a..a4328b234142 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -171,7 +171,7 @@ void ScDrawShell::ExecuteHLink( SfxRequest& rReq )
{
uno::Reference<awt::XControlModel> xControlModel =
pUnoCtrl->GetUnoControlModel();
- OSL_ENSURE( xControlModel.is(), "UNO-Control ohne Model" );
+ OSL_ENSURE( xControlModel.is(), "UNO-Control without model" );
if( !xControlModel.is() )
return;
@@ -180,10 +180,9 @@ void ScDrawShell::ExecuteHLink( SfxRequest& rReq )
OUString sPropTargetURL( "TargetURL" );
- // Darf man eine URL an dem Objekt setzen?
+ // Is it possible to set a URL in the object?
if (xInfo->hasPropertyByName( sPropTargetURL ))
{
- // Ja!
OUString sPropButtonType( "ButtonType");
OUString sPropTargetFrame( "TargetFrame" );
@@ -225,16 +224,16 @@ void ScDrawShell::ExecuteHLink( SfxRequest& rReq )
pViewData->GetViewShell()->
InsertURL( rName, rURL, rTarget, (sal_uInt16) eMode );
- // InsertURL an der ViewShell schaltet bei "Text" die DrawShell ab !!!
+ // If "text" is received by InsertURL of ViewShell, then the DrawShell is turned off !!!
}
}
break;
default:
- OSL_FAIL("falscher Slot");
+ OSL_FAIL("wrong slot");
}
}
-// Funktionen auf Drawing-Objekten
+// Functions on Drawing-Objects
void ScDrawShell::ExecDrawFunc( SfxRequest& rReq )
{
diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx
index e891c27b1397..7919144dc42f 100644
--- a/sc/source/ui/drawfunc/drtxtob.cxx
+++ b/sc/source/ui/drawfunc/drtxtob.cxx
@@ -97,7 +97,7 @@ void ScDrawTextObjectBar::InitInterface_Impl()
}
-// abschalten der nicht erwuenschten Acceleratoren:
+// diable not wanted accelerators
void ScDrawTextObjectBar::StateDisableItems( SfxItemSet &rSet )
{
@@ -118,7 +118,7 @@ ScDrawTextObjectBar::ScDrawTextObjectBar(ScViewData* pData) :
{
SetPool( pViewData->GetScDrawView()->GetDefaultAttr().GetPool() );
- // UndoManager wird beim Umschalten in den Edit-Modus umgesetzt...
+ // At the switching-over the UndoManager is changed to edit mode
::svl::IUndoManager* pMgr = pViewData->GetSfxDocShell()->GetUndoManager();
SetUndoManager( pMgr );
if ( !pViewData->GetDocument()->IsUndoEnabled() )
@@ -142,7 +142,7 @@ ScDrawTextObjectBar::~ScDrawTextObjectBar()
}
}
-// Funktionen
+// Functions
void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
{
@@ -152,7 +152,7 @@ void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
if (!pOutView || !pOutliner)
{
- ExecuteGlobal( rReq ); // auf ganze Objekte
+ ExecuteGlobal( rReq ); // on whole objects
return;
}
@@ -227,7 +227,7 @@ void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
if ( pFontItem )
{
OUString aFontName(pFontItem->GetValue());
- vcl::Font aFont(aFontName, Size(1,1)); // Size nur wg. CTOR
+ vcl::Font aFont(aFontName, Size(1,1)); // Size only because of CTOR
aNewItem = SvxFontItem( aFont.GetFamilyType(), aFont.GetFamilyName(),
aFont.GetStyleName(), aFont.GetPitch(),
aFont.GetCharSet(), ATTR_FONT );
@@ -242,7 +242,7 @@ void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
{
SfxItemSet aSet( pOutliner->GetEmptyItemSet() );
aSet.Put( aNewItem );
- // SetAttribs an der View selektiert ein Wort, wenn nichts selektiert ist
+ // If nothing is selected, then SetAttribs of the View selects a word
pOutView->GetOutliner()->QuickSetAttribs( aSet, pOutView->GetSelection() );
pOutView->InsertText(aString);
}
@@ -272,7 +272,7 @@ void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
const SvxFieldData* pField = pFieldItem->GetField();
if ( pField && dynamic_cast<const SvxURLField*>( pField) != nullptr )
{
- // altes Feld selektieren
+ // select old field
ESelection aSel = pOutView->GetSelection();
aSel.Adjust();
@@ -282,7 +282,7 @@ void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
}
}
- // neues Feld einfuegen
+ // insert new field
SvxURLField aURLField( rURL, rName, SVXURLFORMAT_REPR );
aURLField.SetTargetFrame( rTarget );
@@ -304,9 +304,9 @@ void ScDrawTextObjectBar::Execute( SfxRequest &rReq )
}
if (!bDone)
- ExecuteGlobal( rReq ); // normal an der View
+ ExecuteGlobal( rReq ); // normal at View
- // InsertURL an der ViewShell schaltet bei "Text" die DrawShell ab !!!
+ // If "text" is received by InsertURL of ViewShell, the the DrawShell is turned off !!!
}
}
break;
@@ -836,7 +836,7 @@ void ScDrawTextObjectBar::ExecuteAttr( SfxRequest &rReq )
case SID_CHAR_DLG_EFFECT:
case SID_CHAR_DLG: // Dialog-Button
- case SID_ATTR_CHAR_FONT: // Controller nicht angezeigt
+ case SID_ATTR_CHAR_FONT: // Controller not shown
case SID_ATTR_CHAR_FONTHEIGHT:
bDone = ExecuteCharDlg( aEditAttr, aNewAttr , nSlot);
break;
diff --git a/sc/source/ui/drawfunc/drtxtob1.cxx b/sc/source/ui/drawfunc/drtxtob1.cxx
index 9ccc020870ac..c655351c888b 100644
--- a/sc/source/ui/drawfunc/drtxtob1.cxx
+++ b/sc/source/ui/drawfunc/drtxtob1.cxx
@@ -81,8 +81,8 @@ bool ScDrawTextObjectBar::ExecuteParaDlg( const SfxItemSet& rArgs,
0 );
aNewAttr.Put( rArgs );
- // Die Werte sind erst einmal uebernommen worden, um den Dialog anzuzeigen.
- // Muss natuerlich noch geaendert werden
+ // Values have been taken over once to show the dialog.
+ // Has to be changed
// aNewAttr.Put( SvxParaDlgLimitsItem( 567 * 50, 5670) );
aNewAttr.Put( SvxHyphenZoneItem( false, SID_ATTR_PARA_HYPHENZONE ) );
diff --git a/sc/source/ui/drawfunc/fuconpol.cxx b/sc/source/ui/drawfunc/fuconpol.cxx
index a92d1ef73bdc..515fbeb90564 100644
--- a/sc/source/ui/drawfunc/fuconpol.cxx
+++ b/sc/source/ui/drawfunc/fuconpol.cxx
@@ -66,7 +66,7 @@ bool FuConstPolygon::MouseButtonDown(const MouseEvent& rMEvt)
(void)pView->PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
if (aVEvt.eEvent == SdrEventKind::BeginTextEdit)
{
- // Texteingabe hier nicht zulassen
+ // Text input not allowed here
aVEvt.eEvent = SdrEventKind::BeginDragObj;
pView->EnableExtendedMouseEventDispatcher(false);
}
@@ -115,7 +115,7 @@ bool FuConstPolygon::MouseButtonUp(const MouseEvent& rMEvt)
if (aVEvt.eEvent == SdrEventKind::EndCreate)
{
bReturn = true;
- bSimple = true; // Doppelklick nicht weiterreichen
+ bSimple = true; // Do not pass on double-click
}
bool bParent;
@@ -129,7 +129,7 @@ bool FuConstPolygon::MouseButtonUp(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* Function aktivieren
+|* Activate function
|*
\************************************************************************/
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx
index 08cbcdc2f031..0e7c4d89388f 100644
--- a/sc/source/ui/drawfunc/fuconrec.cxx
+++ b/sc/source/ui/drawfunc/fuconrec.cxx
@@ -124,7 +124,7 @@ bool FuConstRectangle::MouseButtonDown(const MouseEvent& rMEvt)
bReturn = pView->BegCreateCaptionObj( aPos, aCaptionSize );
- // wie stellt man den Font ein, mit dem geschrieben wird
+ // How do you set the font for writing
}
else
bReturn = pView->BegCreateObj(aPos);
diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx
index f93fa34c8b6c..a8d546b497c6 100644
--- a/sc/source/ui/drawfunc/fuconstr.cxx
+++ b/sc/source/ui/drawfunc/fuconstr.cxx
@@ -211,7 +211,7 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
bool bReturn = SimpleMouseButtonUp( rMEvt );
- // Doppelklick auf Textobjekt? (->fusel)
+ // Double-click on text object? (->fusel)
sal_uInt16 nClicks = rMEvt.GetClicks();
if ( nClicks == 2 && rMEvt.IsLeft() )
@@ -224,7 +224,7 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
SdrMark* pMark = rMarkList.GetMark(0);
SdrObject* pObj = pMark->GetMarkedSdrObj();
- // bei Uno-Controls nicht in Textmodus
+ // if Uno-Controls no text mode
if ( dynamic_cast<const SdrTextObj*>( pObj) != nullptr && dynamic_cast<const SdrUnoObj*>( pObj) == nullptr )
{
OutlinerParaObject* pOPO = pObj->GetOutlinerParaObject();
@@ -234,9 +234,9 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
pViewShell->GetViewData().GetDispatcher().
Execute(nTextSlotId, SfxCallMode::SLOT | SfxCallMode::RECORD);
- // jetzt den erzeugten FuText holen und in den EditModus setzen
+ // Get the created FuText now and change into EditModus
FuPoor* pPoor = pViewShell->GetViewData().GetView()->GetDrawFuncPtr();
- if ( pPoor && pPoor->GetSlotID() == nTextSlotId ) // hat keine RTTI
+ if ( pPoor && pPoor->GetSlotID() == nTextSlotId ) // has no RTTI
{
FuText* pText = static_cast<FuText*>(pPoor);
Point aMousePixel = rMEvt.GetPosPixel();
@@ -253,7 +253,7 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
return bReturn;
}
-// SimpleMouseButtonUp - ohne Test auf Doppelklick
+// SimpleMouseButtonUp - no test on double-click
bool FuConstruct::SimpleMouseButtonUp(const MouseEvent& rMEvt)
{
@@ -295,10 +295,9 @@ bool FuConstruct::SimpleMouseButtonUp(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* Tastaturereignisse bearbeiten
+|* Handle keyboard events
|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* FALSE.
+|* If we handle a KeyEvent, then the return value is sal_True else FALSE.
|*
\************************************************************************/
@@ -315,7 +314,7 @@ bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
pWindow->ReleaseMouse();
bReturn = true;
}
- else // Zeichenmodus beenden
+ else // end drawing mode
{
pViewShell->GetViewData().GetDispatcher().
Execute(aSfxRequest.GetSlot(), SfxCallMode::SLOT | SfxCallMode::RECORD);
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 24ec7c723205..7f351853e575 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -247,7 +247,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView*
{
case SID_INSERT_OBJECT :
aServerLst.FillInsertObjects();
- aServerLst.Remove( ScDocShell::Factory().GetClassId() ); // Starcalc nicht anzeigen
+ aServerLst.Remove( ScDocShell::Factory().GetClassId() ); // Do not show Starcalc
//TODO/LATER: currently no inserting of ClassId into SfxRequest!
SAL_FALLTHROUGH; //TODO ???
case SID_INSERT_FLOATINGFRAME :
@@ -267,7 +267,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView*
if ( xObj.is() )
pViewSh->GetObjectShell()->GetEmbeddedObjectContainer().InsertEmbeddedObject( xObj, aName );
- // damit DrawShell eingeschaltet wird (Objekt aktivieren ist unnoetig):
+ // to activate DrawShell (no need to activate Object)
bIsFromFile = !pDlg->IsCreateNew();
}
@@ -276,7 +276,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView*
}
}
- // SvInsertObjectDialog (alles in einem Dialog) wird nicht mehr benutzt
+ // SvInsertObjectDialog (everything in one Dialog) are not used anymore
if (xObj.is())
{
pView->UnmarkAll();
@@ -366,10 +366,10 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView*
if ( !rReq.IsAPI() )
{
- // XXX Activate aus Makro ist toedlich !!! ???
+ // XXX Activate from macro is deadly !!! ???
if (bIsFromFile)
{
- // Objekt ist selektiert, also Draw-Shell aktivieren
+ // Objekt selected, activate Draw-Shell
pViewShell->SetDrawShell( true );
}
else
diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx
index f6f071dc40ae..a1a0bfc58e00 100644
--- a/sc/source/ui/drawfunc/fupoor.cxx
+++ b/sc/source/ui/drawfunc/fupoor.cxx
@@ -77,8 +77,7 @@ void FuPoor::Deactivate()
/*************************************************************************
|*
-|* Scrollen bei Erreichen des Fensterrandes; wird von
-|* MouseMove aufgerufen
+|* Scroll when reached the window border; is called from MouseMove
|*
\************************************************************************/
@@ -155,10 +154,9 @@ bool FuPoor::MouseButtonDown(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* Tastaturereignisse bearbeiten
+|* Handle keyboard events
|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* FALSE.
+|* If we handle a KeyEvent, then the return value is sal_True else FALSE.
|*
\************************************************************************/
@@ -172,8 +170,8 @@ sal_uInt8 FuPoor::Command(const CommandEvent& rCEvt)
if ( CommandEventId::StartDrag == rCEvt.GetCommand() )
{
//!!! sollte Joe eigentlich machen:
- // nur, wenn im Outliner was selektiert ist, darf
- // Command sal_True zurueckliefern:
+ // Only if a selection is in Outliner, then Command is allowed
+ // to return sal_True
OutlinerView* pOutView = pView->GetTextEditOutlinerView();
@@ -188,17 +186,17 @@ sal_uInt8 FuPoor::Command(const CommandEvent& rCEvt)
/*************************************************************************
|*
-|* Timer-Handler fuer Drag&Drop
+|* Timer-Handler for Drag&Drop
|*
\************************************************************************/
IMPL_LINK_NOARG(FuPoor, DragTimerHdl, Timer *, void)
{
- // ExecuteDrag (und das damit verbundene Reschedule) direkt aus dem Timer
- // aufzurufen, bringt die VCL-Timer-Verwaltung durcheinander, wenn dabei
- // (z.B. im Drop) wieder ein Timer gestartet wird (z.B. ComeBack-Timer der
- // DrawView fuer Solid Handles / ModelHasChanged) - der neue Timer laeuft
- // dann um die Dauer des Drag&Drop zu spaet ab.
- // Darum Drag&Drop aus eigenem Event:
+ // Calling ExecuteDrag (and that associated reschedule) directly from
+ // the Timer, will confuse the VCL-Timer-Management, if (e.g during Drop)
+ // a new timer is started (e.g ComeBack-Timer of DrawView for
+ // Solid Handles / ModelHasChanged) - the new timer will end with a delay
+ // of the duration of the Drag&Drop.
+ // Therefore Drag&Drop from own event:
Application::PostUserEvent( LINK( this, FuPoor, DragHdl ) );
}
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index 496f2df6b980..eed333b41913 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -489,8 +489,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
SdrMark* pMark = rMarkList.GetMark(0);
pObj = pMark->GetMarkedSdrObj();
- // aktivieren nur, wenn die Maus auch (noch) ueber dem
- // selektierten Objekt steht
+ // only activate, when the mouse also is over the selected object
SdrViewEvent aVEvt;
SdrHitKind eHit = pView->PickAnything( rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt );
@@ -498,7 +497,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
{
sal_uInt16 nSdrObjKind = pObj->GetObjIdentifier();
- // OLE: aktivieren
+ // OLE: activate
if (nSdrObjKind == OBJ_OLE2)
{
@@ -524,9 +523,9 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
pViewShell->GetViewData().GetDispatcher().
Execute(nTextSlotId, SfxCallMode::SYNCHRON | SfxCallMode::RECORD);
- // jetzt den erzeugten FuText holen und in den EditModus setzen
+ // Get the created FuText now and change into EditModus
FuPoor* pPoor = pViewShell->GetViewData().GetView()->GetDrawFuncPtr();
- if ( pPoor && pPoor->GetSlotID() == nTextSlotId ) // hat keine RTTI
+ if ( pPoor && pPoor->GetSlotID() == nTextSlotId ) // has no RTTI
{
FuText* pText = static_cast<FuText*>(pPoor);
Point aMousePixel = rMEvt.GetPosPixel();
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index d6202d55d41a..5535d1c534af 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -391,7 +391,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
if ( pView->MouseButtonUp(rMEvt, pWindow) )
- return true; // Event von der SdrView ausgewertet
+ return true; // Event evaluted by SdrView
if ( pView->IsDragObj() )
{
diff --git a/sc/source/ui/drawfunc/futext2.cxx b/sc/source/ui/drawfunc/futext2.cxx
index 3c096623e296..daf2256bc766 100644
--- a/sc/source/ui/drawfunc/futext2.cxx
+++ b/sc/source/ui/drawfunc/futext2.cxx
@@ -31,8 +31,8 @@ SdrOutliner* FuText::MakeOutliner()
rViewData.UpdateOutlinerFlags(*pOutl);
- // Die EditEngine benutzt beim RTF Export (Clipboard / Drag&Drop)
- // den MapMode des RefDevices, um die Fontgroesse zu setzen
+ // The EditEngine uses during RTF export (Clipboard / Drag&Grop)
+ // the MapMode of RefDevice to set the font size
// #i10426# The ref device isn't set to the EditEngine before SdrBeginTextEdit now,
// so the device must be taken from the model here.
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index 84debf723234..a7a33488b9a9 100644
--- a/sc/source/ui/drawfunc/futext3.cxx
+++ b/sc/source/ui/drawfunc/futext3.cxx
@@ -43,9 +43,9 @@
#include "drawview.hxx"
#include "undocell.hxx"
-// Editieren von Notiz-Legendenobjekten muss immer ueber StopEditMode beendet werden,
-// damit die Aenderungen ins Dokument uebernommen werden!
-// (Fontwork-Execute in drawsh und drtxtob passiert nicht fuer Legendenobjekte)
+// Editing of Note-Key-Objects has to be stopped always via StopEditMode,
+// so that changes are taken over into the document!
+// (Fontwork-Execute in drawsh and drtxtob does not happen for Key-Objects)
void FuText::StopEditMode()
{
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index ac5d9b5ad413..36825bfdfb86 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -203,7 +203,7 @@ void ScAcceptChgDlg::Init()
{
ScRange aRange;
- OSL_ENSURE( pViewData && pDoc, "ViewData oder Document nicht gefunden!" );
+ OSL_ENSURE( pViewData && pDoc, "ViewData or Document not found!" );
ScChangeTrack* pChanges=pDoc->GetChangeTrack();
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 54425e0fee65..1b68a73c1c8a 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -925,7 +925,7 @@ bool ScRefHandler::IsTableLocked() const
}
// RefInputStart/Done: Zoom-In (AutoHide) on single field
-// (using button oder movement)
+// (using button or movement)
void ScRefHandler::RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton )
{
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index 953f10563084..6b55fd0a898f 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -503,7 +503,7 @@ IMPL_LINK_NOARG(ScColRowNameRangesDlg, OkBtnHdl, Button*, void)
{
AddBtnHdl( nullptr );
- // assign RangeLists to the den references in the document
+ // assign RangeLists to the references in the document
pDoc->GetColNameRangesRef() = xColNameRanges;
pDoc->GetRowNameRangesRef() = xRowNameRanges;
// changed ranges need to take effect
diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index 028d49460592..a08f8e9eb489 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -80,7 +80,7 @@ void ScHighlightChgDlg::Init()
{
ScRange aRange;
- OSL_ENSURE( pViewData && pDoc, "ViewData oder Document nicht gefunden!" );
+ OSL_ENSURE( pViewData && pDoc, "ViewData or Document not found!" );
ScChangeTrack* pChanges=pDoc->GetChangeTrack();
if(pChanges!=nullptr)
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index abf1f5756258..c6162534bc6f 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -124,7 +124,7 @@ void ScNameDlg::Init()
{
ScRange aRange;
- OSL_ENSURE( mpViewData && mpDoc, "ViewData oder Document nicht gefunden!" );
+ OSL_ENSURE( mpViewData && mpDoc, "ViewData or Document not found!" );
//init UI
m_pFtInfo->SetStyle(WB_VCENTER);
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index 1bc76f6b9b58..1e640071b07c 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -54,7 +54,7 @@ enum {
#define HDL(hdl) LINK( this, ScPrintAreasDlg, hdl )
#define ERRORBOX(nId) ScopedVclPtrInstance<MessageDialog>(this, ScGlobal::GetRscString(nId))->Execute()
-// globale Funktionen (->am Ende der Datei):
+// global functions (->at the end of the file):
static bool lcl_CheckRepeatString( const OUString& rStr, ScDocument* pDoc, bool bIsRow, ScRange* pRange );
static void lcl_GetRepeatRangeString( const ScRange* pRange, ScDocument* pDoc, bool bIsRow, OUString& rStr );
@@ -132,7 +132,7 @@ ScPrintAreasDlg::ScPrintAreasDlg( SfxBindings* pB, SfxChildWindow* pCW, vcl::Win
Impl_Reset();
- //@BugID 54702 Enablen/Disablen nur noch in Basisklasse
+ //@BugID 54702 Enable/Disable only in base class
//SFX_APPWINDOW->Enable();
}
@@ -174,8 +174,8 @@ bool ScPrintAreasDlg::Close()
bool ScPrintAreasDlg::IsTableLocked() const
{
- // Druckbereiche gelten pro Tabelle, darum macht es keinen Sinn,
- // bei der Eingabe die Tabelle umzuschalten
+ // Printing areas are per table, therefore it makes no sense,
+ // to switch the table during input
return true;
}
@@ -396,7 +396,7 @@ bool ScPrintAreasDlg::Impl_CheckRefStrings()
void ScPrintAreasDlg::Impl_FillLists()
{
- // Selektion holen und String in PrintArea-ListBox merken
+ // Get selection and remember String in PrintArea-ListBox
ScRange aRange;
OUString aStrRange;
@@ -418,7 +418,7 @@ void ScPrintAreasDlg::Impl_FillLists()
pLbPrintArea->SetEntryData( SC_AREASDLG_PR_SELECT, new OUString( aStrRange ) );
- // Ranges holen und in ListBoxen merken
+ // Get ranges and remember in ListBoxen
ScRangeName* pRangeNames = pDoc->GetRangeName();
diff --git a/sc/source/ui/pagedlg/hfedtdlg.cxx b/sc/source/ui/pagedlg/hfedtdlg.cxx
index 0b0d99f67e3a..aee90a6b1962 100644
--- a/sc/source/ui/pagedlg/hfedtdlg.cxx
+++ b/sc/source/ui/pagedlg/hfedtdlg.cxx
@@ -193,7 +193,7 @@ ScHFEditActiveDlg::ScHFEditActiveDlg(
void ScHFEditDlg::PageCreated( sal_uInt16 /* nId */, SfxTabPage& rPage )
{
- // kann ja nur ne ScHFEditPage sein...
+ // Can only be a ScHFEditPage...
static_cast<ScHFEditPage&>(rPage).SetNumType(eNumType);
}
diff --git a/sc/source/ui/vba/vbachart.cxx b/sc/source/ui/vba/vbachart.cxx
index e7c313d1040f..0d49bde2def7 100644
--- a/sc/source/ui/vba/vbachart.cxx
+++ b/sc/source/ui/vba/vbachart.cxx
@@ -295,7 +295,7 @@ try
break;
case xlPieOfPie: // not possible
- case xlPieExploded: // SegmentOffset an ChartDataPointProperties ->am XDiagram abholen //wie macht Excel das?
+ case xlPieExploded: // SegmentOffset on ChartDataPointProperties -> get from XDiagram //How does Excel do this?
case xl3DPieExploded:
case xl3DPie:
case xlPie: