diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-08-26 14:36:23 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-08-26 15:06:46 +0200 |
commit | 2492604c92506043982551755710c78dcecf7c31 (patch) | |
tree | dc0ae27c195d8b909dfca98a62ae82da34def9f5 | |
parent | 7412cb319a6b3746def85604ec899be706037baf (diff) |
Document a bit the Ugly bad and nasty workaround
Somehow, under same circumstances, MSVC creates object code for 2
inlined functions. Nobody here uses them, so simply define them away
so that there be no dupplicate symbols anymore.
The symbols extents and indices come from boost::multi_array.
(cherry picked from commit 5b734c8e19ceb38ec2f632b14fbbc753d95de77e)
Change-Id: I7283ecff340d95f16bb3a8d0aae97e166fa5f0e4
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocument.cxx | 7 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index 403dd93c9ef7..b38c63964acd 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -17,6 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +/* Somehow, under same circumstances, MSVC creates object code for 2 + * inlined functions. Nobody here uses them, so simply define them away + * so that there be no dupplicate symbols anymore. + + * The symbols "extents" and "indices" come from boost::multi_array. + */ + #ifdef indices #undef indices #endif diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index 31ad0335f327..1714379acba1 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -17,6 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +/* Somehow, under same circumstances, MSVC creates object code for 2 + * inlined functions. Nobody here uses them, so simply define them away + * so that there be no dupplicate symbols anymore. + + * The symbols "extents" and "indices" come from boost::multi_array. + */ + #ifdef indices #undef indices #endif |