From 8e94953b2d9f7d946445759fe31d169879b680c8 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 14 May 2018 13:42:24 +1000 Subject: 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. --- src/Editor.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Editor.cxx') 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() { -- cgit v1.2.3