diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-08 14:25:45 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-09 00:00:46 +0100 |
commit | d7bebc89c19d70344a8d71c729bbcb3a59004114 (patch) | |
tree | 9cfc402af2678c8c017e3a37ae66b3915c4c1eb0 /include | |
parent | 6b084f0001fc15112bf3c40d20a0c7096c83b7fe (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdorect.hxx | 4 | ||||
-rw-r--r-- | include/svx/svdpntv.hxx | 5 | ||||
-rw-r--r-- | include/toolkit/controls/unocontrolmodel.hxx | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/include/svx/svdorect.hxx b/include/svx/svdorect.hxx index ef88cd275d54..df1551b42922 100644 --- a/include/svx/svdorect.hxx +++ b/include/svx/svdorect.hxx @@ -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; diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index a1bede091294..25d8e087ebc8 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -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); diff --git a/include/toolkit/controls/unocontrolmodel.hxx b/include/toolkit/controls/unocontrolmodel.hxx index 6fe15a97d7d4..eeb02c6b3756 100644 --- a/include/toolkit/controls/unocontrolmodel.hxx +++ b/include/toolkit/controls/unocontrolmodel.hxx @@ -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 |