owner_->getLyXFunc()->dispatch(LFUN_PASTE);
else
owner_->getLyXFunc()->dispatch(LFUN_PASTESELECTION,
- "paragraph");
+ string("paragraph"));
selection_possible = false;
return;
}
if (style->pass_thru ||
(!insertInset(new InsetQuotes(c, bv_->buffer()->params))))
- bv_->owner()->getLyXFunc()->dispatch(LFUN_SELFINSERT, "\"");
+ bv_->owner()->getLyXFunc()->dispatch(LFUN_SELFINSERT, string("\""));
}
+2002-07-19 John Levon <moz@compsoc.man.ac.uk>
+
+ * BufferView_pimpl.C:
+ * LaTeX.C: fix dispatch calls
+
2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
* text.C (drawChars): Fix Arabic text rendering.
if (lfun) {
ostringstream str;
str << _("LaTeX run number") << ' ' << count;
- lfun->dispatch(LFUN_MESSAGE, str.str().c_str());
+ // check lyxstring string stream and gcc 3.1 before fixing
+ lfun->dispatch(LFUN_MESSAGE, string(str.str().c_str()));
}
this->operator()();
// no checks for now
lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
if (lfun) {
- lfun->dispatch(LFUN_MESSAGE, _("Running MakeIndex."));
+ lfun->dispatch(LFUN_MESSAGE, string(_("Running MakeIndex.")));
}
rerun = runMakeIndex(OnlyFilename(ChangeExtension(file, ".idx")));
// no checks for now
lyxerr[Debug::LATEX] << "Running BibTeX." << endl;
if (lfun) {
- lfun->dispatch(LFUN_MESSAGE, _("Running BibTeX."));
+ lfun->dispatch(LFUN_MESSAGE, string(_("Running BibTeX.")));
}
updateBibtexDependencies(head, bibtex_info);
if (lfun) {
ostringstream str;
str << _("LaTeX run number") << ' ' << count;
- lfun->dispatch(LFUN_MESSAGE, str.str().c_str());
+ // check lyxstring string stream and gcc 3.1 before fixing
+ lfun->dispatch(LFUN_MESSAGE, string(str.str().c_str()));
}
this->operator()();
// no checks for now
lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
if (lfun) {
- lfun->dispatch(LFUN_MESSAGE, _("Running MakeIndex."));
+ lfun->dispatch(LFUN_MESSAGE, string(_("Running MakeIndex.")));
}
rerun = runMakeIndex(OnlyFilename(ChangeExtension(file, ".idx")));
if (lfun) {
ostringstream str;
str << _("LaTeX run number") << ' ' << count;
- lfun->dispatch(LFUN_MESSAGE, str.str().c_str());
+ // check lyxstring string stream and gcc 3.1 before fixing
+ lfun->dispatch(LFUN_MESSAGE, string(str.str().c_str()));
}
this->operator()();
+2002-07-19 John Levon <moz@compsoc.man.ac.uk>
+
+ * ControlRef.C: fix dispatch call
+
2002-07-17 John Levon <moz@compsoc.man.ac.uk>
* ControlCharacter.C: use view_state_changed not setState
void ControlRef::gotoRef(string const & ref) const
{
- lv_.getLyXFunc()->dispatch(LFUN_BOOKMARK_SAVE, "0");
+ lv_.getLyXFunc()->dispatch(LFUN_BOOKMARK_SAVE, string("0"));
lv_.getLyXFunc()->dispatch(LFUN_REF_GOTO, ref);
}
void ControlRef::gotoBookmark() const
{
- lv_.getLyXFunc()->dispatch(LFUN_BOOKMARK_GOTO, "0");
+ lv_.getLyXFunc()->dispatch(LFUN_BOOKMARK_GOTO, string("0"));
}
+2002-07-19 John Levon <moz@compsoc.man.ac.uk>
+
+ * FormMathsDelim.C:
+ * FormMathsMatrix.C: fix dispatch calls
+
2002-07-18 John Levon <moz@compsoc.man.ac.uk>
* Menubar_pimpl.C:
ostringstream ost;
ost << delim_values[left] << ' ' << delim_values[right];
- lv_->getLyXFunc()->dispatch(LFUN_MATH_DELIM, ost.str().c_str());
+ // the unusual formulation here is necessary for lyxstring stringstream
+ lv_->getLyXFunc()->dispatch(LFUN_MATH_DELIM, string(ost.str().c_str()));
}
bool FormMathsDelim::input(FL_OBJECT *, long)
ostringstream ost;
ost << nx << ' ' << ny << ' ' << c << ' ' << sh;
- lv_->getLyXFunc()->dispatch(LFUN_INSERT_MATRIX, ost.str().c_str());
+ // remeber gcc 3.1 and lyxstring stringstream before "fixing"
+ lv_->getLyXFunc()->dispatch(LFUN_INSERT_MATRIX, string(ost.str().c_str()));
}
bool FormMathsMatrix::input(FL_OBJECT * ob, long)