diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 15:52:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:46 +0100 |
commit | 7ecdffbef79bad6fd9b3ada83db56e745ce531ca (patch) | |
tree | 66bb2603662b5f5ba8bdc5a326eedf59db865335 | |
parent | 2283dd0b0a5117fb7b875bf97742f81820f6a1e0 (diff) |
Don't leave sdr::table::Cell members implicitly declared
...otherwise, as the class is SVX_DLLPUBLIC and---for better or worse---
SVX_DLLPUBLIC is shared between Library_svxcore and Library_svxcore, all .cxx in
Library_svx that happen to include cell.hxx would emit them (as well as those in
Library_svxcore, of course), and the copy ctor requires the vtable, which in
turn requires an adjustor thunk for Cell::getPropertyStates, which happens to
not be emitted into any of the Library_svx .cxx that require it under clang-cl
due to <https://llvm.org/bugs/show_bug.cgi?id=25641> "clang-cl: vtordisp thunks
not emitted for functions with class template specializations in their
signatures."
Change-Id: Ib03b7002f9dfe3c2df742640ef7406cf24a7cecd
-rw-r--r-- | svx/source/table/cell.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/table/cell.hxx b/svx/source/table/cell.hxx index 20ab6b4d8331..e2a28a0467f3 100644 --- a/svx/source/table/cell.hxx +++ b/svx/source/table/cell.hxx @@ -206,6 +206,9 @@ private: SVX_DLLPRIVATE Cell( SdrTableObj& rTableObj, OutlinerParaObject* pOutlinerParaObject ) throw(css::uno::RuntimeException); SVX_DLLPRIVATE virtual ~Cell() throw(); + Cell(Cell const &) = delete; + void operator =(Cell const &) = delete; + const SvxItemPropertySet* mpPropSet; sdr::properties::TextProperties* mpProperties; |