fix gcc warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15727 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-11-04 09:47:14 +00:00
parent 1ea98747b5
commit 8d9df8bce5
2 changed files with 2 additions and 2 deletions

View File

@ -473,7 +473,7 @@ void GuiView::busy(bool yes)
Toolbars::ToolbarPtr GuiView::makeToolbar(ToolbarBackend::Toolbar const & tbb)
{
QLToolbar * Tb = new QLToolbar(tbb, *this);
static QLToolbar * lastTb = 0;
//static QLToolbar * lastTb = 0;
if (tbb.flags & ToolbarBackend::TOP) {
addToolBar(Qt::TopToolBarArea, Tb);

View File

@ -195,7 +195,7 @@ public:
public:
/// constructor, set max_bookmarks
/// allow 20 regular bookmarks
BookmarksSection() : max_bookmarks(20), bookmarks(0) {}
BookmarksSection() : bookmarks(0), max_bookmarks(20) {}
/// Save the current position as bookmark
/// if save==false, save to temp_bookmark