summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/latex-pstricks-out.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/internal/latex-pstricks-out.cpp')
-rw-r--r--src/extension/internal/latex-pstricks-out.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/latex-pstricks-out.cpp b/src/extension/internal/latex-pstricks-out.cpp
index 0581f8edd..e1da0bab6 100644
--- a/src/extension/internal/latex-pstricks-out.cpp
+++ b/src/extension/internal/latex-pstricks-out.cpp
@@ -40,7 +40,7 @@ LatexOutput::~LatexOutput (void) //The destructor
bool LatexOutput::check(Inkscape::Extension::Extension * /*module*/)
{
- bool result = Inkscape::Extension::db.get("org.inkscape.print.latex") != NULL;
+ bool result = Inkscape::Extension::db.get("org.inkscape.print.latex") != nullptr;
return result;
}
@@ -69,8 +69,8 @@ void LatexOutput::save(Inkscape::Extension::Output * /*mod2*/, SPDocument *doc,
mod->finish();
// Release things
(mod->base)->invoke_hide(mod->dkey);
- mod->base = NULL;
- mod->root = NULL; // should have been deleted by invoke_hide
+ mod->base = nullptr;
+ mod->root = nullptr; // should have been deleted by invoke_hide
// end
mod->set_param_string("destination", oldoutput);