diff options
Diffstat (limited to 'sfx2/source/dialog/mgetempl.cxx')
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index bbd0a5af11e6..0c69f24a4ac7 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -51,7 +51,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(vcl::Window* pParent, const SfxItemSet& rAttrSet) : SfxTabPage(pParent, "ManageStylePage", "sfx/ui/managestylepage.ui", &rAttrSet) , pStyle(&static_cast<SfxStyleDialog*>(GetParentDialog())->GetStyleSheet()) - , pItem(0) + , pItem(nullptr) , bModified(false) , aName(pStyle->GetName()) , aFollow(pStyle->GetFollow()) @@ -99,7 +99,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(vcl::Window* pParent, const Sfx OSL_ENSURE( pResMgr, "No ResMgr in Module" ); pFamilies = new SfxStyleFamilies( ResId( DLG_STYLE_DESIGNER, *pResMgr ) ); - SfxStyleSheetBasePool* pPool = 0; + SfxStyleSheetBasePool* pPool = nullptr; SfxObjectShell* pDocShell = SfxObjectShell::Current(); if ( pDocShell ) @@ -223,7 +223,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(vcl::Window* pParent, const Sfx if ( !m_pFilterLb->GetEntryCount() || !pStyle->IsUserDefined() ) { - pItem = 0; + pItem = nullptr; m_pFilterFt->Disable(); m_pFilterLb->Disable(); } @@ -259,8 +259,8 @@ void SfxManageStyleSheetPage::dispose() m_pNameRw->SetGetFocusHdl( Link<Control&,void>() ); m_pNameRw->SetLoseFocusHdl( Link<Control&,void>() ); delete pFamilies; - pItem = 0; - pStyle = 0; + pItem = nullptr; + pStyle = nullptr; m_pNameRo.clear(); m_pNameRw.clear(); m_pAutoCB.clear(); @@ -398,7 +398,7 @@ bool SfxManageStyleSheetPage::Execute_Impl( if ( !rRefStr.isEmpty() ) pItems[ nCount++ ] = &aRefName; - pItems[ nCount++ ] = 0; + pItems[ nCount++ ] = nullptr; sal_uInt16 nModi = pModifier ? *pModifier : 0; const SfxPoolItem* mpItem = rDispatcher.Execute( |