summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorParis Oplopoios <paris.oplopoios@collabora.com>2023-07-03 00:24:27 +0300
committerParis Oplopoios <parisoplop@gmail.com>2023-07-05 10:02:27 +0200
commit77f5cf7e360ecfcc199451faaa598a3885351e77 (patch)
tree1c07fb351e2882b4fbac20dd45dc4dbfa08d0f50 /sd
parent9676d121182ce8a2b395df01b75a9c3cb625fc50 (diff)
Delete DrawViewShell copy constructors
DrawViewShell does not get copied so best to set these to deleted to highlight this. Change-Id: I3d35d3a47137b15346d54a08d3d7af480b0872bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153864 Tested-by: Jenkins Reviewed-by: Paris Oplopoios <parisoplop@gmail.com> (cherry picked from commit 7f1012806f5cf2cd53e52d8f2a95c09a2215efbc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153907 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index beb2bec08c0a..4e4482980a11 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -398,6 +398,9 @@ protected:
void GetMenuStateSel(SfxItemSet& rSet);
private:
+ DrawViewShell(const DrawViewShell&) = delete;
+ DrawViewShell& operator=(const DrawViewShell&) = delete;
+
void Construct (DrawDocShell* pDocSh, PageKind ePageKind);
/** Depending on the given request create a new page or duplicate an