summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/asciiopt.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2011-01-27 13:25:09 +0100
committerNiklas Nebel <nn@openoffice.org>2011-01-27 13:25:09 +0100
commitaede73a350906eedae41e5971511c6c2f2c0e5f2 (patch)
tree33126cabccfe733a8d7e04880007b0566f7c89e1 /sc/source/ui/dbgui/asciiopt.cxx
parent6f68642b7b2310b902264849a5ffc5dca6c15510 (diff)
csvexport: #i116636# option to leave out unnecessary quotes in CSV export
Diffstat (limited to 'sc/source/ui/dbgui/asciiopt.cxx')
-rw-r--r--sc/source/ui/dbgui/asciiopt.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index a22953ade25b..87298da206e1 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -312,6 +312,10 @@ void ScAsciiOptions::ReadFromString( const String& rString )
aToken = rString.GetToken(7, ',');
bDetectSpecialNumber = aToken.EqualsAscii("true") ? true : false;
}
+ else
+ bDetectSpecialNumber = sal_True; // default of versions that didn't add the parameter
+
+ // 9th token is used for "Save as shown" in export options
}
@@ -399,6 +403,8 @@ String ScAsciiOptions::WriteToString() const
// Detect special nubmers.
aOutStr += String::CreateFromAscii(bDetectSpecialNumber ? "true" : "false");
+ // 9th token is used for "Save as shown" in export options
+
return aOutStr;
}