summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestream.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-27 09:45:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 09:45:58 +0000
commit906e35f80a17d51c305e0db251e6224f5dd23d52 (patch)
treeeb1b62e54748e6fd62be8cab9dcf8735baa7f9e3 /sc/source/filter/excel/xestream.cxx
parent84fa063b4ce1bd6a8996c20c89e238ee38bcdcfe (diff)
merge GetString variants
Diffstat (limited to 'sc/source/filter/excel/xestream.cxx')
-rw-r--r--sc/source/filter/excel/xestream.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 1951656bcefd..5d064f3378b7 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -717,8 +717,7 @@ void XclXmlUtils::GetFormulaTypeAndValue( ScFormulaCell& rCell, const char*& rsT
case NUMBERFORMAT_TEXT:
{
rsType = "str";
- String aResult;
- rCell.GetString( aResult );
+ String aResult = rCell.GetString();
rsValue = ToOUString( aResult );
}
break;
@@ -733,8 +732,7 @@ void XclXmlUtils::GetFormulaTypeAndValue( ScFormulaCell& rCell, const char*& rsT
default:
{
rsType = "inlineStr";
- String aResult;
- rCell.GetString( aResult );
+ String aResult = rCell.GetString();
rsValue = ToOUString( aResult );
}
break;