diff options
Diffstat (limited to 'sw/qa/uibase/uno/uno.cxx')
-rw-r--r-- | sw/qa/uibase/uno/uno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uibase/uno/uno.cxx b/sw/qa/uibase/uno/uno.cxx index 16359e2dd7b9..c79e1d1f79c4 100644 --- a/sw/qa/uibase/uno/uno.cxx +++ b/sw/qa/uibase/uno/uno.cxx @@ -81,7 +81,7 @@ CPPUNIT_TEST_FIXTURE(SwUibaseUnoTest, testCreateTextRangeByPixelPosition) auto pTextRange = dynamic_cast<SwXTextRange*>(xTextRange.get()); SwPaM aPaM(pDoc->GetNodes()); pTextRange->GetPositions(aPaM); - sal_Int32 nActual = aPaM.GetPoint()->nContent.GetIndex(); + sal_Int32 nActual = aPaM.GetPoint()->GetContentIndex(); // Without the needed PixelToLogic() call in place, this test would have failed with: // - Expected: 1 // - Actual : 0 |