summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-06 14:32:54 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:31 +0200
commit76fa859ac1f7e1b754ddc1a4c7d5685342c58455 (patch)
treeaa6c6be40a1ee78229ab29ebad19fe64517fce48 /include/editeng
parent7b3f9c737579d1c8e0f4c271e21c9217f0d588fa (diff)
convert SvxAutoCorrectLanguageLists from String to OUString
Change-Id: Ib10ec6b9ab8d3a6538a5e6cafa349774d123531c
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/svxacorr.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 1cbbdfb8b8ef..6c787d00e393 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -170,7 +170,7 @@ public:
class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists
{
- String sShareAutoCorrFile, sUserAutoCorrFile;
+ OUString sShareAutoCorrFile, sUserAutoCorrFile;
// If the AutoCorr file is newer
Date aModifiedDate;
Time aModifiedTime, aLastCheckTime;
@@ -192,13 +192,13 @@ class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists
sal_Bool bConvert = sal_False);
sal_Bool MakeBlocklist_Imp( SotStorage& rStg );
- void RemoveStream_Imp( const String& rName );
+ void RemoveStream_Imp( const OUString& rName );
void MakeUserStorage_Impl();
public:
SvxAutoCorrectLanguageLists( SvxAutoCorrect& rParent,
- const String& rShareAutoCorrectFile,
- const String& rUserAutoCorrectFile);
+ const OUString& rShareAutoCorrectFile,
+ const OUString& rUserAutoCorrectFile);
~SvxAutoCorrectLanguageLists();
// Load, Set, Get - the replacement list
@@ -212,7 +212,7 @@ public:
void SaveCplSttExceptList();
void SetCplSttExceptList( SvStringsISortDtor* pList );
SvStringsISortDtor* GetCplSttExceptList();
- sal_Bool AddToCplSttExceptList(const String& rNew);
+ sal_Bool AddToCplSttExceptList(const OUString& rNew);
// Load, Set, Get the exception list for 2 Capital letters at the
// beginning of a word.
@@ -220,17 +220,17 @@ public:
void SaveWrdSttExceptList();
void SetWrdSttExceptList( SvStringsISortDtor* pList );
SvStringsISortDtor* GetWrdSttExceptList();
- sal_Bool AddToWrdSttExceptList(const String& rNew);
+ sal_Bool AddToWrdSttExceptList(const OUString& rNew);
// Save word substitutions:
// Store these directly in the storage. The word list is updated
// accordingly!
// - pure Text
- sal_Bool PutText( const String& rShort, const String& rLong );
+ sal_Bool PutText( const OUString& rShort, const OUString& rLong );
// - Text with attribution (only the SWG - SWG format!)
- sal_Bool PutText( const String& rShort, SfxObjectShell& );
+ sal_Bool PutText( const OUString& rShort, SfxObjectShell& );
// - Deleting an entry
- sal_Bool DeleteText( const String& rShort );
+ sal_Bool DeleteText( const OUString& rShort );
// - Make combined changes in one pass
sal_Bool MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries, std::vector<SvxAutocorrWord>& aDeleteEntries );
};