summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/drawfunc/drtxtob.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-03-12 15:09:03 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-03-13 14:14:12 +0100
commit6ab9f0cfcd28124caf8e02219a39c753bce7d1ea (patch)
treeea0aaba740057b096959183294ba9927a5e4c747 /sc/source/ui/drawfunc/drtxtob.cxx
parenttdf#116179 Support reading "auto" colour from docx (diff)
downloadcore-6ab9f0cfcd28124caf8e02219a39c753bce7d1ea.tar.gz
core-6ab9f0cfcd28124caf8e02219a39c753bce7d1ea.zip
SDI: don't #define/#undef names of actual classes for slot headers
Visual Studio 2015/2017 cannot handle that correctly, and emits a lot of intellisense errors. So, just prepend the define with "ShellClass_" Change-Id: I473ceb7e0a88e114b92e6342fd4ae63015cafd3e Reviewed-on: https://gerrit.libreoffice.org/51135 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source/ui/drawfunc/drtxtob.cxx')
-rw-r--r--sc/source/ui/drawfunc/drtxtob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx
index dfdd03576e77..5f7a48e882d4 100644
--- a/sc/source/ui/drawfunc/drtxtob.cxx
+++ b/sc/source/ui/drawfunc/drtxtob.cxx
@@ -75,7 +75,7 @@
#include <tabvwsh.hxx>
#include <gridwin.hxx>
-#define ScDrawTextObjectBar
+#define ShellClass_ScDrawTextObjectBar
#include <scslots.hxx>
#include <memory>