diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-06-25 10:17:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-25 11:54:09 +0200 |
commit | e496a707b23d9ab0fb0ac20e7411cf316f2f1412 (patch) | |
tree | a999b765037872bca01c150ac2cdbaa46ce09688 /include/vcl | |
parent | 3abc5d24b499a80b656cbb40b0f31566c3e2e714 (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/vcl')
-rw-r--r-- | include/vcl/texteng.hxx | 5 |
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; |