diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/EditView.cxx | 2 | ||||
-rw-r--r-- | src/EditView.h | 2 | ||||
-rw-r--r-- | src/Editor.cxx | 2 | ||||
-rw-r--r-- | src/Editor.h | 2 | ||||
-rw-r--r-- | src/MarginView.cxx | 2 | ||||
-rw-r--r-- | src/MarginView.h | 2 | ||||
-rw-r--r-- | src/Platform.h | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 1ec163d27..6ba480123 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -251,7 +251,7 @@ void EditView::LinesAddedOrRemoved(Sci::Line lineOfPos, Sci::Line linesAdded) { } } -void EditView::DropGraphics(bool freeObjects) { +void EditView::DropGraphics(bool freeObjects) noexcept { if (freeObjects) { pixmapLine.reset(); pixmapIndentGuide.reset(); diff --git a/src/EditView.h b/src/EditView.h index 8f544f280..eb4cbf849 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -108,7 +108,7 @@ public: int GetNextTabstop(Sci::Line line, int x) const noexcept; void LinesAddedOrRemoved(Sci::Line lineOfPos, Sci::Line linesAdded); - void DropGraphics(bool freeObjects); + void DropGraphics(bool freeObjects) noexcept; void AllocateGraphics(const ViewStyle &vsDraw); void RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewStyle &vsDraw); diff --git a/src/Editor.cxx b/src/Editor.cxx index ab5c9c811..786d1bb95 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -262,7 +262,7 @@ void Editor::SetRepresentations() { } } -void Editor::DropGraphics(bool freeObjects) { +void Editor::DropGraphics(bool freeObjects) noexcept { marginView.DropGraphics(freeObjects); view.DropGraphics(freeObjects); } diff --git a/src/Editor.h b/src/Editor.h index 548c72ed8..4d01cb16a 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -274,7 +274,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void InvalidateStyleRedraw(); void RefreshStyleData(); void SetRepresentations(); - void DropGraphics(bool freeObjects); + void DropGraphics(bool freeObjects) noexcept; void AllocateGraphics(); // The top left visible point in main window coordinates. Will be 0,0 except for diff --git a/src/MarginView.cxx b/src/MarginView.cxx index 555720536..4d52d6036 100644 --- a/src/MarginView.cxx +++ b/src/MarginView.cxx @@ -109,7 +109,7 @@ MarginView::MarginView() noexcept { customDrawWrapMarker = nullptr; } -void MarginView::DropGraphics(bool freeObjects) { +void MarginView::DropGraphics(bool freeObjects) noexcept { if (freeObjects) { pixmapSelMargin.reset(); pixmapSelPattern.reset(); diff --git a/src/MarginView.h b/src/MarginView.h index 4468afa1b..bb1981ed8 100644 --- a/src/MarginView.h +++ b/src/MarginView.h @@ -34,7 +34,7 @@ public: MarginView() noexcept; - void DropGraphics(bool freeObjects); + void DropGraphics(bool freeObjects) noexcept; void AllocateGraphics(const ViewStyle &vsDraw); void RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewStyle &vsDraw); void PaintMargin(Surface *surface, Sci::Line topLine, PRectangle rc, PRectangle rcMargin, diff --git a/src/Platform.h b/src/Platform.h index 0c0f37ff6..46c3faf5b 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -174,7 +174,7 @@ public: virtual void Init(SurfaceID sid, WindowID wid)=0; virtual void InitPixMap(int width, int height, Surface *surface_, WindowID wid)=0; - virtual void Release()=0; + virtual void Release() noexcept=0; virtual bool Initialised()=0; virtual void PenColour(ColourDesired fore)=0; virtual int LogPixelsY()=0; |