Debug output for paragraph params.

This commit is contained in:
Richard Kimberly Heck 2020-04-08 17:17:14 -04:00
parent f7065fa22e
commit eea4ef9b6e
2 changed files with 9 additions and 0 deletions

View File

@ -318,6 +318,12 @@ void params2string(Paragraph const & par, string & data)
} }
LyXErr & operator<<(LyXErr & os, ParagraphParameters const & parp) {
parp.write(os.stream());
return os;
}
/* /*
bool operator==(ParagraphParameeters const & ps1, bool operator==(ParagraphParameeters const & ps1,
ParagraphParameeters const & ps2) ParagraphParameeters const & ps2)

View File

@ -18,6 +18,7 @@
#include "Length.h" #include "Length.h"
#include "Spacing.h" #include "Spacing.h"
#include "support/debug.h"
#include "support/types.h" #include "support/types.h"
#include "support/docstring.h" #include "support/docstring.h"
@ -38,6 +39,8 @@ public:
/// ///
ParagraphParameters(); ParagraphParameters();
/// ///
friend LyXErr & operator<<(LyXErr & os, ParagraphParameters const & cur);
///
void clear(); void clear();
/// ///
bool sameLayout(ParagraphParameters const &) const; bool sameLayout(ParagraphParameters const &) const;