summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTsutomu Uchino <hanya@apache.org>2014-01-08 08:11:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-08 10:22:53 +0000
commit55e5c0faafbc3c4f503722000912ec7a022d98db (patch)
tree30117f6a2e4ecfca0ba79327590214f48afe76cf /sfx2
parent094869634d491a96e9de109a14fe4fc8db90a30a (diff)
Resolves: #i18109# pre-select the name in new style dialog
(cherry picked from commit 3acdfc0f4c1f30c9030361e51c13d19556ea816f) Conflicts: sfx2/source/dialog/mgetempl.cxx Change-Id: I61faf0195d8ee8976e85bcf1a49561eeebc72b39
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/mgetempl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index 546210021d3f..b087613aec3e 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -416,6 +416,7 @@ void SfxManageStyleSheetPage::Reset( const SfxItemSet& /*rAttrSet*/ )
if ( sCmp != aName )
pStyle->SetName( aName );
m_pNameRw->SetText( aName );
+ m_pNameRw->SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
if ( m_pFollowLb->IsEnabled() )
{