Kaydet (Commit) 5f740414 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: Ia36c8abe91e8c2ac46498e88def59a9887711ba1
Reviewed-on: https://gerrit.libreoffice.org/41014Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 8b3fcb6a
...@@ -207,7 +207,7 @@ void ImpEditView::SelectionChanged() ...@@ -207,7 +207,7 @@ void ImpEditView::SelectionChanged()
// This can be safely assumed due to the EditView only being capable of painting the // This can be safely assumed due to the EditView only being capable of painting the
// selection in XOR until today. // selection in XOR until today.
// This also means that all places calling DrawSelectionXOR are thoroughly weighted // This also means that all places calling DrawSelectionXOR are thoroughly weighted
// and choosen to make this fragile XOR-paint water-proof and thus contain some // and chosen to make this fragile XOR-paint water-proof and thus contain some
// information in this sense. // information in this sense.
// Someone thankfully expanded it to collect the SelectionRectangles when called with // Someone thankfully expanded it to collect the SelectionRectangles when called with
// the Region*, see GetSelectionRectangles below. // the Region*, see GetSelectionRectangles below.
......
...@@ -262,7 +262,7 @@ private: ...@@ -262,7 +262,7 @@ private:
// and the direct repaint of the Window-plugged EditView will be suppressed. // and the direct repaint of the Window-plugged EditView will be suppressed.
// Instead, a consumer that has registered using a EditViewCallbacks // Instead, a consumer that has registered using a EditViewCallbacks
// incarnation has to handle that. Used e.g. to represent the edited text // incarnation has to handle that. Used e.g. to represent the edited text
// in Draw/Impres in an OverlayObject which avoids evtl. expensive full // in Draw/Impress in an OverlayObject which avoids evtl. expensive full
// repaints of the EditView(s) // repaints of the EditView(s)
const EditViewCallbacks* mpEditViewCallbacks; const EditViewCallbacks* mpEditViewCallbacks;
......
...@@ -81,7 +81,7 @@ enum class ScrollRangeCheck ...@@ -81,7 +81,7 @@ enum class ScrollRangeCheck
}; };
// Helper class that allows to set a callback at the EditView. When // Helper class that allows to set a callback at the EditView. When
// set, Invalidates and repains are suppressed at the EditView, but // set, Invalidates and repaints are suppressed at the EditView, but
// EditViewInvalidate() will be triggered to allow the consumer to // EditViewInvalidate() will be triggered to allow the consumer to
// react itself as needed. // react itself as needed.
// Also Selection visualization is suppressed and EditViewSelectionChange // Also Selection visualization is suppressed and EditViewSelectionChange
......
...@@ -69,7 +69,7 @@ class SVX_DLLPUBLIC SdrObjEditView: public SdrGlueEditView, public EditViewCallb ...@@ -69,7 +69,7 @@ class SVX_DLLPUBLIC SdrObjEditView: public SdrGlueEditView, public EditViewCallb
virtual void EditViewSelectionChange() const override; virtual void EditViewSelectionChange() const override;
// The OverlayObjects used for visualizing active TextEdit (currently // The OverlayObjects used for visualizing active TextEdit (currently
// using TextEditOverlayObject, but not limitied to it // using TextEditOverlayObject, but not limited to it
sdr::overlay::OverlayObjectList maTEOverlayGroup; sdr::overlay::OverlayObjectList maTEOverlayGroup;
protected: protected:
......
...@@ -367,7 +367,7 @@ namespace ...@@ -367,7 +367,7 @@ namespace
and thus avoiding potentially expensive repaints by using the and thus avoiding potentially expensive repaints by using the
automatically buffered Overlay mechanism. automatically buffered Overlay mechanism.
It buffers as amuch as possible locally and *only* triggers a real It buffers as much as possible locally and *only* triggers a real
change (see call to objectChange()) when really needed. change (see call to objectChange()) when really needed.
*/ */
class TextEditOverlayObject : public sdr::overlay::OverlayObject class TextEditOverlayObject : public sdr::overlay::OverlayObject
...@@ -531,7 +531,7 @@ namespace ...@@ -531,7 +531,7 @@ namespace
// active Outliner is always in unified oriented coordinate system (currently) // active Outliner is always in unified oriented coordinate system (currently)
// so just translate to TopLeft of visible Range. Keep in mind that top-left // so just translate to TopLeft of visible Range. Keep in mind that top-left
// depends on vertical text and top-to-bottom text attribures // depends on vertical text and top-to-bottom text attributes
const tools::Rectangle aVisArea(mrOutlinerView.GetVisArea()); const tools::Rectangle aVisArea(mrOutlinerView.GetVisArea());
const bool bVerticalWriting(pSdrOutliner->IsVertical()); const bool bVerticalWriting(pSdrOutliner->IsVertical());
const bool bTopToBottom(pSdrOutliner->IsTopToBottom()); const bool bTopToBottom(pSdrOutliner->IsTopToBottom());
...@@ -655,7 +655,7 @@ void SdrObjEditView::TextEditDrawing(SdrPaintWindow& rPaintWindow) const ...@@ -655,7 +655,7 @@ void SdrObjEditView::TextEditDrawing(SdrPaintWindow& rPaintWindow) const
{ {
// adapt all TextEditOverlayObject(s), so call EditViewInvalidate() // adapt all TextEditOverlayObject(s), so call EditViewInvalidate()
// to update accordingly (will update selection, too). Suppress new // to update accordingly (will update selection, too). Suppress new
// stuff when LibreOficeKit is active // stuff when LibreOfficeKit is active
EditViewInvalidate(); EditViewInvalidate();
} }
else else
......
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