summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/autocdlg.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-25 12:52:33 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-25 14:13:47 +0200
commit05a6798a2eee2078ab317aadd9b3e3b5ec88d4b7 (patch)
tree38cfaa302d7ceadff9f97d910eecfa6e33172d50 /cui/source/tabpages/autocdlg.cxx
parent183ae1ebe36f25eae599e3ff65d399e59c677023 (diff)
remove typedef StringPtr
Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071
Diffstat (limited to 'cui/source/tabpages/autocdlg.cxx')
-rw-r--r--cui/source/tabpages/autocdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index a44e5d3d977e..b2923f809bcd 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-#include <svl/svstdarr.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/field.hxx>
#include <vcl/keycodes.hxx>
@@ -2378,7 +2377,7 @@ IMPL_LINK_NOARG(OfaAutoCompleteTabPage, DeleteHdl)
while( nSelCnt )
{
sal_uInt16 nPos = aLBEntries.GetSelectEntryPos( --nSelCnt );
- StringPtr pStr = (StringPtr)aLBEntries.GetEntryData( nPos );
+ String* pStr = static_cast<String*>(aLBEntries.GetEntryData(nPos));
aLBEntries.RemoveEntry( nPos );
editeng::IAutoCompleteString hack(*pStr); // UGLY
m_pAutoCompleteList->erase(&hack);