summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/writerwordglue.hxx
diff options
context:
space:
mode:
authorAdam Co <rattles2013@gmail.com>2013-08-20 18:27:41 +0300
committerCaolán McNamara <caolanm@redhat.com>2013-08-30 15:56:57 +0000
commit196328c91ee889a0a1cbc39ce2549c7405afbef5 (patch)
tree9b180b9507a583f2dd34fd3ab36f5df43ee6954e /sw/source/filter/ww8/writerwordglue.hxx
parentd07e7d692ddd2a9ab956a59bcc0f676c7d76bc10 (diff)
fix for IsPlausibleSingleWordSection checking wrong condition
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I503e5944079b6c03413caea27ef940efbd44ced5 Reviewed-on: https://gerrit.libreoffice.org/5548 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/ww8/writerwordglue.hxx')
-rw-r--r--sw/source/filter/ww8/writerwordglue.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/writerwordglue.hxx b/sw/source/filter/ww8/writerwordglue.hxx
index 423eddba763d..263a13ebabca 100644
--- a/sw/source/filter/ww8/writerwordglue.hxx
+++ b/sw/source/filter/ww8/writerwordglue.hxx
@@ -146,6 +146,22 @@ namespace sw
*/
bool EqualTopBottom(const HdFtDistanceGlue &rOther) const;
+ /** Is the top of the page the same in both objects
+ when there are headers\footers present or non-present in both objects
+
+ This test is important, because we would like to ignore cases
+ when there is a header in one object and no header in the second
+ object - because it is wrong to compare between them.
+
+ @param
+ rOther the other HdFtDistanceGlue to compare against
+
+ @return true if the main text areas top and bottom is at the
+ same location, false otherwise (assuming both objects have\don't have
+ a header\footer)
+ */
+ bool StrictEqualTopBottom(const HdFtDistanceGlue &rOther) const;
+
};
}
}