mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Squash a noisy but useless warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
abbcb43353
commit
e26fc29a3c
@ -1,3 +1,7 @@
|
||||
2004-03-25 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetcaption.C (draw): squash warning about unused variable.
|
||||
|
||||
2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* ExternalSupport.C: use the master buffer's temp dir
|
||||
|
@ -98,15 +98,12 @@ void InsetCaption::draw(PainterInfo & pi, int x, int y) const
|
||||
type = static_cast<InsetWrap *>(i2)->params().type;
|
||||
else
|
||||
BOOST_ASSERT(false);
|
||||
#else
|
||||
string type = "float";
|
||||
#endif
|
||||
|
||||
FloatList const & floats =
|
||||
pi.base.bv->buffer()->params().getLyXTextClass().floats();
|
||||
#if 0
|
||||
string const fl = i2 ? floats.getType(type).name() : N_("Float");
|
||||
#else
|
||||
string type = "float";
|
||||
string const fl = N_("Float");
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user