Kaydet (Commit) fb2eac0f authored tarafından Miklos Vajna's avatar Miklos Vajna

SwDoc: kill copy&paste with CopyMasterHeader() and CopyMasterFooter()

Change-Id: I10480cc7977e7227a6abe84e7bf27f69a980f89a
üst 3af10435
......@@ -2082,6 +2082,10 @@ public:
private:
/// method to set new graphics pool defaults, must only be called by SetDrawDefaults!
void UpdateDrawDefaults();
/// Copies master header to left / first one, if necessary - used by ChgPageDesc().
void CopyMasterHeader(const SwPageDesc &rChged, const SwFmtHeader &rHead, SwPageDesc *pDesc, bool bLeft);
/// Copies master footer to left / first one, if necessary - used by ChgPageDesc().
void CopyMasterFooter(const SwPageDesc &rChged, const SwFmtFooter &rFoot, SwPageDesc *pDesc, bool bLeft);
};
// This method is called in Dtor of SwDoc and deletes cache of ContourObjects.
......
This diff is collapsed.
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