summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/notxtfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/notxtfrm.cxx')
-rw-r--r--sw/source/core/doc/notxtfrm.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index dd93b15e9aaf..c0b8984e6cf4 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -906,12 +906,10 @@ static bool paintUsingPrimitivesHelper(
std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(
drawinglayer::processor2d::createProcessor2DFromOutputDevice(
rOutputDevice, aViewInformation2D) );
- if(pProcessor2D)
- {
- // render and cleanup
- pProcessor2D->process(rSequence);
- return true;
- }
+
+ // render and cleanup
+ pProcessor2D->process(rSequence);
+ return true;
}
}