summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/srcview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/srcview.cxx')
-rw-r--r--sw/source/uibase/uiview/srcview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx
index eb66d8ac5fa5..7f1bc323ff53 100644
--- a/sw/source/uibase/uiview/srcview.cxx
+++ b/sw/source/uibase/uiview/srcview.cxx
@@ -219,7 +219,7 @@ static OUString lcl_ConvertTabsToSpaces( const OUString& sLine )
SwSrcView::SwSrcView(SfxViewFrame* pViewFrame, SfxViewShell*) :
SfxViewShell( pViewFrame, SWSRCVIEWFLAGS ),
aEditWin( VclPtr<SwSrcEditWindow>::Create( &pViewFrame->GetWindow(), this ) ),
- pSearchItem(0),
+ pSearchItem(nullptr),
bSourceSaved(false),
eLoadEncoding(RTL_TEXTENCODING_DONTKNOW)
{
@@ -338,7 +338,7 @@ void SwSrcView::Execute(SfxRequest& rReq)
case SID_SAVEDOC:
{
SwDocShell* pDocShell = GetDocShell();
- SfxMedium* pMed = 0;
+ SfxMedium* pMed = nullptr;
if(pDocShell->HasName())
pMed = pDocShell->GetMedium();
else