diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-10-08 14:47:07 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 15:09:57 +0100 |
commit | f1d66b18ca7703452ce5a2735eb5763bd42ed7a1 (patch) | |
tree | d7ccdfeb8e2ba1e96452bf342996f9b8e20889de | |
parent | 9de47b1bd055dec3f48d714da9267f3ca1b7a4a0 (diff) |
sw: fix 2 inverted SAL_WARN_IFs
(regression from 1397e7dd3061c8995c9c042c59c4f2982bdf5e63)
Change-Id: I9daa478092209b2e7c168f45280bd5f873f674f2
-rw-r--r-- | sw/source/core/access/accpara.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 713b7df8baf2..7b2df09d37ee 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -3591,7 +3591,7 @@ bool SwAccessibleParagraph::GetSelectionAtIndex( GetPortionData().GetLastValidCorePosition() ) { SAL_WARN_IF( - GetPortionData().IsValidCorePosition( + !GetPortionData().IsValidCorePosition( nCoreStart), "sw.a11y", "problem determining valid core position"); @@ -3630,7 +3630,7 @@ bool SwAccessibleParagraph::GetSelectionAtIndex( { // selection is inside our part of this para SAL_WARN_IF( - GetPortionData().IsValidCorePosition( + !GetPortionData().IsValidCorePosition( nCoreEnd), "sw.a11y", "problem determining valid core position"); |