Kaydet (Commit) 91b285c1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: I664cf2cd71fc795d8592752c2b486f8b62709da7
üst 912a78c2
...@@ -1332,7 +1332,7 @@ ParagraphProperties::~ParagraphProperties() ...@@ -1332,7 +1332,7 @@ ParagraphProperties::~ParagraphProperties()
} }
int ParagraphProperties::operator==(const ParagraphProperties& rCompare) bool ParagraphProperties::operator==(const ParagraphProperties& rCompare)
{ {
return return
m_bFrameMode == rCompare.m_bFrameMode && m_bFrameMode == rCompare.m_bFrameMode &&
......
...@@ -322,7 +322,7 @@ public: ...@@ -322,7 +322,7 @@ public:
ParagraphProperties(const ParagraphProperties&); ParagraphProperties(const ParagraphProperties&);
~ParagraphProperties(); ~ParagraphProperties();
int operator==(const ParagraphProperties&); //does not compare the starting/ending range, m_sParaStyleName and m_nDropCapLength bool operator==(const ParagraphProperties&); //does not compare the starting/ending range, m_sParaStyleName and m_nDropCapLength
void SetFrameMode( bool set = true ) { m_bFrameMode = set; } void SetFrameMode( bool set = true ) { m_bFrameMode = set; }
bool IsFrameMode()const { return m_bFrameMode; } bool IsFrameMode()const { return m_bFrameMode; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment