summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-07 12:52:21 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-09-07 12:19:03 +0000
commit0b0cea7fd774d1fd9c66eab3026940dc4a8899cc (patch)
tree8fc9a33b584c16343bc531f359a6b6eebeff1b88
parentcd53ac3dbf66b75ea9685121fcf6c5bb6c84feef (diff)
fix validity dialog with lists, fdo#65686
regression from b0cf3aba085373d84a55ef144b273a8a89d017af Change-Id: Ia3d39e02f35f3e23d93c7fe771bdbeb6eb3d2caf Reviewed-on: https://gerrit.libreoffice.org/5856 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 )