From 503e0173bf1e207b05a33cc17e03d8b9dbcbc56b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Mar 2020 16:50:24 +0200 Subject: Revert "loplugin:constfields in sfx2" This reverts commit 8411b80d46765f1ddd4e37aa634ec963dcf4b04f. Change-Id: Ibf3aa3ce4bfedf9d47001ad824db7c48ff093a21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90416 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/view/viewprn.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sfx2/source/view/viewprn.cxx') diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index ffb0b568ec7b..57cd026b8990 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -61,8 +61,8 @@ using namespace com::sun::star::uno; class SfxPrinterController : public vcl::PrinterController, public SfxListener { - Any const maCompleteSelection; - Any const maSelection; + Any maCompleteSelection; + Any maSelection; Reference< view::XRenderable > mxRenderable; mutable VclPtr mpLastPrinter; mutable Reference mxDevice; @@ -70,8 +70,8 @@ class SfxPrinterController : public vcl::PrinterController, public SfxListener SfxObjectShell* mpObjectShell; bool m_bOrigStatus; bool m_bNeedsChange; - bool const m_bApi; - bool const m_bTempPrinter; + bool m_bApi; + bool m_bTempPrinter; util::DateTime m_aLastPrinted; OUString m_aLastPrintedBy; @@ -421,7 +421,7 @@ namespace { class SfxDialogExecutor_Impl { private: - SfxViewShell* const _pViewSh; + SfxViewShell* _pViewSh; PrinterSetupDialog& _rSetupParent; std::unique_ptr _pOptions; bool _bHelpDisabled; -- cgit