Resolves: fdo#65716 MACROLANG not substituted in title

Change-Id: I1fa71a926e0df753a553f43aebaa201a13f74f95
This commit is contained in:
Caolán McNamara
2013-06-25 20:31:15 +01:00
parent 61533b8c54
commit a85aed77e6

View File

@@ -508,6 +508,7 @@ SvxScriptOrgDialog::SvxScriptOrgDialog( Window* pParent, OUString language )
get(m_pDelButton, "delete");
// must be a neater way to deal with the strings than as above
// append the language to the dialog title
setDeferredProperties();
String winTitle( GetText() );
winTitle.SearchAndReplace( OUString( "%MACROLANG" ), m_sLanguage );
SetText( winTitle );