summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/access/accpara.cxx4
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");