Kaydet (Commit) d7bebc89 authored tarafından Michael Stahl's avatar Michael Stahl

translate all remaining abuses of "ueberladen"

It is scary how many barely educated C++ programmers can't tell their
inclusion polymorphism from their ad-hoc polymorphism.

Change-Id: Id4df7d168ba5257eff522a7f131c841c1ddcbccd
üst 6b084f00
......@@ -57,8 +57,8 @@ protected:
XPolygon ImpCalcXPoly(const Rectangle& rRect1, long nRad1) const;
void SetXPolyDirty();
// RecalcXPoly sollte ueberladen werden. Dabei muss dann eine XPolygon
// Instanz generiert (new) und an mpXPoly zugewiesen werden.
/// Subclasses should override RecalcXPoly() by creating an XPolygon
/// instance with new and assigning it to mpXPoly.
virtual void RecalcXPoly();
const XPolygon& GetXPoly() const;
virtual void RestGeoData(const SdrObjGeoData& rGeo) SAL_OVERRIDE;
......
......@@ -436,9 +436,8 @@ public:
void InvalidateAllWin();
void InvalidateAllWin(const Rectangle& rRect, bool bPlus1Pix=false);
// Wenn die View kein Invalidate() an den Fenstern durchfuehren soll, muss
// man diese beiden folgenden Methoden ueberladen und entsprechend anders
// reagieren.
/// If the View should not call Invalidate() on the windows, override
/// the following 2 methods and do something else.
virtual void InvalidateOneWin(vcl::Window& rWin);
virtual void InvalidateOneWin(vcl::Window& rWin, const Rectangle& rRect);
......
......@@ -164,7 +164,7 @@ public:
using cppu::OPropertySetHelper::getFastPropertyValue;
void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE;
// setValue-Methoden ueberladen, um die Einzelproperties des FontDescriptors abzufangen
// override setValue methods to handle properties of FontDescriptor
// ::com::sun::star::beans::XPropertySet
void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// ::com::sun::star::beans::XFastPropertySet
......
......@@ -163,7 +163,6 @@ interface TableEditView
SID_ATTR_ZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; ]
FID_INSERT_FILE [ ExecMethod = Execute; StateMethod = GetState; ]
// Save / SaveAs ueberladen, um die Eingabe abzuschliessen
FID_SCALE [ ExecMethod = Execute; StateMethod = GetState; ]
FID_FUNCTION_BOX [ ExecMethod = Execute; StateMethod = GetState; ]
......
......@@ -588,21 +588,7 @@ void ScFunctionDockWin::SetDescription()
}
}
/*************************************************************************
#* Member: Resizing
#*------------------------------------------------------------------------
#*
#* Klasse: ScFunctionDockWin
#*
#* Funktion: Ueberladene Funktion um die Groesse der
#* einzelnen Controls einzustellen.
#*
#* Input: neue Groesse
#*
#* Output: ---
#*
#************************************************************************/
/// override to set new size of the controls
void ScFunctionDockWin::Resizing( Size& rNewSize )
{
if((sal_uLong)rNewSize.Width()<nMinWidth) rNewSize.Width()=nMinWidth;
......@@ -717,21 +703,7 @@ void ScFunctionDockWin::Notify( SfxBroadcaster&, const SfxHint& /* rHint */ )
{
}
/*************************************************************************
#* Member: Resize
#*------------------------------------------------------------------------
#*
#* Klasse: ScFunctionDockWin
#*
#* Funktion: Ueberladene Funktion um die Groesse der
#* einzelnen Controls einzustellen.
#*
#* Input: neue Groesse
#*
#* Output: ---
#*
#************************************************************************/
/// override to set new size of the controls
void ScFunctionDockWin::Resize()
{
if ( !IsFloatingMode() ||
......
......@@ -3669,11 +3669,9 @@ void SwTxtNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewVal
bool bWasNotifiable = m_bNotifiable;
m_bNotifiable = false;
// Bug 24616/24617:
// Modify ueberladen, damit beim Loeschen von Vorlagen diese
// wieder richtig verwaltet werden (Outline-Numerierung!!)
// Bug25481:
// bei Nodes im Undo nie _ChgTxtCollUpdateNum rufen.
// Override Modify so that deleting styles works properly (outline
// numbering!).
// Never call _ChgTxtCollUpdateNum for Nodes in Undo.
if( pOldValue && pNewValue && RES_FMT_CHG == pOldValue->Which() &&
GetRegisteredIn() == static_cast<const SwFmtChg*>(pNewValue)->pChangedFmt &&
GetNodes().IsDocNodes() )
......
......@@ -246,16 +246,15 @@ protected:
SfxItemSet& rItemSet,
SvxCSS1PropertyInfo& rPropInfo );
// Diese Methode wird aufgerufen, wenn ein Selektor geparst wurde
// Wenn bFirst gesetzt ist, wird der Inhalt von aItemSet in alle
// zuletzt angelegten Styles kopiert.
// Diese Methode sollte in abgleiteten Parsern nicht mehr
// ueberladen werden!
/// Will be called when a Selector is parsed. If bFirst is true,
/// the content of the aItemSet will be copied into all recently
/// created Styles.
/// Derived classes should not override this method!
virtual bool SelectorParsed( CSS1Selector *pSelector, bool bFirst ) SAL_OVERRIDE;
// Diese Methode wird fuer jede geparste Property aufgerufen
// sie fuegt das Item in den ItemSet 'pItemSet' ein
// Sie sollte in abgeleiteten Parsern nicht mehr ueberladen werden!
/// Will be called for every parsed Property. Adds the item to the
/// pItemSet.
/// Derived classes should not override this method!
virtual bool DeclarationParsed( const OUString& rProperty,
const CSS1Expression *pExpr ) SAL_OVERRIDE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment