More small fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1058 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-09-29 13:58:45 +00:00
parent 7dd8b59447
commit f3850c0c5f
9 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,17 @@
2000-09-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/images/*: rename a bunch of icons to match Dekel converter
changes.
* src/buffer.C (SimpleLinuxDocOnePar): add a const qualifier to
last parameter.
* src/frontends/xforms/FormBase.C (disconnect): remove bogus test.
* sigc++/macros/basic_signal.h.m4: fix class Signal_ to have a
virtual destructor
* sigc++/handle.h: ditto for class Handle.
2000-09-27 John Levon <moz@compsoc.man.ac.uk>
* config/kde.m4: make Qt fail immediately if Qt2 is picked up

View File

@ -84,6 +84,10 @@ template <class Obj,class Scope_>
Obj *o=handle.obj();
scope_.set(o,o,false);
}
// virtual destructor
virtual ~Handle() {}
};
#define HANDLE_CTORS(X,T,P) \

View File

@ -61,7 +61,7 @@ class LIBSIGC_API Signal_
SlotData* out_connect(SlotData *s);
Signal_();
~Signal_();
virtual ~Signal_();
public:
bool empty() const;

View File

@ -2706,7 +2706,7 @@ void linux_doc_line_break(ostream & os, string::size_type & colcount,
void Buffer::SimpleLinuxDocOnePar(ostream & os, LyXParagraph * par,
int desc_on, int /*depth*/)
int desc_on, int const /*depth*/)
{
LyXFont font1;
char c;

View File

@ -93,9 +93,7 @@ void FormBase::connect()
void FormBase::disconnect()
{
if (u_) {
u_.disconnect();
}
u_.disconnect();
h_.disconnect();
}