summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/pivotsh.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/view/pivotsh.cxx
parentfe6da2feb57c3d5e355a36f6b8ac09b48412ff39 (diff)
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/view/pivotsh.cxx')
-rw-r--r--sc/source/ui/view/pivotsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/pivotsh.cxx b/sc/source/ui/view/pivotsh.cxx
index 27171ed5560f..83fd8990283e 100644
--- a/sc/source/ui/view/pivotsh.cxx
+++ b/sc/source/ui/view/pivotsh.cxx
@@ -39,7 +39,7 @@
#include <uiitems.hxx>
#include <scabstdlg.hxx>
-#define ScPivotShell
+#define ShellClass_ScPivotShell
#include <scslots.hxx>
#include <memory>