summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-05 11:51:31 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:28 +0200
commit74bea5b0ab6bcf0eaaa50c8f529f1ea2e96167cf (patch)
tree01783f0c71b633933ca7fe7cc1886af4e7cceace /cui
parent9fbb07cbf21c788a72a6e98ef661bbb0374b50a0 (diff)
convert include/editeng/swafopt.hxx from String to OUString
Change-Id: Ic3686fb44cd1e448b9998f2ddc73f9bfd1b3aaa8
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/autocdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 014b88974f4b..24f3682194a0 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -2202,7 +2202,7 @@ void OfaAutoCompleteTabPage::Reset( const SfxItemSet& )
nAutoCmpltListCnt = m_pAutoCompleteList->size();
for (size_t n = 0; n < nAutoCmpltListCnt; ++n)
{
- const String* pStr =
+ const OUString* pStr =
&(*m_pAutoCompleteList)[n]->GetAutoCompleteString();
sal_uInt16 nPos = aLBEntries.InsertEntry( *pStr );
aLBEntries.SetEntryData( nPos, (void*)pStr );
@@ -2230,7 +2230,7 @@ IMPL_LINK_NOARG(OfaAutoCompleteTabPage, DeleteHdl)
while( nSelCnt )
{
sal_uInt16 nPos = aLBEntries.GetSelectEntryPos( --nSelCnt );
- String* pStr = static_cast<String*>(aLBEntries.GetEntryData(nPos));
+ OUString* pStr = static_cast<OUString*>(aLBEntries.GetEntryData(nPos));
aLBEntries.RemoveEntry( nPos );
editeng::IAutoCompleteString hack(*pStr); // UGLY
m_pAutoCompleteList->erase(&hack);