diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-01-23 10:48:43 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-01-23 10:48:43 +0200 |
commit | 3f02531d4aaf270f452dd7e04f58a6b022df1af1 (patch) | |
tree | 4cd2470deea37792a344d96f498c0ea1541f0de4 /cui | |
parent | e37f024ce08f894e4bc926737d368806b3aea739 (diff) |
Use English
Change-Id: I9c460c22a5c938851f7ce1db1527c0dadf09582b
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 7e0614f555f6..a5b199ec8c53 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -81,8 +81,8 @@ using namespace ::com::sun::star; #define CLEARTITEM rSet.InvalidateItem(nWhich) #define LW_NORMAL 0 -#define LW_GESPERRT 1 -#define LW_SCHMAL 2 +#define LW_EXPANDED 1 +#define LW_CONDENSED 2 // static ---------------------------------------------------------------- @@ -2755,7 +2755,7 @@ IMPL_LINK_NOARG(SvxCharPositionPage, KerningSelectHdl_Impl) m_pKerningFT->Enable(); m_pKerningMF->Enable(); - if ( m_pKerningLB->GetSelectEntryPos() == LW_SCHMAL ) + if ( m_pKerningLB->GetSelectEntryPos() == LW_CONDENSED ) { // Condensed -> max value == 1/6 of the current font height SvxFont& rFont = GetPreviewFont(); @@ -2790,7 +2790,7 @@ IMPL_LINK_NOARG(SvxCharPositionPage, KerningModifyHdl_Impl) long nKern = (short)m_pKerningMF->Denormalize( nVal ); // Condensed? -> then negative - if ( m_pKerningLB->GetSelectEntryPos() == LW_SCHMAL ) + if ( m_pKerningLB->GetSelectEntryPos() == LW_CONDENSED ) nKern *= -1; SvxFont& rFont = GetPreviewFont(); @@ -2854,7 +2854,7 @@ void SvxCharPositionPage::ActivatePage( const SfxItemSet& rSet ) //the only thing that has to be checked is the max. allowed value for the //condense edit field - if ( m_pKerningLB->GetSelectEntryPos() == LW_SCHMAL ) + if ( m_pKerningLB->GetSelectEntryPos() == LW_CONDENSED ) { // Condensed -> max value == 1/6 of the current font height SvxFont& rFont = GetPreviewFont(); @@ -3003,11 +3003,11 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet ) if ( nKerning > 0 ) { - m_pKerningLB->SelectEntryPos( LW_GESPERRT ); + m_pKerningLB->SelectEntryPos( LW_EXPANDED ); } else if ( nKerning < 0 ) { - m_pKerningLB->SelectEntryPos( LW_SCHMAL ); + m_pKerningLB->SelectEntryPos( LW_CONDENSED ); nKerning = -nKerning; } else @@ -3178,13 +3178,13 @@ sal_Bool SvxCharPositionPage::FillItemSet( SfxItemSet& rSet ) short nKerning = 0; SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); - if ( nPos == LW_GESPERRT || nPos == LW_SCHMAL ) + if ( nPos == LW_EXPANDED || nPos == LW_CONDENSED ) { long nTmp = static_cast<long>(m_pKerningMF->GetValue()); long nVal = LogicToLogic( nTmp, MAP_POINT, (MapUnit)eUnit ); nKerning = (short)m_pKerningMF->Denormalize( nVal ); - if ( nPos == LW_SCHMAL ) + if ( nPos == LW_CONDENSED ) nKerning *= - 1; } |