diff options
Diffstat (limited to 'svtools/source/dialogs/wizardmachine.cxx')
-rw-r--r-- | svtools/source/dialogs/wizardmachine.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx index 9ffc5f086428..38775201b5ae 100644 --- a/svtools/source/dialogs/wizardmachine.cxx +++ b/svtools/source/dialogs/wizardmachine.cxx @@ -227,14 +227,13 @@ namespace svt //--------------------------------------------------------------------- void OWizardMachine::implUpdateTitle() { - String sCompleteTitle(m_pImpl->sTitleBase); + OUString sCompleteTitle(m_pImpl->sTitleBase); // append the page title TabPage* pCurrentPage = GetPage(getCurrentState()); - if ( pCurrentPage && pCurrentPage->GetText().Len() ) + if ( pCurrentPage && !pCurrentPage->GetText().isEmpty() ) { - sCompleteTitle += rtl::OUString(" - "); - sCompleteTitle += pCurrentPage->GetText(); + sCompleteTitle += (" - " + pCurrentPage->GetText()); } SetText(sCompleteTitle); |