summaryrefslogtreecommitdiff
path: root/sw
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 /sw
parent183ae1ebe36f25eae599e3ff65d399e59c677023 (diff)
remove typedef StringPtr
Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/acmplwrd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index ebeb0b88ea29..20a43ad54c67 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -354,7 +354,7 @@ void SwAutoCompleteWord::SetMinWordLen( sal_uInt16 n )
sal_Bool SwAutoCompleteWord::GetRange( const String& rWord, sal_uInt16& rStt,
sal_uInt16& rEnd ) const
{
- const StringPtr pStr = (StringPtr)&rWord;
+ const String * pStr = &rWord;
editeng::IAutoCompleteString hack(*pStr); // UGLY
rStt = m_WordList.find(&hack) - m_WordList.begin();
rEnd = rStt;