mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21837 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ab16324b4a
commit
7c108afd14
@ -29,6 +29,8 @@
|
||||
#include <QLineEdit>
|
||||
#include <QInputDialog>
|
||||
|
||||
#include <iomanip>
|
||||
|
||||
using std::endl;
|
||||
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
using lyx::support::internalLineEnding;
|
||||
using lyx::support::externalLineEnding;
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
static char const * const mime_type = "application/x-lyx";
|
||||
|
@ -169,9 +169,8 @@ void GuiDialog::showData(string const & data)
|
||||
return;
|
||||
|
||||
if (!initialiseParams(data)) {
|
||||
lyxerr << "Dialog \"" << name()
|
||||
<< "\" failed to translate the data "
|
||||
"string passed to show()" << std::endl;
|
||||
LYXERR(Debug::ANY, "Dialog \"" << name()
|
||||
<< "\" failed to translate the data string passed to show()");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -188,8 +187,8 @@ void GuiDialog::updateData(string const & data)
|
||||
return;
|
||||
|
||||
if (!initialiseParams(data)) {
|
||||
lyxerr << "Dialog \"" << name()
|
||||
<< "\" could not be initialized" << std::endl;
|
||||
LYXERR(Debug::ANY, "Dialog \"" << name()
|
||||
<< "\" could not be initialized");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <QPushButton>
|
||||
#include <QCloseEvent>
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
|
||||
@ -115,7 +114,7 @@ void GuiErrorList::goTo(int item)
|
||||
ParIterator pit = buf.getParFromID(err.par_id);
|
||||
|
||||
if (pit == buf.par_iterator_end()) {
|
||||
lyxerr << "par id " << err.par_id << " not found" << endl;
|
||||
LYXERR(Debug::ANY, "par id " << err.par_id << " not found");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <QFontInfo>
|
||||
#include <QFontDatabase>
|
||||
|
||||
using std::endl;
|
||||
using std::make_pair;
|
||||
|
||||
using std::pair;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* \file qt4/KeySymbolFactory.cpp
|
||||
* \file qt4/GuiKeySymbol.cpp
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
@ -17,10 +17,6 @@
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#include "support/lstrings.h"
|
||||
#include "support/environment.h"
|
||||
#include "support/unicode.h"
|
||||
|
||||
#include "Encoding.h"
|
||||
#include "Language.h"
|
||||
|
||||
@ -29,17 +25,15 @@
|
||||
#include <QEvent>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include "boost/assert.hpp"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
using std::map;
|
||||
using lyx::support::contains;
|
||||
using lyx::support::getEnv;
|
||||
|
||||
namespace lyx {
|
||||
|
||||
#if 0
|
||||
static char encode(string const & encoding, QString const & str)
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "GuiPopupMenu.h"
|
||||
|
||||
#include "qt_helpers.h"
|
||||
#include "support/lstrings.h"
|
||||
|
||||
#include "MenuBackend.h"
|
||||
|
||||
@ -28,9 +27,6 @@
|
||||
#include <QCursor>
|
||||
#include <QMenuBar>
|
||||
|
||||
using std::pair;
|
||||
using std::string;
|
||||
using std::endl;
|
||||
|
||||
namespace lyx {
|
||||
namespace frontend {
|
||||
|
@ -24,12 +24,6 @@
|
||||
#include "debug.h"
|
||||
|
||||
|
||||
using std::make_pair;
|
||||
using std::string;
|
||||
using std::pair;
|
||||
using std::endl;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
namespace frontend {
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include <QString>
|
||||
|
||||
|
||||
using std::endl;
|
||||
|
||||
namespace lyx {
|
||||
namespace frontend {
|
||||
|
||||
|
@ -30,15 +30,7 @@
|
||||
#include "support/docstring.h"
|
||||
#include "support/lstrings.h"
|
||||
|
||||
#include <QProgressBar>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#include <QListWidget>
|
||||
#include <QListWidgetItem>
|
||||
#include <QCloseEvent>
|
||||
#include <QSyntaxHighlighter>
|
||||
#include <QTextCharFormat>
|
||||
#include <QTextDocument>
|
||||
|
||||
#if defined(USE_ASPELL)
|
||||
# include "ASpell_local.h"
|
||||
@ -54,9 +46,6 @@
|
||||
|
||||
#include "frontends/alert.h"
|
||||
|
||||
using std::advance;
|
||||
using std::distance;
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "ToolbarBackend.h"
|
||||
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
namespace lyx {
|
||||
|
@ -17,8 +17,6 @@
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
using std::endl;
|
||||
using std::map;
|
||||
using std::max;
|
||||
using std::min;
|
||||
|
||||
|
@ -19,14 +19,9 @@
|
||||
#include "debug.h"
|
||||
|
||||
#include <QHeaderView>
|
||||
#include <QPushButton>
|
||||
#include <QTreeWidgetItem>
|
||||
|
||||
#include <vector>
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
namespace frontend {
|
||||
@ -219,7 +214,7 @@ void TocWidget::updateView()
|
||||
|
||||
void TocWidget::updateGui()
|
||||
{
|
||||
vector<docstring> const & type_names = form_.typeNames();
|
||||
std::vector<docstring> const & type_names = form_.typeNames();
|
||||
if (type_names.empty()) {
|
||||
enableControls(false);
|
||||
typeCO->clear();
|
||||
|
Loading…
Reference in New Issue
Block a user