diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-18 13:32:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-19 10:54:42 +0200 |
commit | a72cc8b181b0f4614987d1b38f895c9e98970778 (patch) | |
tree | 86aac64d4d8f7927b6e3582b4d37696ab85f73c0 /sw | |
parent | 4ebde2bc461e9661d7264340398b972fb69a89a6 (diff) |
convert sw/inc/unochart.hxx from String to OUString
Change-Id: Ib9e52a28d0977efca3ccd2e06f87b413c205c2ad
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unochart.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index 44229d823d8d..656d1c451147 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -66,7 +66,7 @@ class SwFrmFmt; ////////////////////////////////////////////////////////////////////// -bool FillRangeDescriptor( SwRangeDescriptor &rDesc, const String &rCellRangeName ); +bool FillRangeDescriptor( SwRangeDescriptor &rDesc, const OUString &rCellRangeName ); ////////////////////////////////////////////////////////////////////// @@ -265,8 +265,8 @@ class SwChartDataSequence : ::cppu::OInterfaceContainerHelper aModifyListeners; ::com::sun::star::chart2::data::DataSequenceRole aRole; - String aRowLabelText; - String aColLabelText; + OUString aRowLabelText; + OUString aColLabelText; // holds a reference to the data-provider to guarantee it's lifetime last as // long as the pointer may be used. diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 2e1c0176462c..7f2bf91091bd 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -207,10 +207,10 @@ static void LaunchModifiedEvent( // - e.g. "Table1.A2:E5" bool FillRangeDescriptor( SwRangeDescriptor &rDesc, - const String &rCellRangeName ) + const OUString &rCellRangeName ) { - xub_StrLen nToken = STRING_NOTFOUND == rCellRangeName.Search('.') ? 0 : 1; - String aCellRangeNoTableName( rCellRangeName.GetToken( nToken, '.' ) ); + xub_StrLen nToken = -1 == rCellRangeName.indexOf('.') ? 0 : 1; + String aCellRangeNoTableName( rCellRangeName.getToken( nToken, '.' ) ); String aTLName( aCellRangeNoTableName.GetToken(0, ':') ); // name of top left cell String aBRName( aCellRangeNoTableName.GetToken(1, ':') ); // name of bottom right cell if(!aTLName.Len() || !aBRName.Len()) |