diff options
Diffstat (limited to 'linguistic/source/spelldsp.cxx')
-rw-r--r-- | linguistic/source/spelldsp.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 3ea7d5f4f40b..f2e7ce898bb0 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> +#include <boost/noncopyable.hpp> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/SpellFailure.hpp> @@ -53,16 +55,12 @@ using namespace linguistic; // Removing entries is done by assigning the empty string. // The sequence is constructed from all non empty strings in the original // while maintaining the order. -class ProposalList +class ProposalList: private boost::noncopyable { std::vector< OUString > aVec; sal_Bool HasEntry( const OUString &rText ) const; - // make copy c-tor and assignment operator private - ProposalList( const ProposalList & ); - ProposalList & operator = ( const ProposalList & ); - public: ProposalList() {} |