mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
fix merged build for some gcc 4.4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34992 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1a3c617d99
commit
0a260084df
@ -344,7 +344,7 @@ void GuiCharacter::applyView()
|
||||
setBar(fi, bar[miscCO->currentIndex()].second);
|
||||
fi.setColor(color[colorCO->currentIndex()].second);
|
||||
|
||||
font_.setLanguage(languages.getLanguage(
|
||||
font_.setLanguage(lyx::languages.getLanguage(
|
||||
fromqstr(language[langCO->currentIndex()].second)));
|
||||
|
||||
toggleall_ = toggleallCB->isChecked();
|
||||
|
@ -21,6 +21,16 @@
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
|
||||
#if defined(LYX_MERGE_FILES) && !defined(Q_CC_MSVC)
|
||||
// GCC 4.4.3 couldn't find operator==
|
||||
namespace lyx {
|
||||
bool operator==(lyx::docstring const & d, char const * c);
|
||||
namespace frontend {
|
||||
bool operator==(lyx::docstring const & d, char const * c)
|
||||
{ return lyx::operator ==(d, c); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace lyx {
|
||||
namespace frontend {
|
||||
|
Loading…
x
Reference in New Issue
Block a user