]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Fix bug #253 (Incorrect protection of closing quotation marks)
[lyx.git] / src / insets / InsetBranch.cpp
index cc81635fa8d660eb90e245d5659386aeb27ed7d9..4888992ba7819da947374c016d5964b218c030ca 100644 (file)
@@ -203,9 +203,10 @@ bool InsetBranch::isBranchSelected() const
 }
 
 
-int InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
+void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
 {
-       return isBranchSelected() ?  InsetText::latex(os, runparams) : 0;
+       if (isBranchSelected())
+               InsetText::latex(os, runparams);
 }