summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-06-25 10:17:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-25 11:54:09 +0200
commite496a707b23d9ab0fb0ac20e7411cf316f2f1412 (patch)
treea999b765037872bca01c150ac2cdbaa46ce09688 /include
parent3abc5d24b499a80b656cbb40b0f31566c3e2e714 (diff)
vcl: delete fake copy ctor and assignment operator of TextEngine
Change-Id: I9db651d2d9763aca8c70c1a313bab8d7d4d73e10 Reviewed-on: https://gerrit.libreoffice.org/39228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/texteng.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 83e715a73816..3ac8244ab45f 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -137,9 +137,6 @@ private:
bool mbRightToLeft : 1;
bool mbHasMultiLineParas : 1;
- TextEngine( const TextEngine& ) : SfxBroadcaster() {}
- TextEngine& operator=( const TextEngine& ) { return *this; }
-
protected:
void CursorMoved( sal_uInt32 nNode );
@@ -222,6 +219,8 @@ protected:
public:
TextEngine();
virtual ~TextEngine() override;
+ TextEngine( const TextEngine& ) = delete;
+ TextEngine& operator=( const TextEngine& ) = delete;
void SetText( const OUString& rStr );
OUString GetText( LineEnd aSeparator = LINEEND_LF ) const;