summaryrefslogtreecommitdiff
path: root/sal/osl/w32/signal.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-09-15 12:43:52 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2017-09-15 14:48:31 +0200
commit1f543b817a7e8bdef9482c4c61bc1672bf04e39f (patch)
treed1fdb1f2935c823251398d557f0224f523e9afc1 /sal/osl/w32/signal.cxx
parent186e31689661e23824b123dd014a65b713bedd8c (diff)
osl/w32: don't use 8-bit string functions
Change-Id: I1f09d7a0f6c0c87b8b672d6bffcaa397ed4ff6e6 Reviewed-on: https://gerrit.libreoffice.org/42317 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal/osl/w32/signal.cxx')
-rw-r--r--sal/osl/w32/signal.cxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx
index 623cfdca3d90..0f6bc08dc9dc 100644
--- a/sal/osl/w32/signal.cxx
+++ b/sal/osl/w32/signal.cxx
@@ -17,23 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <sal/config.h>
-#include <config_features.h>
-
#include <signalshared.hxx>
-/* system headers */
-#include "system.h"
-#include <tchar.h>
-
-#include "file_url.hxx"
-#include "path_helper.hxx"
-
-#include <osl/signal.h>
-#include <DbgHelp.h>
-#include <errorrep.h>
#include <systools/win32/uwinapi.h>
-#include <sal/macros.h>
+#include <errorrep.h>
namespace
{
@@ -46,7 +33,7 @@ bool onInitSignal()
{
pPreviousHandler = SetUnhandledExceptionFilter(signalHandlerFunction);
- HMODULE hFaultRep = LoadLibrary( "faultrep.dll" );
+ HMODULE hFaultRep = LoadLibraryW( L"faultrep.dll" );
if ( hFaultRep )
{
pfn_ADDEREXCLUDEDAPPLICATIONW pfn = reinterpret_cast<pfn_ADDEREXCLUDEDAPPLICATIONW>(GetProcAddress( hFaultRep, "AddERExcludedApplicationW" ));