constify GuiPrintNomencl::isValid()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29852 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2009-05-26 16:19:03 +00:00
parent b7515068f8
commit e5b3cdf650
2 changed files with 4 additions and 4 deletions

View File

@ -129,11 +129,11 @@ void GuiPrintNomencl::applyView()
}
bool GuiPrintNomencl::isValid()
bool GuiPrintNomencl::isValid() const
{
return (setWidthCO->itemData(
return setWidthCO->itemData(
setWidthCO->currentIndex()).toString() != "custom"
|| !valueLE->text().isEmpty());
|| !valueLE->text().isEmpty();
}

View File

@ -49,7 +49,7 @@ private:
///
bool isBufferDependent() const { return true; }
///
bool isValid();
bool isValid() const;
///
InsetCommandParams params_;