diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-03 22:25:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-02 03:24:55 +0200 |
commit | ddade7a4751b9b7f6459f48ffdf3dedf31d151f3 (patch) | |
tree | 48399486a03326c50ccca204c5df74a3703229c0 | |
parent | 7978c78606608622a5e064f4d95c88393bea426a (diff) |
remove temporary String instances
Change-Id: I8afd7636fa0dcbf53402e8a4393868526e56892b
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 550753a76b18..eaeb357822f6 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -696,8 +696,7 @@ void XclXmlUtils::GetFormulaTypeAndValue( ScFormulaCell& rCell, const char*& rsT case NUMBERFORMAT_TEXT: { rsType = "str"; - String aResult = rCell.GetString(); - rsValue = ToOUString( aResult ); + rsValue = rCell.GetString(); } break; @@ -711,8 +710,7 @@ void XclXmlUtils::GetFormulaTypeAndValue( ScFormulaCell& rCell, const char*& rsT default: { rsType = "inlineStr"; - String aResult = rCell.GetString(); - rsValue = ToOUString( aResult ); + rsValue = rCell.GetString(); } break; } |