From 6ab9f0cfcd28124caf8e02219a39c753bce7d1ea Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 12 Mar 2018 15:09:03 +0300 Subject: 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 Reviewed-by: Mike Kaganski --- sw/source/uibase/shells/textsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/shells/textsh.cxx') diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index fc3a0799d15d..901323446dcf 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -93,7 +93,7 @@ #include -#define SwTextShell +#define ShellClass_SwTextShell #include #include #include -- cgit