diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-14 13:42:24 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-14 13:42:24 +1000 |
commit | 9948c490832acd4d211070adfef982d1c0e8b4c4 (patch) | |
tree | bcc9fba58f0b071736ddfb61c60d8854349df24d /src/Editor.cxx | |
parent | 793a375153519ae45ca8b3c9645fee347160d1a4 (diff) | |
download | scintilla-mirror-9948c490832acd4d211070adfef982d1c0e8b4c4.tar.gz |
Modernize Platform.h (1) - noexcept, const, standard methods.
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu,
DynamicLibrary, and Platform.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 3a357f37e..c89f3b6b8 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -308,8 +308,7 @@ Sci::Line Editor::TopLineOfMain() const { } PRectangle Editor::GetClientRectangle() const { - Window win = wMain; - return win.GetClientPosition(); + return wMain.GetClientPosition(); } PRectangle Editor::GetClientDrawingRectangle() { |