[Libreoffice-commits] core.git: include/basic

Michael Stahl mstahl at redhat.com
Fri Jul 17 11:52:35 PDT 2015


 include/basic/sbx.hxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 8f9effacd8f7817a0ad2b1d89b96682855583e48
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Jul 17 20:45:31 2015 +0200

    basic: try to prevent MSVC from generating copy assignment
    
    Change-Id: I7232f69a465b1acaf069005b3695039bdc96c7a3

diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx
index 66c2d09..a4e9723 100644
--- a/include/basic/sbx.hxx
+++ b/include/basic/sbx.hxx
@@ -71,6 +71,9 @@ class BASIC_DLLPUBLIC SbxInfo : public SvRefBase
     sal_uInt32      nHelpId;
     SbxParams       m_Params;
 
+    SbxInfo(SbxInfo const&) = delete;
+    void operator=(SbxInfo const&) = delete;
+
 protected:
     bool LoadData( SvStream&, sal_uInt16 );
     bool StoreData( SvStream& ) const;


More information about the Libreoffice-commits mailing list