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 | 8e94953b2d9f7d946445759fe31d169879b680c8 (patch) | |
tree | a5f38b198b2c82cec50b3bbe8def5907e6358ac2 /src/Editor.cxx | |
parent | 13c4548805a2a5ef718fc5dfa6f77bb60c6bed2b (diff) | |
download | scintilla-mirror-8e94953b2d9f7d946445759fe31d169879b680c8.tar.gz |
Backport: Modernize Platform.h (1) - noexcept, const, standard methods.
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu,
DynamicLibrary, and Platform.
Backport of changeset 6938:a42c7cc3254b.
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 f30c08a59..abbb95917 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -307,8 +307,7 @@ Sci::Line Editor::TopLineOfMain() const { } PRectangle Editor::GetClientRectangle() const { - Window win = wMain; - return win.GetClientPosition(); + return wMain.GetClientPosition(); } PRectangle Editor::GetClientDrawingRectangle() { |