From ed5fcd95ac5a4209272a01b18bcaeafe0847efb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 30 Aug 2008 14:52:56 +0000 Subject: [PATCH] =?UTF-8?q?InsetHyperlink.cpp:=20coding=20style=20change?= =?UTF-8?q?=20according=20to=20Andr=C3=A9's=20advice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26269 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetHyperlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetHyperlink.cpp b/src/insets/InsetHyperlink.cpp index b60b2b1042..42c6240a03 100644 --- a/src/insets/InsetHyperlink.cpp +++ b/src/insets/InsetHyperlink.cpp @@ -90,7 +90,7 @@ int InsetHyperlink::latex(odocstream & os, OutputParams const & runparams) const docstring type = getParam("type"); if (url.find(from_ascii("://")) == string::npos && url.find(from_ascii("run:")) == string::npos - && type == "") + && type.empty()) url = from_ascii("http://") + url; } // end if (!url.empty())