summaryrefslogtreecommitdiff
path: root/nlpsolver/ThirdParty
AgeCommit message (Expand)Author
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin
2011-12-03nlpsolver: remove unneeded exec bitsMiklos Vajna
2011-11-29...originally probably replaced an en-dash (thanks Roman Eisele).Stephan Bergmann
2011-11-29Replaced UTF-8 U+FFFD with ASCII space in source code comment.Stephan Bergmann
2011-11-28nlpsolver: migrate the build to use native gnumake buildMichael Meeks
2011-11-28Flatten un-maintained ex. Sun/Oracle nlpsolver extension into the repoMichael Meeks
ore/patch/sd/source/ui/view/drviews6.cxx?id=92c697c0e3e4bde88424322875c993c161696b1e'>patch) treeea1be62a0cb8fd7f7e63dd03a52441cedd8e96eb /sd/source/ui/view/drviews6.cxx parent65464ed0985802edb96dbcbd1c3eed996f3778bd (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
Diffstat (limited to 'sd/source/ui/view/drviews6.cxx')
-rw-r--r--sd/source/ui/view/drviews6.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index d6565591acbb..548039718438 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -86,15 +86,15 @@ void DrawViewShell::ExecFormText(SfxRequest& rReq)
void DrawViewShell::GetFormTextState(SfxItemSet& rSet)
{
const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
- const SdrObject* pObj = NULL;
- SvxFontWorkDialog* pDlg = NULL;
+ const SdrObject* pObj = nullptr;
+ SvxFontWorkDialog* pDlg = nullptr;
sal_uInt16 nId = SvxFontWorkChildWindow::GetChildWindowId();
if (GetViewFrame()->HasChildWindow(nId))
{
SfxChildWindow* pWnd = GetViewFrame()->GetChildWindow(nId);
- pDlg = pWnd ? static_cast<SvxFontWorkDialog*>(pWnd->GetWindow()) : NULL;
+ pDlg = pWnd ? static_cast<SvxFontWorkDialog*>(pWnd->GetWindow()) : nullptr;
}
if ( rMarkList.GetMarkCount() == 1 )
@@ -155,7 +155,7 @@ void DrawViewShell::ExecAnimationWin( SfxRequest& rReq )
SfxChildWindow* pWnd = GetViewFrame()->GetChildWindow(nId);
- pAnimWin = pWnd ? static_cast<AnimationWindow*>(pWnd->GetWindow()) : NULL;
+ pAnimWin = pWnd ? static_cast<AnimationWindow*>(pWnd->GetWindow()) : nullptr;
if ( pAnimWin )
{
@@ -282,7 +282,7 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
case ( SID_BMPMASK_EXEC ) :
{
- SdrGrafObj* pObj = 0;
+ SdrGrafObj* pObj = nullptr;
if( mpDrawView && mpDrawView->GetMarkedObjectList().GetMarkCount() )
pObj = dynamic_cast< SdrGrafObj* >( mpDrawView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj() );
@@ -306,7 +306,7 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
SfxChildWindow* pWnd = GetViewFrame()->GetChildWindow(
SvxBmpMaskChildWindow::GetChildWindowId());
- SvxBmpMask* pBmpMask = pWnd ? static_cast<SvxBmpMask*>(pWnd->GetWindow()) : NULL;
+ SvxBmpMask* pBmpMask = pWnd ? static_cast<SvxBmpMask*>(pWnd->GetWindow()) : nullptr;
assert(pBmpMask);
if (bCont && pBmpMask)
{
@@ -340,14 +340,14 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
void DrawViewShell::GetBmpMaskState( SfxItemSet& rSet )
{
const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
- const SdrObject* pObj = NULL;
+ const SdrObject* pObj = nullptr;
sal_uInt16 nId = SvxBmpMaskChildWindow::GetChildWindowId();
bool bEnable = false;
if ( GetViewFrame()->HasChildWindow( nId ) )
{
SfxChildWindow* pWnd = GetViewFrame()->GetChildWindow(nId);
- SvxBmpMask* pDlg = pWnd ? static_cast<SvxBmpMask*>(pWnd->GetWindow()) : NULL;
+ SvxBmpMask* pDlg = pWnd ? static_cast<SvxBmpMask*>(pWnd->GetWindow()) : nullptr;
if (pDlg && pDlg->NeedsColorList())
pDlg->SetColorList(GetDoc()->GetColorList());
}