--- bridges/source/cpp_uno/shared/vtablefactory.cxx.orig 2011-11-05 19:38:58.812005183 +0100 +++ bridges/source/cpp_uno/shared/vtablefactory.cxx 2011-11-05 19:40:01.654548478 +0100 @@ -263,7 +263,7 @@ for (int i = strDirectory.getLength() == 0 ? 1 : 0; i < 2; ++i) { - if (!strDirectory.getLength()) + if (strDirectory.getLength() < 2) strDirectory = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/tmp" )); strDirectory += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/.execoooXXXXXX" ));