summaryrefslogtreecommitdiff
path: root/sc/inc/autoform.hxx
diff options
context:
space:
mode:
authorSteven Guo <steventimothyguo@gmail.com>2016-03-08 22:45:17 -0800
committerStephan Bergmann <sbergman@redhat.com>2016-04-05 06:57:31 +0000
commitbe3c2ff9233e8d4c5afe9c696cb5a60b24b25efc (patch)
tree89d3be1ac1f9cf210d78aacdde94fa45f10ec692 /sc/inc/autoform.hxx
parentaf23aa9a763bd8ebe160b95a48e1b0e650ec9ed3 (diff)
tdf#94306 Replace boost::noncopyable with plain C++11 deleted copy ctors
Replaced boost::noncopyable with play C++11 deleted copy ctors in sc/inc/* files. Change-Id: I2e6310f2f2bac673dd3b5d14e80ce80a98795672 Reviewed-on: https://gerrit.libreoffice.org/23059 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc/autoform.hxx')
-rw-r--r--sc/inc/autoform.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx
index 11d4295bb556..4c172f114a99 100644
--- a/sc/inc/autoform.hxx
+++ b/sc/inc/autoform.hxx
@@ -58,8 +58,6 @@
#include "global.hxx"
#include "zforauto.hxx"
-#include <boost/noncopyable.hpp>
-
#include <memory>
#include <map>
@@ -72,7 +70,7 @@ logic handled and stored several writer-specific items (such as ScAutoFormatData
That logic was preserved. From _31005 onward, writer-specific data should be handled by
blobs to avoid needlessly complicating the Calc logic.
*/
-struct AutoFormatSwBlob : ::boost::noncopyable
+struct AutoFormatSwBlob
{
sal_uInt8 *pData;
sal_Size size;
@@ -80,7 +78,8 @@ struct AutoFormatSwBlob : ::boost::noncopyable
AutoFormatSwBlob() : pData(nullptr), size(0)
{
}
-
+ AutoFormatSwBlob(const AutoFormatSwBlob&) = delete;
+ const AutoFormatSwBlob& operator=(const AutoFormatSwBlob&) = delete;
~AutoFormatSwBlob()
{
Reset();