summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 8c05b6aa4c6f..f75b936dbb67 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -826,7 +826,7 @@ void ScGlobal::AddQuotes( OUString& rString, sal_Unicode cQuote, bool bEscapeEmb
OUString aQuotes( pQ );
rString = rString.replaceAll( OUString(cQuote), aQuotes);
}
- rString = OUString( cQuote ) + OUString( cQuote );
+ rString = OUString( cQuote ) + rString + OUString( cQuote );
}
void ScGlobal::EraseQuotes( OUString& rString, sal_Unicode cQuote, bool bUnescapeEmbedded )