summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewprn.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 16:50:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 19:42:37 +0100
commit503e0173bf1e207b05a33cc17e03d8b9dbcbc56b (patch)
tree56300d5ca6de4ad3b01a590ec916beed0a8c9c66 /sfx2/source/view/viewprn.cxx
parent02c9e05551d69980e0757b1b0a624692ea21a96b (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/view/viewprn.cxx')
-rw-r--r--sfx2/source/view/viewprn.cxx10
1 files changed, 5 insertions, 5 deletions
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<Printer> mpLastPrinter;
mutable Reference<awt::XDevice> 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<SfxItemSet> _pOptions;
bool _bHelpDisabled;