Kaydet (Commit) 21c41659 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#121415 font tab page has no name

Change-Id: I3ca6a8b58163fe5c84a306dd80dd7171f8540299
Reviewed-on: https://gerrit.libreoffice.org/63425
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 2e9ad89e
......@@ -121,6 +121,7 @@ protected:
*/
void SavePosAndId();
void SetPageName(sal_uInt16 nPageId, const OString& rName) const;
public:
SfxTabDialog(vcl::Window* pParent,
const OUString& rID, const OUString& rUIXMLDescription,
......
......@@ -1179,7 +1179,8 @@ void SfxDocumentInfoDialog::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
void SfxDocumentInfoDialog::AddFontTabPage()
{
AddTabPage( FONT_PAGE_ID, SfxResId( STR_FONT_TABPAGE ), SfxDocumentFontsPage::Create);
AddTabPage(FONT_PAGE_ID, SfxResId(STR_FONT_TABPAGE), SfxDocumentFontsPage::Create);
SetPageName(FONT_PAGE_ID , "font");
}
// class CustomPropertiesYesNoButton -------------------------------------
......
......@@ -1363,6 +1363,10 @@ const sal_uInt16* SfxTabDialog::GetInputRanges( const SfxItemPool& rPool )
return m_pRanges.get();
}
void SfxTabDialog::SetPageName(sal_uInt16 nPageId, const OString& rName) const
{
m_pTabCtrl->SetPageName(nPageId, rName);
}
void SfxTabDialog::SetInputSet( const SfxItemSet* pInSet )
......
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