summaryrefslogtreecommitdiff
path: root/xmloff/source/table/XMLTableImport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-01 10:51:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-02 06:34:36 +0000
commit06eb947c1651cb623cd60d81b08281de4cc6a86b (patch)
treeac4583be05d0967149cc06f561b04b9abf587970 /xmloff/source/table/XMLTableImport.cxx
parent9e9f52ad17a73f353b372bcdc9971443b961d39a (diff)
inline some constant strings in xmloff (part1)
Change-Id: I7971f210ffb30bdd80a1adde2c286b4d092bd053 Reviewed-on: https://gerrit.libreoffice.org/31433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/table/XMLTableImport.cxx')
-rw-r--r--xmloff/source/table/XMLTableImport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index 301a7f7303cf..8e8db41dd068 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -742,10 +742,9 @@ void XMLCellImportContext::EndElement()
if(mxCursor.is())
{
// delete addition newline
- const OUString aEmpty;
mxCursor->gotoEnd( false );
mxCursor->goLeft( 1, true );
- mxCursor->setString( aEmpty );
+ mxCursor->setString( "" );
// reset cursor
GetImport().GetTextImport()->ResetCursor();