]> git.lyx.org Git - features.git/commitdiff
Whitespace
authorScott Kostyshak <skostysh@lyx.org>
Fri, 21 Aug 2020 01:51:06 +0000 (21:51 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 21 Aug 2020 01:51:29 +0000 (21:51 -0400)
lib/scripts/lyxpaperview
src/BiblioInfo.cpp
src/BiblioInfo.h
src/frontends/qt/qt_helpers.cpp
src/frontends/qt/qt_helpers.h

index 29093da0039228f051245aab2a986675f3619380..cc1399e13737e84b717c8ce8e2e25fddc956bf08 100755 (executable)
@@ -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.
 
index ab073ae600a85db78efcead957f67a7a6ba01bd9..a517768b223dc88cacbfcaaae2c45f9b0e80ef5d 100644 (file)
@@ -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);
 }
index 00cdfcfd1d1676fc8ab6cf59ec779d4e94acbe01..ddf1daa5e926bcb29be5bc033b0d5816da689244 100644 (file)
@@ -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
index 0ef077590bf27feefb6acc1245aaa1a8cb00a9fe..176267af8f00efd798629340763185b65ba845c8 100644 (file)
@@ -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
index 6c7c366f3d9d46d9813d36e79dfb2debcda63ca4..967ee5f37d045a70744fd9a51a04260fe6f458b8 100644 (file)
@@ -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);