summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews9.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:50 +0200
commit04b9ff9a8842bc23306c38f9bd1af7cd941d0eb8 (patch)
tree6b0beb6b27ce6b7441d70b5702f6d3dcffbacff2 /sd/source/ui/view/drviews9.cxx
parent9e1e8858d12ab76ce928b1f499e2de210a6e443d (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ic77431126be9259bf6381243d1ee682d687c493e
Diffstat (limited to 'sd/source/ui/view/drviews9.cxx')
-rw-r--r--sd/source/ui/view/drviews9.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index b6e814a4a048..9f3c356eda46 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -727,7 +727,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
;
}
- mpDrawView->SetAttributes (*(const SfxItemSet *) pAttr.get());
+ mpDrawView->SetAttributes (*const_cast<const SfxItemSet *>(pAttr.get()));
rReq.Ignore ();
}