diff options
Diffstat (limited to 'sw/source/uibase/lingu/olmenu.cxx')
-rw-r--r-- | sw/source/uibase/lingu/olmenu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index a411f3b25c97..a4ede37f35a4 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -746,7 +746,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId ) sWord, false, OUString() ); if (linguistic::DictionaryError::NONE != nAddRes && !xDictionary->getEntry(sWord).is()) { - SvxDicError(&m_pSh->GetView().GetViewFrame()->GetWindow(), nAddRes); + SvxDicError(m_pSh->GetView().GetViewFrame()->GetWindow().GetFrameWeld(), nAddRes); } } } @@ -778,7 +778,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId ) if (linguistic::DictionaryError::NONE != nAddRes && !xDic->getEntry(sWord).is()) { - SvxDicError(&m_pSh->GetView().GetViewFrame()->GetWindow(), nAddRes); + SvxDicError(m_pSh->GetView().GetViewFrame()->GetWindow().GetFrameWeld(), nAddRes); } } } |