diff options
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index e3d57ddecd41..08fd4a49caa9 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -2408,9 +2408,9 @@ SwDoc * SwXTextDocument::GetRenderDoc( // this part should only be called when a temporary document needs to be created, // for example for PDF export or printing of (multi-)selection only. - bool bIsSwSrcView = false; if (!rpView) { + bool bIsSwSrcView = false; (void) bIsPDFExport; // aside from maybe PDF export the view should always have been provided! OSL_ENSURE( bIsPDFExport, "view is missing, guessing one..." ); |