diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-09 18:50:22 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-11 11:31:06 +0000 |
commit | 4f702470a2c5f5521209203f0d20f768ef274d67 (patch) | |
tree | 6a957bc241f8c177f332d44c809e9cce61e07246 /sw/source/filter/inc/msfilter.hxx | |
parent | fe2a249257a9fb4a994514bce5f49268f7bfd770 (diff) |
Related: fdo#38838 Remove String::SearchChar()
Change-Id: Ide40e0ef91aec04c2ae274aaf2a957dd5064854c
Reviewed-on: https://gerrit.libreoffice.org/5894
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/inc/msfilter.hxx')
-rw-r--r-- | sw/source/filter/inc/msfilter.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/inc/msfilter.hxx b/sw/source/filter/inc/msfilter.hxx index 37691ca4efb9..24818efbeb02 100644 --- a/sw/source/filter/inc/msfilter.hxx +++ b/sw/source/filter/inc/msfilter.hxx @@ -103,20 +103,20 @@ namespace sw @author <a href="mailto:mmaher@openoffice.org">Martin Maher</a */ - sal_uLong MSDateTimeFormatToSwFormat(String& rParams, SvNumberFormatter *pFormatter, sal_uInt16 &rLang, bool bHijri, sal_uInt16 nDocLang); + sal_uLong MSDateTimeFormatToSwFormat(OUString& rParams, SvNumberFormatter *pFormatter, sal_uInt16 &rLang, bool bHijri, sal_uInt16 nDocLang); /*Used to identify if the previous token is AM time field*/ - sal_Bool IsPreviousAM(String& rParams, xub_StrLen nPos); + sal_Bool IsPreviousAM(OUString& rParams, sal_Int32 nPos); /*Used to identify if the next token is PM time field*/ - sal_Bool IsNextPM(String& rParams, xub_StrLen nPos); + sal_Bool IsNextPM(OUString& rParams, sal_Int32 nPos); /** Used by MSDateTimeFormatToSwFormat to identify AM time fields @author <a href="mailto:mmaher@openoffice.org">Martin Maher</a */ - bool IsNotAM(String& rParams, xub_StrLen nPos); + bool IsNotAM(OUString& rParams, sal_Int32 nPos); /** Another function used by MSDateTimeFormatToSwFormat @@ -206,7 +206,7 @@ namespace sw rName and WW-rName[0..SAL_MAX_INT32], which is both unlikely and impossible. */ - StyleResult GetStyle(const String& rName, ww::sti eSti); + StyleResult GetStyle(const OUString& rName, ww::sti eSti); }; /** Knows which writer style a given word style should be imported as @@ -266,7 +266,7 @@ namespace sw rName and WW-rName[0..SAL_MAX_INT32], which is both unlikely and impossible. */ - StyleResult GetStyle(const String& rName, ww::sti eSti); + StyleResult GetStyle(const OUString& rName, ww::sti eSti); }; /** Find suitable names for exporting this font |