]> git.lyx.org Git - features.git/commitdiff
WS cleanup, remove extraeneous spaces
authorLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 21 Oct 2012 18:17:26 +0000 (20:17 +0200)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 26 Oct 2012 23:25:38 +0000 (01:25 +0200)
src/BufferParams.h
src/CutAndPaste.cpp
src/LyX.h
src/graphics/GraphicsLoader.cpp

index 306e5bc3d2691383193de70b95a5bf5db697b8f8..98f79a57fbee105397adff1ff5a28a5a57d3d849 100644 (file)
@@ -134,7 +134,7 @@ public:
        DocumentClass const & documentClass() const;
        /// \return A pointer to the DocumentClass currently in use: the BaseClass
        /// as modified by modules.
-       DocumentClassConstPtr  documentClassPtr() const;
+       DocumentClassConstPtr documentClassPtr() const;
        /// This bypasses the baseClass and sets the textClass directly.
        /// Should be called with care and would be better not being here,
        /// but it seems to be needed by CutAndPaste::putClipboard().
index 4b95b9be506f1d28f9a0dfcd2b1f7fb74d62dee0..9a336a194a389b11263bd808feed7425285b9882 100644 (file)
@@ -631,7 +631,7 @@ bool multipleCellsSelected(Cursor const & cur)
 }
 
 
-void switchBetweenClasses(DocumentClassConstPtr  oldone,
+void switchBetweenClasses(DocumentClassConstPtr oldone,
                DocumentClassConstPtr newone, InsetText & in, ErrorList & errorlist)
 {
        errorlist.clear();
index af43edc2d0bc039d125d6ce3d1aca043f4ed844a..70b8b7e8c6384f60aa93b92ac78b1ad613f4f3bf 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -144,7 +144,7 @@ private:
        friend Messages const & getGuiMessages();
        friend KeyMap & theTopLevelKeymap();
        friend Movers & theMovers();
-       friend Mover const & getMover(std::string  const & fmt);
+       friend Mover const & getMover(std::string const & fmt);
        friend void setMover(std::string const & fmt, std::string const & command);
        friend Movers & theSystemMovers();
        friend frontend::Application * theApp();
@@ -180,4 +180,3 @@ void dispatch(FuncRequest const & action, DispatchResult & dr);
 } // namespace lyx
 
 #endif // LYX_H
-
index f635e0b321f6b8e625f53bf469d8811adce36779..5ed19c60eafec6825ef28a4b943f16439a46aa27 100644 (file)
@@ -96,11 +96,10 @@ void LoaderQueue::loadNext()
                if (ptr->status() == WaitingToLoad)
                        ptr->startLoading();
        }
-       if (!cache_queue_.empty()) {
+       if (!cache_queue_.empty())
                startLoader();
-       } else {
+       else
                stopLoader();
-       }
 }