summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/cuigaldlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/cuigaldlg.cxx')
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 6729b7fcd912..90c8d01a0b0d 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -558,13 +558,12 @@ GalleryThemeProperties::GalleryThemeProperties(vcl::Window* pParent,
"cui/ui/gallerythemedialog.ui", pItemSet)
, pData(_pData)
, m_nGeneralPageId(0)
- , m_nFilesPageId(0)
{
m_nGeneralPageId = AddTabPage("general", TPGalleryThemeGeneral::Create, nullptr);
- m_nFilesPageId = AddTabPage("files", TPGalleryThemeProperties::Create, nullptr);
+ sal_uInt16 nFilesPageId = AddTabPage("files", TPGalleryThemeProperties::Create, nullptr);
if( pData->pTheme->IsReadOnly() )
- RemoveTabPage(m_nFilesPageId);
+ RemoveTabPage(nFilesPageId);
OUString aText = GetText() + pData->pTheme->GetName();