diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 13:01:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 13:26:10 +0000 |
commit | b0c72cb92cab00f9e030b4d5c29e5376dcf457ac (patch) | |
tree | 13e79f40102438c9463f442d1b78a7f8e3bd77cb /sw/source/ui/frmdlg/cption.cxx | |
parent | e34dfee7aac32df393a62a13c36fa13f8a6e9589 (diff) |
starting chopping out aEmptyOUStr
Change-Id: I4d944018bb471d78d6ebb3604d445b90899ea893
Diffstat (limited to 'sw/source/ui/frmdlg/cption.cxx')
-rw-r--r-- | sw/source/ui/frmdlg/cption.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/frmdlg/cption.cxx b/sw/source/ui/frmdlg/cption.cxx index 85f710539468..c68f4caf730f 100644 --- a/sw/source/ui/frmdlg/cption.cxx +++ b/sw/source/ui/frmdlg/cption.cxx @@ -188,7 +188,7 @@ SwCaptionDialog::SwCaptionDialog( Window *pParent, SwView &rV ) : m_pCategoryBox->SetText( sString ); else m_pCategoryBox->SetText( - SwStyleNameMapper::GetUIName( nPoolId, aEmptyOUStr )); + SwStyleNameMapper::GetUIName( nPoolId, OUString() )); } // aFormatBox @@ -250,8 +250,8 @@ void SwCaptionDialog::Apply() OUString aName( m_pCategoryBox->GetText() ); if ( aName == m_sNone ) { - aOpt.SetCategory( aEmptyOUStr ); - aOpt.SetNumSeparator( aEmptyOUStr ); + aOpt.SetCategory( OUString() ); + aOpt.SetNumSeparator( OUString() ); } else { @@ -273,7 +273,7 @@ IMPL_LINK_INLINE_START( SwCaptionDialog, OptionHdl, Button*, pButton ) { OUString sFldTypeName = m_pCategoryBox->GetText(); if(sFldTypeName == m_sNone) - sFldTypeName = aEmptyOUStr; + sFldTypeName = OUString(); SwSequenceOptionDialog aDlg( pButton, rView, sFldTypeName ); aDlg.SetApplyBorderAndShadow(bCopyAttributes); aDlg.SetCharacterStyle( sCharacterStyle ); |