summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hltpbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/hltpbase.cxx')
-rw-r--r--cui/source/dialogs/hltpbase.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 69c94924a15d..c972d24deb21 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -122,11 +122,11 @@ SvxHyperlinkTabPageBase::SvxHyperlinkTabPageBase ( vcl::Window *pParent,
const OUString& rUIXMLDescription,
const SfxItemSet& rItemSet )
: IconChoicePage ( pParent, rID, rUIXMLDescription, rItemSet ),
- mpCbbFrame ( NULL ),
- mpLbForm ( NULL ),
- mpEdIndication ( NULL ),
- mpEdText ( NULL ),
- mpBtScript ( NULL ),
+ mpCbbFrame ( nullptr ),
+ mpLbForm ( nullptr ),
+ mpEdIndication ( nullptr ),
+ mpEdText ( nullptr ),
+ mpBtScript ( nullptr ),
mbIsCloseDisabled ( false ),
mpDialog ( pDlg ),
mbStdControlsInit ( false )
@@ -178,8 +178,8 @@ void SvxHyperlinkTabPageBase::InitStdControls ()
get(mpCbbFrame, "frame");
SfxDispatcher* pDispatch = GetDispatcher();
- SfxViewFrame* pViewFrame = pDispatch ? pDispatch->GetFrame() : 0;
- SfxFrame* pFrame = pViewFrame ? &pViewFrame->GetTopFrame() : 0;
+ SfxViewFrame* pViewFrame = pDispatch ? pDispatch->GetFrame() : nullptr;
+ SfxFrame* pFrame = pViewFrame ? &pViewFrame->GetTopFrame() : nullptr;
if ( pFrame )
{
std::unique_ptr<TargetList> pList(new TargetList);
@@ -225,7 +225,7 @@ void SvxHyperlinkTabPageBase::ShowMarkWnd ()
static_cast<vcl::Window*>(mpMarkWnd)->Show();
// Size of dialog-window in screen pixels
- Rectangle aDlgRect( mpDialog->GetWindowExtentsRelative( NULL ) );
+ Rectangle aDlgRect( mpDialog->GetWindowExtentsRelative( nullptr ) );
Point aDlgPos ( aDlgRect.TopLeft() );
Size aDlgSize ( mpDialog->GetSizePixel () );