The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 257edda49a6c5fb5e8d036b19ebde6d6cf82a1a5
Author: Georg Baum <[email protected]>
Date:   Fri Mar 15 21:16:40 2013 +0100

    Fix output of getCaptionAsPlaintext()

diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp
index 6891d63..035a5fe 100644
--- a/src/insets/InsetCaption.cpp
+++ b/src/insets/InsetCaption.cpp
@@ -351,8 +351,9 @@ int InsetCaption::getCaptionAsPlaintext(odocstream & os,
 {
        os << full_label_ << ' ';
        odocstringstream ods;
-       return InsetText::plaintext(ods, runparams);
+       int const retval = InsetText::plaintext(ods, runparams);
        os << ods.str();
+       return retval;
 }
 
 

-----------------------------------------------------------------------

Summary of changes:
 src/insets/InsetCaption.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to