summaryrefslogtreecommitdiff
path: root/sw/source/core/model/SearchResultLocator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/model/SearchResultLocator.cxx')
-rw-r--r--sw/source/core/model/SearchResultLocator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/model/SearchResultLocator.cxx b/sw/source/core/model/SearchResultLocator.cxx
index dd488780981e..435f0110aedf 100644
--- a/sw/source/core/model/SearchResultLocator.cxx
+++ b/sw/source/core/model/SearchResultLocator.cxx
@@ -65,8 +65,7 @@ void SearchResultLocator::findOne(LocationResult& rResult, SearchIndexData const
{
if (pObject->GetName() == rSearchIndexData.maObjectName)
{
- auto aRect = o3tl::convert(pObject->GetLogicRect(), o3tl::Length::mm100,
- o3tl::Length::twip);
+ auto aRect = pObject->GetLogicRect();
rResult.mbFound = true;
rResult.maRectangles.emplace_back(aRect.Left(), aRect.Top(),
aRect.Left() + aRect.GetWidth(),