diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-08 16:10:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-09 12:26:44 +0100 |
commit | 65d2d2647ead42e5bbb7800f14c047f383fe450b (patch) | |
tree | adf4a55eed10f800ed62a686826f9cbbd6effdd2 /sw/source/core/view/viewsh.cxx | |
parent | 0f68e45e2ec6b9fa8c562044e88355d95af0347d (diff) |
loplugin:singlevalfields in sw
Change-Id: Icdb155f9fa7ae79fc193c2da436d9500e7be4d29
Reviewed-on: https://gerrit.libreoffice.org/63126
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/view/viewsh.cxx')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 31f7c64712fb..273692a86aa7 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -2089,8 +2089,6 @@ OutputDevice& SwViewShell::GetRefDev() const GetViewOptions()->getBrowseMode() && !GetViewOptions()->IsPrtFormat() ) pTmpOut = GetWin(); - else if ( mpTmpRef ) - pTmpOut = mpTmpRef; else pTmpOut = GetDoc()->getIDocumentDeviceAccess().getReferenceDevice( true ); |