summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-11-28 15:47:09 +0100
committerAndras Timar <atimar@suse.com>2011-11-28 15:49:11 +0100
commit6a8350377bbcc7e1bf9877ab71bf19510b0c0abe (patch)
treec5e84460e27cef6ef6daf9eadd8c2cc298a64882 /cui
parentb1f561627650feb273d8d86ec2d33f040f780222 (diff)
no space between number and percent or degree mark - consistency
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/colorpicker.cxx6
-rw-r--r--cui/source/dialogs/colorpicker.src13
-rw-r--r--cui/source/dialogs/zoom.src2
3 files changed, 8 insertions, 13 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index 3f3110de51a6..5ae4a105e7c1 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -1151,12 +1151,6 @@ ColorPickerDialog::ColorPickerDialog( Window* pParent, sal_Int32 nColor, sal_Int
{
FreeResource();
- String sUnitText;
- sUnitText.Append( ' ' );
- sUnitText.Append( (sal_Unicode) 0xb0 );
-
- maMFHue.SetCustomUnitText( sUnitText );
-
Link aLink( LINK( this, ColorPickerDialog, ColorModifyHdl ) );
maColorField.SetModifyHdl( aLink );
maColorSlider.SetModifyHdl( aLink );
diff --git a/cui/source/dialogs/colorpicker.src b/cui/source/dialogs/colorpicker.src
index b444f74420be..6fee862d1d8c 100644
--- a/cui/source/dialogs/colorpicker.src
+++ b/cui/source/dialogs/colorpicker.src
@@ -312,6 +312,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 360 ;
Last = 360 ;
Unit = FUNIT_CUSTOM ;
+ CustomUnitText = "°" ;
};
FixedText CT_SATURATION
@@ -333,7 +334,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ;
Last = 100 ;
Unit = FUNIT_CUSTOM ;
- CustomUnitText = " %" ;
+ CustomUnitText = "%" ;
};
FixedText CT_BRIGHTNESS
@@ -355,7 +356,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ;
Last = 100 ;
Unit = FUNIT_CUSTOM ;
- CustomUnitText = " %" ;
+ CustomUnitText = "%" ;
};
// -------------------------------------------------------------------------
@@ -388,7 +389,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ;
Last = 100 ;
Unit = FUNIT_CUSTOM ;
- CustomUnitText = " %" ;
+ CustomUnitText = "%" ;
};
FixedText CT_MAGENTA
@@ -410,7 +411,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ;
Last = 100 ;
Unit = FUNIT_CUSTOM ;
- CustomUnitText = " %" ;
+ CustomUnitText = "%" ;
};
FixedText CT_YELLOW
@@ -432,7 +433,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ;
Last = 100 ;
Unit = FUNIT_CUSTOM ;
- CustomUnitText = " %" ;
+ CustomUnitText = "%" ;
};
FixedText CT_KEY
@@ -454,7 +455,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ;
Last = 100 ;
Unit = FUNIT_CUSTOM ;
- CustomUnitText = " %" ;
+ CustomUnitText = "%" ;
};
// ------------------------------------------------------
diff --git a/cui/source/dialogs/zoom.src b/cui/source/dialogs/zoom.src
index f96323a36255..26729fa1e5d2 100644
--- a/cui/source/dialogs/zoom.src
+++ b/cui/source/dialogs/zoom.src
@@ -71,7 +71,7 @@ ModalDialog RID_SVXDLG_ZOOM
HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100";
Pos = MAP_APPFONT ( 12 , 53 ) ;
Size = MAP_APPFONT ( 105, 10 ) ;
- Text = "~100 %" ;
+ Text = "~100%" ;
};
RadioButton BTN_USER
{