diff options
Diffstat (limited to 'sw/inc/hhcwrp.hxx')
-rw-r--r-- | sw/inc/hhcwrp.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx index bcf7eae151eb..0d6ce3a3bf67 100644 --- a/sw/inc/hhcwrp.hxx +++ b/sw/inc/hhcwrp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,7 +38,7 @@ struct SwConversionArgs; ////////////////////////////////////////////////////////////////////// -class SwHHCWrapper : public editeng::HangulHanjaConversion +class SwHHCWrapper : public editeng::HangulHanjaConversion { SwView * pView; Window* pWin; @@ -48,7 +48,7 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion // to find of next convertible text portion xub_StrLen nLastPos; // starting position of the last found text part - // (needs to be sth that gets not moved like + // (needs to be sth that gets not moved like // SwPaM or SwPosition by replace operations!) sal_Int32 nUnitOffset; @@ -65,7 +65,7 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion sal_Bool bStartDone; sal_Bool bEndDone; // sal_Bool bLastRet; - + // from SvxSpellWrapper copied and modified sal_Bool ConvNext_impl(); // former SpellNext sal_Bool FindConvText_impl(); // former FindSpellError @@ -76,7 +76,7 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion void ConvEnd_impl( SwConversionArgs *pConvArgs ); // former SpellEnd sal_Bool ConvContinue_impl( SwConversionArgs *pConvArgs ); // former SpellContinue - void SelectNewUnit_impl( const sal_Int32 nUnitStart, + void SelectNewUnit_impl( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd ); void ChangeText( const String &rNewText, const ::rtl::OUString& rOrigText, @@ -88,15 +88,15 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion inline void SetDrawObj( BOOL bNew ) { bIsDrawObj = bNew; } protected: - virtual void GetNextPortion( ::rtl::OUString& rNextPortion, - LanguageType& rLangOfPortion, + virtual void GetNextPortion( ::rtl::OUString& rNextPortion, + LanguageType& rLangOfPortion, sal_Bool bAllowImplicitChangesForNotConvertibleText ); - virtual void HandleNewUnit( const sal_Int32 nUnitStart, + virtual void HandleNewUnit( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd ); virtual void ReplaceUnit( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd, const ::rtl::OUString& rOrigText, - const ::rtl::OUString& rReplaceWith, + const ::rtl::OUString& rReplaceWith, const ::com::sun::star::uno::Sequence< sal_Int32 > &rOffsets, ReplacementAction eAction, LanguageType *pNewUnitLanguage ); |