From 05a6798a2eee2078ab317aadd9b3e3b5ec88d4b7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 25 Jul 2012 12:52:33 +0200 Subject: remove typedef StringPtr Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071 --- sw/source/core/doc/acmplwrd.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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; -- cgit