diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-16 11:18:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-18 09:59:25 +0200 |
commit | 8051bb7e18ccae0f639e65dfa86bcc18a5fb9108 (patch) | |
tree | bc2d6c98c3161c4530a6e97bf0b3aa65b6284185 /sw/source/ui/lingu | |
parent | b4d116ef8f0b405fd9b12967766b138c21605489 (diff) |
converting remaining usage of String in SW to OUString
Change-Id: Iaaa3812412dc880eb9d08144219ebe428007884e
Diffstat (limited to 'sw/source/ui/lingu')
-rw-r--r-- | sw/source/ui/lingu/olmenu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx index 138ca4623bdf..45378966c308 100644 --- a/sw/source/ui/lingu/olmenu.cxx +++ b/sw/source/ui/lingu/olmenu.cxx @@ -775,7 +775,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId ) { uno::Reference< linguistic2::XDictionary > xDictionary( SvxGetIgnoreAllList(), uno::UNO_QUERY ); linguistic::AddEntryToDic( xDictionary, - xSpellAlt->getWord(), sal_False, aEmptyStr, LANGUAGE_NONE ); + xSpellAlt->getWord(), sal_False, aEmptyOUStr, LANGUAGE_NONE ); } else if ((MN_DICTIONARIES_START <= nId && nId <= MN_DICTIONARIES_END) || nId == MN_ADD_TO_DIC_SINGLE) { @@ -797,7 +797,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId ) if (xDic.is()) { - sal_Int16 nAddRes = linguistic::AddEntryToDic( xDic, aWord, sal_False, aEmptyStr, LANGUAGE_NONE ); + sal_Int16 nAddRes = linguistic::AddEntryToDic( xDic, aWord, sal_False, aEmptyOUStr, LANGUAGE_NONE ); // save modified user-dictionary if it is persistent uno::Reference< frame::XStorable > xSavDic( xDic, uno::UNO_QUERY ); if (xSavDic.is()) |