diff options
45 files changed, 75 insertions, 79 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx index 99ae92d97d98..ceebf816199b 100644 --- a/UnoControls/source/controls/progressbar.cxx +++ b/UnoControls/source/controls/progressbar.cxx @@ -326,7 +326,7 @@ void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGra // save impossible cases DBG_ASSERT ( rGraphics.is(), "ProgressBar::paint()\nCalled with invalid Reference< XGraphics > ." ); - // This paint method ist not buffered !! + // This paint method is not buffered !! // Every request paint the completely control. ( but only, if peer exist ) if ( rGraphics.is () ) { diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 5b303f2a63f5..9d3f714bc2a9 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -392,7 +392,7 @@ WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Ref void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< XGraphics > & rGraphics ) { - // This paint method ist not buffered !! + // This paint method is not buffered !! // Every request paint the completely control. ( but only, if peer exist ) if ( rGraphics.is () ) { diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index 2e10733ff142..b9e4a7e4ec3a 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -109,8 +109,8 @@ bool SvxLineSpacingItem::operator==( const SfxPoolItem& rAttr ) const /* Who does still know why the LineSpacingItem is so complicated? We can not use it for UNO since there are only two values: - - ein sal_uInt16 for the mode - - ein sal_uInt32 for all values (distance, height, rel. detail) + - a sal_uInt16 for the mode + - a sal_uInt32 for all values (distance, height, rel. detail) */ bool SvxLineSpacingItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const { diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index e1d24094c8a7..dbab08c88270 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -2826,7 +2826,7 @@ sal_uInt16 SvxTwoLinesItem::GetVersion( sal_uInt16 nFFVer ) const DBG_ASSERT( SOFFICE_FILEFORMAT_31==nFFVer || SOFFICE_FILEFORMAT_40==nFFVer || SOFFICE_FILEFORMAT_50==nFFVer, - "SvxTwoLinesItem: Gibt es ein neues Fileformat?" ); + "SvxTwoLinesItem: Is there a new file format?" ); return SOFFICE_FILEFORMAT_50 > nFFVer ? USHRT_MAX : 0; } diff --git a/filter/source/graphicfilter/idxf/dxfblkrd.hxx b/filter/source/graphicfilter/idxf/dxfblkrd.hxx index c35149d65428..afdd97c06db2 100644 --- a/filter/source/graphicfilter/idxf/dxfblkrd.hxx +++ b/filter/source/graphicfilter/idxf/dxfblkrd.hxx @@ -23,7 +23,7 @@ #include <dxfentrd.hxx> -//---------------- Ein Block (= Menge von Entities) -------------------------- +//---------------- A Block (= Set of Entities) -------------------------- class DXFBlock : public DXFEntities { @@ -49,7 +49,7 @@ public: }; -//---------------- Eine Menge von Bloecken ----------------------------------- +//---------------- A set of blocks ----------------------------------- class DXFBlocks { diff --git a/odk/examples/cpp/complextoolbarcontrols/MyListener.h b/odk/examples/cpp/complextoolbarcontrols/MyListener.h index 906b266a13af..428693dacc76 100644 --- a/odk/examples/cpp/complextoolbarcontrols/MyListener.h +++ b/odk/examples/cpp/complextoolbarcontrols/MyListener.h @@ -34,11 +34,10 @@ #define MYLISTENER_SERVICENAME "vnd.My.NewDocListener" /** - * Registriert sich in der Office Konfiguration als Job. - * Dieser wird dann für alle neu geöffneten Dokumente automatisch - * gerufen. Man bekommt eine Reference auf das geöffnete Dokument - * überreicht und kann dann prüfen, ob es ein unterstütztes Format - * hat. (Wir interessieren uns ja schließlich nur für Writer/Calc Dokumente.) + * Register in the Office configuration as job. + * This is called automatically for all new opened documents. You receive + * a reference of the opened document and then you can check if it's a + * supported format. (We are only interested in Writer/Calc documents.) * * @see CalcListener * @see WriterListener diff --git a/reportdesign/source/core/sdr/ReportDrawPage.cxx b/reportdesign/source/core/sdr/ReportDrawPage.cxx index 40b2bd1561c0..e7d999ad4976 100644 --- a/reportdesign/source/core/sdr/ReportDrawPage.cxx +++ b/reportdesign/source/core/sdr/ReportDrawPage.cxx @@ -108,7 +108,7 @@ uno::Reference< drawing::XShape > OReportDrawPage::CreateShape( SdrObject *pObj OSL_ENSURE(xObj.is(),"Embedded Object could not be created!"); /************************************************** - * Das leere OLE-Objekt bekommt ein neues IPObj + * The empty OLE object gets a new IPObj **************************************************/ pObj->SetEmptyPresObj(false); rOle2Obj.SetOutlinerParaObject(nullptr); diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 50177d7d737c..d8a00d5ea2bf 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1806,7 +1806,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a nLength = maRect.GetHeight(); nLength >>= 1; if ( nRadius >= nLength ) - nRadius = 0x2a30; // 0x2a30 ist PPTs maximum radius + nRadius = 0x2a30; // 0x2a30 is PPTs maximum radius else nRadius = ( 0x2a30 * nRadius ) / nLength; aPropOpt.AddOpt( ESCHER_Prop_adjustValue, nRadius ); diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index 5f83abb30c31..64bff37ce464 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -136,7 +136,7 @@ void SdNavigatorWin::FreshTree( const SdDrawDocument* pDoc ) OUString aDocName = pDocShell->GetMedium()->GetName(); maTlbObjects->SetSaveTreeItemStateFlag(true); //Added by yanjun for sym2_6385 maTlbObjects->Clear(); - maTlbObjects->Fill( pDoc, false, aDocName ); // Nur normale Seiten + maTlbObjects->Fill( pDoc, false, aDocName ); // Only normal pages maTlbObjects->SetSaveTreeItemStateFlag(false); //Added by yanjun for sym2_6385 RefreshDocumentLB(); maLbDocs->SelectEntry( aDocShName ); diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index a1e6019ee567..3d406cca077d 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -270,7 +270,7 @@ SdTpOptionsMisc::SdTpOptionsMisc(vcl::Window* pParent, const SfxItemSet& rInAttr DBG_ASSERT( pPool, "Where is the Pool?" ); ePoolUnit = pPool->GetMetric( SID_ATTR_FILL_HATCH ); - // Fuellen der CB + // Fill the CB sal_uInt16 aTable[ TABLE_COUNT ] = { 1, 2, 4, 5, 8, 10, 16, 20, 30, 40, 50, 100 }; diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 3fd76478467a..82e147a83658 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -1588,7 +1588,7 @@ Reference< drawing::XShape > SAL_CALL SdGenericDrawPage::combine( const Referenc throwIfDisposed(); DBG_ASSERT(SvxFmDrawPage::mpPage,"SdrPage is NULL! [CL]"); - DBG_ASSERT(mpView, "SdrView ist NULL! [CL]"); + DBG_ASSERT(mpView, "SdrView is NULL! [CL]"); Reference< drawing::XShape > xShape; if(mpView==nullptr||!xShapes.is()||GetPage()==nullptr) diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index ac3ebfc5d973..f0cbddc14394 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -1046,7 +1046,7 @@ void OutlineView::GetAttributes( SfxItemSet& rTargetSet, bool ) const { OutlinerView* pOlView = GetViewByWindow( mrOutlineViewShell.GetActiveWindow()); - assert(pOlView && "keine OutlinerView gefunden"); + assert(pOlView && "No OutlinerView found"); rTargetSet.Put( pOlView->GetAttribs(), false ); } diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index c6e7721fd303..24a0299bf729 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -87,7 +87,7 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent css::uno::Reference< css::datatransfer::XTransferable > View::CreateClipboardDataObject( View*, vcl::Window& ) { // since SdTransferable::CopyToClipboard is called, this - // dynamically created object ist destroyed automatically + // dynamically created object is destroyed automatically SdTransferable* pTransferable = new SdTransferable( &mrDoc, nullptr, false ); css::uno::Reference< css::datatransfer::XTransferable > xRet( pTransferable ); diff --git a/sfx2/sdi/frmslots.sdi b/sfx2/sdi/frmslots.sdi index fb9465abb512..f4c824ec29ab 100644 --- a/sfx2/sdi/frmslots.sdi +++ b/sfx2/sdi/frmslots.sdi @@ -180,7 +180,7 @@ interface Window [ StateMethod = MiscState_Impl ; ] - // Stringlist mit den Verben( SFX only ) + // Stringlist with the verbs ( SFX only ) SID_OBJECT // ole(no) api(no) [ StateMethod = GetState_Impl ; diff --git a/sfx2/source/appl/appdispatchprovider.cxx b/sfx2/source/appl/appdispatchprovider.cxx index 51e8bb8c95c8..e840361d2b3f 100644 --- a/sfx2/source/appl/appdispatchprovider.cxx +++ b/sfx2/source/appl/appdispatchprovider.cxx @@ -177,7 +177,7 @@ Sequence< sal_Int16 > SAL_CALL SfxAppDispatchProvider::getSupportedCommandGroups const SfxSlotMode nMode( SfxSlotMode::TOOLBOXCONFIG|SfxSlotMode::ACCELCONFIG|SfxSlotMode::MENUCONFIG ); - // Gruppe anw"ahlen ( Gruppe 0 ist intern ) + // Select group ( group 0 is internal ) for (sal_uInt16 i=0; i< rAppSlotPool.GetGroupCount(); ++i) { rAppSlotPool.SeekGroup(i); @@ -207,7 +207,7 @@ Sequence< frame::DispatchInformation > SAL_CALL SfxAppDispatchProvider::getConfi const SfxSlotMode nMode( SfxSlotMode::TOOLBOXCONFIG|SfxSlotMode::ACCELCONFIG|SfxSlotMode::MENUCONFIG ); OUString aCmdPrefix( ".uno:" ); - // Gruppe anw"ahlen ( Gruppe 0 ist intern ) + // Select group ( group 0 is internal ) for (sal_uInt16 i=0; i< rAppSlotPool.GetGroupCount(); ++i) { rAppSlotPool.SeekGroup(i); diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index 977c96aab369..7229c66a5d85 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -93,7 +93,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL, eDestEnc, pNonConvertableChars ); } - // Titel (auch wenn er leer ist) + // Title (regardless if empty) rStrm.WriteCharPtr( SAL_NEWLINE_STRING ); if( pIndent ) rStrm.WriteCharPtr( pIndent ); diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx index 94c412faa17b..bfcb183f8a83 100644 --- a/sfx2/source/control/ctrlitem.cxx +++ b/sfx2/source/control/ctrlitem.cxx @@ -223,9 +223,6 @@ void SfxControllerItem::StateChanged switched or when the slot was invalidated explicitly with <SfxBindings::Invalidate()>. - Achtung! Die Methode wird nicht gerufen, wenn der Slot ung"ultig wurde, - danach jedoch wieder denselben Wert angenommen hat. - Beware! The method is not called when the slot is invalid, however has again assumed the same value. diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index fd0cb6ec9cfa..bc2e8dcda13c 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1348,7 +1348,7 @@ void SfxDispatcher::Update_Impl_( bool bUIActive, bool bIsMDIApp, bool bIsIPOwne SfxShell *pShell = GetShell( nShell-1 ); SfxInterface *pIFace = pShell->GetInterface(); - // don't consider shells if "Hidden" oder "Quiet" + // don't consider shells if "Hidden" or "Quiet" bool bReadOnlyShell = IsReadOnlyShell_Impl( nShell-1 ); sal_uInt16 nNo; for ( nNo = 0; pIFace && nNo<pIFace->GetObjectBarCount(); ++nNo ) @@ -1622,7 +1622,7 @@ void SfxDispatcher::FlushImpl() overturned by the use of 'bEnable == 2', so this will be displayed again. On the other slots it has no effect. - // HACK(hier muss mal ein enum rein) ??? + // HACK(here should be used an enum) ??? @param nEnable 1==true: only enable specified slots, disable all other 0==false: disable specified slots, first enable all other @param nCount Number of SIDs in the following Array diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx index b5bc6f6ab7fa..04831c234b23 100644 --- a/sfx2/source/control/objface.cxx +++ b/sfx2/source/control/objface.cxx @@ -394,7 +394,7 @@ sal_uInt32 SfxInterface::GetChildWindowId (sal_uInt16 nNo) const { if ( pGenoType ) { - // Are there ChildWindows in der Superklasse? + // Are there ChildWindows in the superclass? sal_uInt16 nBaseCount = pGenoType->GetChildWindowCount(); if ( nNo < nBaseCount ) // The Super class comes first @@ -415,7 +415,7 @@ SfxShellFeature SfxInterface::GetChildWindowFeature (sal_uInt16 nNo) const { if ( pGenoType ) { - // Are there ChildWindows in der Superklasse? + // Are there ChildWindows in the superclass? sal_uInt16 nBaseCount = pGenoType->GetChildWindowCount(); if ( nNo < nBaseCount ) // The Super class comes first diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 49b17f515691..2407880c3430 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -1583,7 +1583,7 @@ bool SfxCommonTemplateDialog_Impl::Execute_Impl( return true; } -// Handler der Listbox der Filter +// Handler Listbox of Filter void SfxCommonTemplateDialog_Impl::EnableHierarchical(bool const bEnable) { if (bEnable) diff --git a/sfx2/source/doc/objembed.cxx b/sfx2/source/doc/objembed.cxx index 9ebe0078bd16..437334e75528 100644 --- a/sfx2/source/doc/objembed.cxx +++ b/sfx2/source/doc/objembed.cxx @@ -252,7 +252,7 @@ comphelper::EmbeddedObjectContainer& SfxObjectShell::GetEmbeddedObjectContainer( void SfxObjectShell::ClearEmbeddedObjects() { - // frees alle space taken by embedded objects + // frees all space taken by embedded objects DELETEZ( pImpl->mpObjectContainer ); } diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx index ba3ed38293f4..5a37474148c5 100644 --- a/sfx2/source/sidebar/DeckLayouter.cxx +++ b/sfx2/source/sidebar/DeckLayouter.cxx @@ -184,10 +184,10 @@ tools::Rectangle LayoutPanels ( // We are now in one of three modes. // - The preferred height fits into the available size: - // Use the preferred size, distribute the remaining height bei + // Use the preferred size, distribute the remaining height by // enlarging panels. // - The total minimum height fits into the available size: - // Use the minimum size, distribute the remaining height bei + // Use the minimum size, distribute the remaining height by // enlarging panels. // - The total minimum height does not fit into the available // size: diff --git a/starmath/sdi/smslots.sdi b/starmath/sdi/smslots.sdi index 43a73bd84db4..136a96888475 100644 --- a/starmath/sdi/smslots.sdi +++ b/starmath/sdi/smslots.sdi @@ -55,13 +55,13 @@ interface FormulaDocument ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menuepunkt , also keine Texte + //idlpp no menu entry, so no texts SID_LOADSYMBOLS //idlpp ole : no , status : no [ ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menuepunkt , also keine Texte + //idlpp no menu entry, so no texts SID_SAVESYMBOLS //idlpp ole : no , status : no [ ExecMethod = Execute ; @@ -92,19 +92,19 @@ interface FormulaDocument ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_MODIFYSTATUS //idlpp ole : no , status : no [ ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_TEXT //idlpp ole : no , status : no [ ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_GAPHIC_SM //idlpp ole : no , status : no [ ExecMethod = Execute ; @@ -179,13 +179,13 @@ interface FormulaView ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_COPYOBJECT //idlpp ole : no , status : no [ ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_PASTEOBJECT //idlpp ole : no , status : no [ ExecMethod = Execute ; @@ -216,7 +216,7 @@ interface FormulaView ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_INSERTCOMMAND //idlpp ole : no , status : no [ ExecMethod = Execute ; @@ -227,7 +227,7 @@ interface FormulaView ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_INSERTSYMBOL //idlpp ole : no , status : no [ ExecMethod = Execute ; @@ -245,7 +245,7 @@ interface FormulaView StateMethod = GetState ; Export = FALSE ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_ATTR_ZOOM //idlpp ole : no , status : no [ ExecMethod = Execute ; @@ -256,19 +256,19 @@ interface FormulaView ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_TEXTSTATUS //idlpp ole : no , status : no [ ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_GETEDITTEXT //idlpp ole : no , status : no [ ExecMethod = Execute ; StateMethod = GetState ; ] - //idlpp kein Menueeintrag , also keine Texte + //idlpp no menu entry, so no texts SID_CMDBOXWINDOW //idlpp ole : no , status : no [ ExecMethod = NoExec ; diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 6e7e909918ac..4d7634c83703 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1943,7 +1943,7 @@ void SmSymDefineDialog::UpdateButtons() if (aTmpSymbolName.getLength() > 0 && aTmpSymbolSetName.getLength() > 0) { // are all settings equal? - //! (Font-, Style- und SymbolSet name comparison is not case sensitive) + //! (Font-, Style- and SymbolSet name comparison is not case sensitive) bool bEqual = pOrigSymbol && aTmpSymbolSetName.equalsIgnoreAsciiCase(pOldSymbolSetName->GetText()) && aTmpSymbolName.equals(pOrigSymbol->GetName()) diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index 3f63a86df88d..724b9f0ee64d 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -484,7 +484,7 @@ void SmDrawingVisitor::DrawTextNode( SmTextNode* pNode ) Point aPos ( maPosition ); aPos.Y( ) += pNode->GetBaselineOffset( ); - // auf Pixelkoordinaten runden + // round to pixel coordinate aPos = mrDev.PixelToLogic( mrDev.LogicToPixel( aPos ) ); mrDev.DrawStretchText( aPos, pNode->GetWidth( ), pNode->GetText( ) ); diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index ef2a481befb5..63de4bbd4130 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -309,7 +309,7 @@ void SfxItemPool::ReleaseDefaults /** - * Frees the specified static Defaults und also deletes them, if so + * Frees the specified static Defaults and also deletes them, if so * specified. * * This method MUST be called AFTER all SfxItemPool instances (which diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index a4ed73c52f33..e69418456833 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -610,7 +610,7 @@ void SfxItemSet::PutExtended { if ( IsInvalidItem( *ppFnd ) ) { - // Item ist DontCare: + // Item is DontCare: switch ( eDontCareAs ) { case SfxItemState::SET: diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index b47fd58440bb..b733cd3fa59c 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -775,7 +775,7 @@ SvTreeListEntry* SvImpLBox::GetClickedEntry( const Point& rPoint ) const // checks if the entry was hit "the right way" -// (Focusrect+ ContextBitmap bei TreeListBox) +// (Focusrect+ ContextBitmap at TreeListBox) bool SvImpLBox::EntryReallyHit(SvTreeListEntry* pEntry, const Point& rPosPixel, long nLine) { diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 0a5ce6f2bbe1..3341d8d0b6f4 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -150,7 +150,7 @@ SvtMatchContext_Impl::~SvtMatchContext_Impl() void SvtMatchContext_Impl::FillPicklist(std::vector<OUString>& rPickList) { - // Einlesung der Historypickliste + // Read the history of picks Sequence< Sequence< PropertyValue > > seqPicklist = SvtHistoryOptions().GetList( ePICKLIST ); sal_uInt32 nCount = seqPicklist.getLength(); diff --git a/svtools/source/dialogs/insdlg.cxx b/svtools/source/dialogs/insdlg.cxx index 5d76ec22de3b..312a2cfb725e 100644 --- a/svtools/source/dialogs/insdlg.cxx +++ b/svtools/source/dialogs/insdlg.cxx @@ -164,7 +164,7 @@ void SvObjectServerList::FillInsertObjects() if( aClassName.MakeId( aClassID) ) { if( !Get( aClassName ) ) - // noch nicht eingetragen + // not entered yet aObjectServerList.push_back( SvObjectServer( aClassName, aUIName ) ); } } diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx index 84a6e5d3a54d..c2dc34ff6293 100644 --- a/svtools/source/inc/svimpbox.hxx +++ b/svtools/source/inc/svimpbox.hxx @@ -215,7 +215,7 @@ protected: SelectionEngine aSelEng; sal_uLong nVisibleCount; // Number of lines in control bool bInVScrollHdl : 1; - bool bSimpleTravel : 1; // ist true bei SelectionMode::Single + bool bSimpleTravel : 1; // is true if SelectionMode::Single long nNextVerVisSize; long nNodeBmpTabDistance; // typical smaller than 0 @@ -224,7 +224,7 @@ protected: virtual void CursorUp(); virtual void PageDown( sal_uInt16 nDelta ); virtual void PageUp( sal_uInt16 nDelta ); - // setzt Thumb auf FirstEntryToDraw + // set Thumb to FirstEntryToDraw virtual void SyncVerThumb(); virtual void AdjustScrollBars( Size& rSize ); virtual void InvalidateEntry( long nY ) const; diff --git a/svtools/source/misc/unitconv.cxx b/svtools/source/misc/unitconv.cxx index b20e22c3c30a..df9a282d1785 100644 --- a/svtools/source/misc/unitconv.cxx +++ b/svtools/source/misc/unitconv.cxx @@ -145,7 +145,7 @@ long GetCoreValue( const MetricField& rField, MapUnit eUnit ) long CalcToUnit( float nIn, MapUnit eUnit ) { - // nIn ist in Points + // nIn is in Points DBG_ASSERT( eUnit == MapUnit::MapTwip || eUnit == MapUnit::Map100thMM || diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index 5199ecec5d22..1038b6f4a42a 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -633,7 +633,7 @@ SvStream& HTMLOutFuncs::Out_ImageMap( SvStream& rStream, for( size_t i=0; i<rIMap.GetIMapObjectCount(); i++ ) { const IMapObject* pObj = rIMap.GetIMapObject( i ); - DBG_ASSERT( pObj, "Wo ist das ImageMap-Object?" ); + DBG_ASSERT( pObj, "Where is the ImageMap-Object?" ); if( pObj ) { diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index cd8faf0509af..1e4e39f3edaf 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -1161,7 +1161,7 @@ int HTMLParser::GetNextToken_() { if( bOffState ) { - // einfach alles wegschmeissen + // simply throw away everything ScanText( '>' ); if( sal_Unicode(EOF) == nNextCh && rInput.IsEof() ) { diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx index b822146f8b2d..b1639b596677 100644 --- a/svtools/source/svrtf/parrtf.cxx +++ b/svtools/source/svrtf/parrtf.cxx @@ -41,7 +41,7 @@ SvRTFParser::SvRTFParser( SvStream& rIn, sal_uInt8 nStackSize ) , eCodeSet(RTL_TEXTENCODING_MS_1252) , nUCharOverread(1) { - // default ist ANSI-CodeSet + // default is ANSI-CodeSet SetSrcEncoding( RTL_TEXTENCODING_MS_1252 ); bRTF_InTextRead = false; } diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index 9521348ae37d..57e2ed2b973c 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -1188,7 +1188,7 @@ void SVTXFormattedField::SetDefaultValue(const css::uno::Any& rValue) break; default: pField->EnableEmptyField(true); - // nur noch void erlaubt + // only void accecpted break; } } diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 44122b1e6494..5c781f5ef6ab 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -950,7 +950,7 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, case WindowType::MODALDIALOG: case WindowType::MODELESSDIALOG: { - // Modal/Modeless nur durch Show/Execute + // Modal/Modeless only via Show/Execute if ( (pParent == nullptr ) && ( rDescriptor.ParentIndex == -1 ) ) pNewWindow = VclPtr<toolkit::ScrollableDialog>::Create( nullptr, nWinBits, Dialog::InitFlag::NoParent ); else diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx index 2fcf0ecf05b2..0c1a4d72c4af 100644 --- a/toolkit/source/controls/stdtabcontroller.cxx +++ b/toolkit/source/controls/stdtabcontroller.cxx @@ -143,7 +143,7 @@ void StdTabController::ImplActivateControl( bool bFirst ) const for ( sal_uInt32 n = bFirst ? 0 : nCount; bFirst ? n < nCount : n != 0; ) { sal_uInt32 nCtrl = bFirst ? n++ : --n; - DBG_ASSERT( pControls[nCtrl].is(), "Control nicht im Container!" ); + DBG_ASSERT( pControls[nCtrl].is(), "Control not in Container!" ); if ( pControls[nCtrl].is() ) { Reference< XWindowPeer > xCP = pControls[nCtrl]->getPeer(); diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 9e4c2e55650b..66da7f49f8f9 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -921,7 +921,7 @@ void UnoControlModel::read( const css::uno::Reference< css::io::XObjectInputStre if ( !pFD ) { pFD = new css::awt::FontDescriptor; - if ( maData.find( BASEPROPERTY_FONTDESCRIPTOR ) != maData.end() ) // wegen den Defaults... + if ( maData.find( BASEPROPERTY_FONTDESCRIPTOR ) != maData.end() ) // due to defaults... maData[ BASEPROPERTY_FONTDESCRIPTOR ] >>= *pFD; } pFD->Name = InStream->readUTF(); @@ -1176,7 +1176,7 @@ void UnoControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nPropId, const const css::uno::Any* pProp = it == maData.end() ? nullptr : &(it->second); ENSURE_OR_RETURN_VOID( pProp, "UnoControlModel::setFastPropertyValue_NoBroadcast: invalid property id!" ); - DBG_ASSERT( ( rValue.getValueType().getTypeClass() != css::uno::TypeClass_VOID ) || ( GetPropertyAttribs( (sal_uInt16)nPropId ) & css::beans::PropertyAttribute::MAYBEVOID ), "Property darf nicht VOID sein!" ); + DBG_ASSERT( ( rValue.getValueType().getTypeClass() != css::uno::TypeClass_VOID ) || ( GetPropertyAttribs( (sal_uInt16)nPropId ) & css::beans::PropertyAttribute::MAYBEVOID ), "Property should not be VOID!" ); maData[ nPropId ] = rValue; } diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 18f6503d0483..b2363d8b510b 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -2745,15 +2745,15 @@ void UnoListBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_In nPos = nOldLen; sal_uInt16 n; - // Items vor der Einfuege-Position + // Items before the Paste-Position for ( n = 0; n < nPos; n++ ) pNewData[n] = pOldData[n]; - // Neue Items + // New Items for ( n = 0; n < nNewItems; n++ ) pNewData[nPos+n] = aItems.getConstArray()[n]; - // Rest der alten Items + // Rest of old Items for ( n = nPos; n < nOldLen; n++ ) pNewData[nNewItems+n] = pOldData[n]; @@ -2778,11 +2778,11 @@ void UnoListBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount ) OUString* pOldData = aSeq.getArray(); sal_uInt16 n; - // Items vor der Entfern-Position + // Items before the Remove-Position for ( n = 0; n < nPos; n++ ) pNewData[n] = pOldData[n]; - // Rest der Items + // Rest of Items for ( n = nPos; n < (nOldLen-nCount); n++ ) pNewData[n] = pOldData[n+nCount]; diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 55f50ece4c69..646d12723976 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -542,7 +542,7 @@ bool InternalResMgr::Create() bool InternalResMgr::IsGlobalAvailable( RESOURCE_TYPE nRT, sal_uInt32 nId ) const { - // Anfang der Strings suchen + // search beginning of string ImpContent aValue; aValue.nTypeAndId = ((sal_uInt64(sal_uInt32(nRT)) << 32) | nId); ImpContent * pFind = ::std::lower_bound(pContent, diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx index 04464a4f5e02..ee6d54d53b14 100644 --- a/tools/source/ref/errinf.cxx +++ b/tools/source/ref/errinf.cxx @@ -87,7 +87,7 @@ void DynamicErrorInfo_Impl::UnRegisterEDcr(DynamicErrorInfo const *pDcr) { DynamicErrorInfo **ppDcr = TheEDcrData::get().ppDcr; sal_uIntPtr lIdx = (((sal_uIntPtr)(*pDcr) & ERRCODE_DYNAMIC_MASK) >> ERRCODE_DYNAMIC_SHIFT) - 1; - DBG_ASSERT(ppDcr[lIdx]==pDcr,"ErrHdl: Error nicht gefunden"); + DBG_ASSERT(ppDcr[lIdx]==pDcr,"ErrHdl: Error not found"); if(ppDcr[lIdx]==pDcr) ppDcr[lIdx]=nullptr; } @@ -152,9 +152,9 @@ public: static void aDspFunc(const OUString &rErr, const OUString &rAction) { - OStringBuffer aErr("Aktion: "); + OStringBuffer aErr("Action: "); aErr.append(OUStringToOString(rAction, RTL_TEXTENCODING_ASCII_US)); - aErr.append(" Fehler: "); + aErr.append(" Error: "); aErr.append(OUStringToOString(rErr, RTL_TEXTENCODING_ASCII_US)); OSL_FAIL(aErr.getStr()); } @@ -307,7 +307,7 @@ ErrorHandlerFlags ErrorHandler::HandleError_Impl( } } } - OSL_FAIL("Error nicht behandelt"); + OSL_FAIL("Error not handled"); // Error 1 is General Error in the Sfx if(pInfo->GetErrorCode()!=1) { @@ -315,7 +315,7 @@ ErrorHandlerFlags ErrorHandler::HandleError_Impl( } else { - OSL_FAIL("Error 1 nicht gehandeled"); + OSL_FAIL("Error 1 not handled"); } delete pInfo; return ErrorHandlerFlags::NONE; diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index b9232183358b..d2de88e44d3e 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1656,7 +1656,7 @@ sal_uInt64 SvMemoryStream::GetSize() void SvMemoryStream::SetBuffer( void* pNewBuf, std::size_t nCount, std::size_t nEOF ) { - SetBufferSize( 0 ); // Buffering in der Basisklasse initialisieren + SetBufferSize( 0 ); // Init buffering in the base class Seek( 0 ); if( bOwnsData ) { diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx index 33d5618b00a0..907bb43cde55 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -1348,7 +1348,7 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl ) if (rDM_Impl.IsNewDoc()) ApplyProperties_( xFollowPageStyle ); - //todo: creating a "First Page" style depends on HasTitlePage und _fFacingPage_ + //todo: creating a "First Page" style depends on HasTitlePage and _fFacingPage_ if( m_bTitlePage ) { CopyLastHeaderFooter( true, rDM_Impl ); diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index f2b64243d1da..74742920e729 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -2927,7 +2927,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapPlaceholderType(sal_uInt16 nType) enum XMLTokenEnum XMLTextFieldExport::MapAuthorFieldName( const Reference<XPropertySet> & xPropSet) { - // Initalen oder voller Name? + // Initials or full name? return GetBoolProperty(sPropertyFullName, xPropSet) ? XML_AUTHOR_NAME : XML_AUTHOR_INITIALS; } |