diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-17 11:44:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-19 10:14:13 +0200 |
commit | 6e6d442769cc47a84cd000a04af4d11cd7d27b51 (patch) | |
tree | 2c7836b1c1dc29f8c9901796a1e7f3ea0bc05692 /sc | |
parent | 45706930efc24c25d2410201b705928636daad7e (diff) |
convert sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx to OUString
Change-Id: I486739779d2d229da12c6f6c042fee83f72c7103
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx index 551a2b2f440b..72993ac4cbb0 100644 --- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx +++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx @@ -229,10 +229,10 @@ void ScChangeTrackingExportHelper::WriteEmptyCell() SvXMLElementExport aElemEmptyCell(rExport, XML_NAMESPACE_TABLE, XML_CHANGE_TRACK_TABLE_CELL, true, true); } -void ScChangeTrackingExportHelper::SetValueAttributes(const double& fValue, const String& sValue) +void ScChangeTrackingExportHelper::SetValueAttributes(const double& fValue, const OUString& sValue) { bool bSetAttributes(false); - if (sValue.Len()) + if (!sValue.isEmpty()) { sal_uInt32 nIndex = 0; double fTempValue = 0.0; diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx index e65e18c9365e..788c3e668d57 100644 --- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx +++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx @@ -34,7 +34,6 @@ struct ScCellValue; class ScChangeActionDel; class ScBigRange; class ScEditEngineTextObj; -class String; typedef std::list<ScChangeActionDel*> ScMyDeletionsList; typedef std::map<sal_uLong, ScChangeAction*> ScChangeActionMap; @@ -60,7 +59,7 @@ class ScChangeTrackingExportHelper void WriteDependings(ScChangeAction* pAction); void WriteEmptyCell(); - void SetValueAttributes(const double& fValue, const String& sValue); + void SetValueAttributes(const double& fValue, const OUString& sValue); void WriteValueCell(const ScCellValue& rCell, const OUString& sValue); void WriteStringCell(const ScCellValue& rCell); void WriteEditCell(const ScCellValue& rCell); |