[LyX/master] Whitespace

Scott Kostyshak skostysh at lyx.org
Fri Aug 21 01:26:46 UTC 2020


commit 4c0073cd03021da6cefb718cb777a5e1f944afd1
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Thu Aug 20 21:51:06 2020 -0400

    Whitespace
---
 lib/scripts/lyxpaperview        |    2 +-
 src/BiblioInfo.cpp              |    4 ++--
 src/BiblioInfo.h                |    2 +-
 src/frontends/qt/qt_helpers.cpp |    4 ++--
 src/frontends/qt/qt_helpers.h   |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/scripts/lyxpaperview b/lib/scripts/lyxpaperview
index 29093da..cc1399e 100755
--- a/lib/scripts/lyxpaperview
+++ b/lib/scripts/lyxpaperview
@@ -6,7 +6,7 @@
 #Syntax: paperview AuthorName Year
 #Output: absolute path to the file(s)
 #
-#Dependencies: 
+#Dependencies:
 #1) mlocate/updatedb or similar package installed and running.
 #2) stored papers must contain first author name and year of publication in filename.
 
diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp
index ab073ae..a517768 100644
--- a/src/BiblioInfo.cpp
+++ b/src/BiblioInfo.cpp
@@ -691,7 +691,7 @@ void BibTeXInfo::getLocators(docstring & doi, docstring & url, docstring & file)
 				file = "file:///" + filedest;
 		}
 
-		if (!url.empty()) 
+		if (!url.empty())
 			return;
 
 		// try biblatex specific fields, see its manual
@@ -1342,7 +1342,7 @@ void BiblioInfo::getLocators(docstring const & key, docstring & doi, docstring &
 {
 	BiblioInfo::const_iterator it = find(key);
 	 if (it == end())
-	 	return;
+		return;
 	BibTeXInfo const & data = it->second;
 	data.getLocators(doi,url,file);
 }
diff --git a/src/BiblioInfo.h b/src/BiblioInfo.h
index 00cdfcf..ddf1daa 100644
--- a/src/BiblioInfo.h
+++ b/src/BiblioInfo.h
@@ -70,7 +70,7 @@ public:
 				      bool const allnames = false, bool const beginning = true) const;
 	///
 	docstring const getYear() const;
-	/// 
+	///
 	void getLocators(docstring & doi, docstring & url, docstring & file) const;
 	/// \return formatted BibTeX data suitable for framing.
 	/// \param vector of pointers to crossref/xdata information
diff --git a/src/frontends/qt/qt_helpers.cpp b/src/frontends/qt/qt_helpers.cpp
index 0ef0775..176267a 100644
--- a/src/frontends/qt/qt_helpers.cpp
+++ b/src/frontends/qt/qt_helpers.cpp
@@ -303,9 +303,9 @@ void showTarget(string const & target){
 		string tmp,tar;
 		tar = split(target, tmp, ' ');
 		FuncRequest cmd = FuncRequest(LFUN_VC_COMMAND,"U . \"lyxpaperview " + tar + "\"");
-	  	lyx::dispatch(cmd);
+		lyx::dispatch(cmd);
 		return;
-	} 
+	}
 	QDesktopServices::openUrl(QUrl(toqstr(target), QUrl::TolerantMode));
 }
 } // namespace frontend
diff --git a/src/frontends/qt/qt_helpers.h b/src/frontends/qt/qt_helpers.h
index 6c7c366..967ee5f 100644
--- a/src/frontends/qt/qt_helpers.h
+++ b/src/frontends/qt/qt_helpers.h
@@ -101,7 +101,7 @@ void setSectionResizeMode(QHeaderView * view,
 	QHeaderView::ResizeMode mode);
 /// Shows a directory in OSs file browser
 void showDirectory(support::FileName const & directory);
-/// handle request for showing citation content - shows pdf or 
+/// handle request for showing citation content - shows pdf or
 /// web page in target; external script can be used for pdf view
 void showTarget(std::string const & target);
 


More information about the lyx-cvs mailing list