summaryrefslogtreecommitdiff
path: root/editors/openoffice-2.0-devel/files/patch-stoc::source::implementationregistration::implreg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-2.0-devel/files/patch-stoc::source::implementationregistration::implreg.cxx')
-rw-r--r--editors/openoffice-2.0-devel/files/patch-stoc::source::implementationregistration::implreg.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-2.0-devel/files/patch-stoc::source::implementationregistration::implreg.cxx b/editors/openoffice-2.0-devel/files/patch-stoc::source::implementationregistration::implreg.cxx
new file mode 100644
index 000000000000..925e924b1605
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-stoc::source::implementationregistration::implreg.cxx
@@ -0,0 +1,11 @@
+--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
++++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
+@@ -192,7 +192,7 @@
+ tmpPath = buf.makeStringAndClear();
+ }
+ // I am the only one to own tmpPath here, so the cast is tolerateable.
+- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
++ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
+ }
+