summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-23 03:26:40 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-23 03:26:40 +0200
commit0ec0d899bf81a957347f0e3e257928a2e5945e30 (patch)
treea07f86df468ba36db7cdd494ea35b4eb68f3aa27 /bridges/source
parentc59895173854200f581fcd04c7cbcfb142efde0b (diff)
Add debug output to the dummy functions to see if/when they get called
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx2
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx4
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx6
3 files changed, 9 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
index 41f46c352b59..de8ceca10f1c 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -430,7 +430,7 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock(
static void whatthefuck(sal_Int64 i, ...)
{
-
+ MessageBoxA (NULL, "Shit!", "whatthefuck in cpp2uno.cxx", MB_OK);
}
#endif
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
index 0774eed1721e..bb5c5b1922b8 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
@@ -275,12 +275,12 @@ extern void *destruct;
static void whatthefuck_copyctor(sal_Int64 i, ...)
{
-
+ MessageBoxA (NULL, "Shit!", "whatthefuck_copyctor in except.cxx", MB_OK);
}
static void whatthefuck_dtor(sal_Int64 i, ...)
{
-
+ MessageBoxA (NULL, "Shit!", "whatthefuck_dtor in except.cxx", MB_OK);
}
#endif
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
index 74b6466efeff..033559aad0e9 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
@@ -41,6 +41,10 @@
#include "mscx.hxx"
+#if OSL_DEBUG_LEVEL > 1
+#include <stdio.h>
+#endif
+
using namespace ::rtl;
using namespace ::com::sun::star::uno;
@@ -103,6 +107,8 @@ static void cpp_call(
{
const int MAXPARAMS = 20;
+ MessageBoxA (NULL, "Whoa!", "cpp_call in uno2cpp.cxx", MB_OK);
+
if (nParams > MAXPARAMS)
{
// We have a hard limit on the number of parameters so that we