summaryrefslogtreecommitdiffstats
path: root/include/desktop
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-29 21:56:49 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-29 21:57:36 +0100
commit5e2284de5bcfd95f21b3d85998f336999fa9ff3e (patch)
treec23a9357ebba8566d9bcc3961f77439d02a5d3ce /include/desktop
parentRepositoryExternal.mk: ENABLE_HEADLESS needs cairo too (diff)
downloadcore-5e2284de5bcfd95f21b3d85998f336999fa9ff3e.tar.gz
core-5e2284de5bcfd95f21b3d85998f336999fa9ff3e.zip
desktop: fix undefined CrashReporter::AddKeyValue on MSVC
Change-Id: Ie10b4849957734c2548c73dff8485cc673769e13
Diffstat (limited to 'include/desktop')
-rw-r--r--include/desktop/crashreport.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/desktop/crashreport.hxx b/include/desktop/crashreport.hxx
index c6d72be92ffb..05b1fd81a835 100644
--- a/include/desktop/crashreport.hxx
+++ b/include/desktop/crashreport.hxx
@@ -28,7 +28,12 @@
* * AdapterDeviceId
*
*/
-class CRASHREPORT_DLLPUBLIC CrashReporter
+class
+#if HAVE_FEATURE_BREAKPAD
+// MSVC 2013 has undefined symbols for inline functions if it's exported
+CRASHREPORT_DLLPUBLIC
+#endif
+/*class*/ CrashReporter
{
public:
static void AddKeyValue(const OUString& rKey, const OUString& rValue);