WS cleanup, remove extraeneous spaces

This commit is contained in:
Lars Gullik Bjønnes 2012-10-21 20:17:26 +02:00
parent b6a626d8d9
commit 62394258da
4 changed files with 5 additions and 7 deletions

View 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().

View 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();

View File

@ -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

View 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();
}
}