summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh1.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-07-05 16:25:03 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-07-07 20:00:16 +0000
commit009851223b5ced4ed2662af2e2ae81c0f9200e45 (patch)
treea8ab339589ea23b98513d394eabc4f135e69ccae /sc/source/ui/view/cellsh1.cxx
parent35b42a9d1282a92dbc9a7fbc51d279812070688c (diff)
module svl: all String and some bool and related clean-up
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-rw-r--r--sc/source/ui/view/cellsh1.cxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 6073baf1abce..23bbec0b5501 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -742,37 +742,37 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
if( ! rReq.IsAPI() )
{
- String aPara;
+ OUString aPara;
Color* pColor=0;
switch( eFillDir )
{
- case FILL_TO_BOTTOM: aPara = 'B'; break;
- case FILL_TO_RIGHT: aPara = 'R'; break;
- case FILL_TO_TOP: aPara = 'T'; break;
- case FILL_TO_LEFT: aPara = 'L'; break;
- default: aPara.Erase(); break;
+ case FILL_TO_BOTTOM: aPara = "B"; break;
+ case FILL_TO_RIGHT: aPara = "R"; break;
+ case FILL_TO_TOP: aPara = "T"; break;
+ case FILL_TO_LEFT: aPara = "L"; break;
+ default: break;
}
rReq.AppendItem( SfxStringItem( FID_FILL_SERIES, aPara ) );
switch( eFillCmd )
{
- case FILL_SIMPLE: aPara = 'S'; break;
- case FILL_LINEAR: aPara = 'L'; break;
- case FILL_GROWTH: aPara = 'G'; break;
- case FILL_DATE: aPara = 'D'; break;
- case FILL_AUTO: aPara = 'A'; break;
- default: aPara.Erase(); break;
+ case FILL_SIMPLE: aPara = "S"; break;
+ case FILL_LINEAR: aPara = "L"; break;
+ case FILL_GROWTH: aPara = "G"; break;
+ case FILL_DATE: aPara = "D"; break;
+ case FILL_AUTO: aPara = "A"; break;
+ default: break;
}
rReq.AppendItem( SfxStringItem( FN_PARAM_1, aPara ) );
switch( eFillDateCmd )
{
- case FILL_DAY: aPara = 'D'; break;
- case FILL_WEEKDAY: aPara = 'W'; break;
- case FILL_MONTH: aPara = 'M'; break;
- case FILL_YEAR: aPara = 'Y'; break;
- default: aPara.Erase(); break;
+ case FILL_DAY: aPara = "D"; break;
+ case FILL_WEEKDAY: aPara = "W"; break;
+ case FILL_MONTH: aPara = "M"; break;
+ case FILL_YEAR: aPara = "Y"; break;
+ default: break;
}
rReq.AppendItem( SfxStringItem( FN_PARAM_2, aPara ) );