mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* Inset::buffer(): assert when buffer_ is not set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23557 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9398a1495a
commit
6e807d67ec
@ -130,6 +130,7 @@ Buffer & Inset::buffer()
|
|||||||
if (!buffer_) {
|
if (!buffer_) {
|
||||||
odocstringstream s;
|
odocstringstream s;
|
||||||
s << "LyX Code: " << lyxCode() << " name: " << name();
|
s << "LyX Code: " << lyxCode() << " name: " << name();
|
||||||
|
BOOST_ASSERT(false);
|
||||||
throw ExceptionMessage(BufferException,
|
throw ExceptionMessage(BufferException,
|
||||||
from_ascii("Inset::buffer_ member not initialized!"), s.str());
|
from_ascii("Inset::buffer_ member not initialized!"), s.str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user