Kaydet (Commit) 92cda0a9 authored tarafından Noel Grandin's avatar Noel Grandin

convert include/sfx2/mgetempl.hxx from String to OUString

Change-Id: Iaa9e8f22df79a2cd300ce6a89592e38b20613553
üst e8fb35b9
......@@ -55,13 +55,13 @@ class SfxManageStyleSheetPage : public SfxTabPage
SfxStyleSheetBase *pStyle;
SfxStyleFamilies *pFamilies;
const SfxStyleFamilyItem *pItem;
String aBuf;
OUString aBuf;
sal_Bool bModified;
// initial data for the style
String aName;
String aFollow;
String aParent;
OUString aName;
OUString aFollow;
OUString aParent;
sal_uInt16 nFlags;
private:
......@@ -70,7 +70,7 @@ friend class SfxStyleDialog;
DECL_LINK( GetFocusHdl, Edit * );
DECL_LINK( LoseFocusHdl, Edit * );
void UpdateName_Impl(ListBox *, const String &rNew);
void UpdateName_Impl(ListBox *, const OUString &rNew);
void SetDescriptionText_Impl();
SfxManageStyleSheetPage(Window *pParent, const SfxItemSet &rAttrSet );
......
......@@ -246,7 +246,7 @@ SfxManageStyleSheetPage::~SfxManageStyleSheetPage()
//-------------------------------------------------------------------------
void SfxManageStyleSheetPage::UpdateName_Impl( ListBox* pBox,
const String& rNew )
const OUString& rNew )
/* [Description]
......@@ -424,7 +424,7 @@ void SfxManageStyleSheetPage::Reset( const SfxItemSet& /*rAttrSet*/ )
if ( sCmp != aFollow )
pStyle->SetFollow( aFollow );
if ( !aFollow.Len() )
if ( aFollow.isEmpty() )
m_pFollowLb->SelectEntry( aName );
else
m_pFollowLb->SelectEntry( aFollow );
......@@ -437,7 +437,7 @@ void SfxManageStyleSheetPage::Reset( const SfxItemSet& /*rAttrSet*/ )
if ( sCmp != aParent )
pStyle->SetParent( aParent );
if ( !aParent.Len() )
if ( aParent.isEmpty() )
m_pBaseLb->SelectEntry( SfxResId(STR_NONE).toString() );
else
m_pBaseLb->SelectEntry( aParent );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment