svx/source/dialog/sendreportw32.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 78b97473f55bb55b901ecf6de12242f35553122c Author: Thomas Arnhold <tho...@arnhold.org> Date: Thu Sep 5 09:47:04 2013 +0200 fix windows build Change-Id: Id09c09b402866b5fb00114c47da7d85d17866ca3 diff --git a/svx/source/dialog/sendreportw32.cxx b/svx/source/dialog/sendreportw32.cxx index 0a02388..b95cb30 100644 --- a/svx/source/dialog/sendreportw32.cxx +++ b/svx/source/dialog/sendreportw32.cxx @@ -137,7 +137,7 @@ namespace svx{ bool ErrorRepSendDialog::SaveParams() { - const _TCHAR *lpHTTPProxyServer = reinterpret_cast<LPCTSTR>(maParams.maHTTPProxyServer.GetBuffer()); + const _TCHAR *lpHTTPProxyServer = reinterpret_cast<LPCTSTR>(maParams.maHTTPProxyServer.getStr()); RegWriteValue( HKEY_CURRENT_USER, TEXT("SOFTWARE\\LibreOffice\\CrashReport"), @@ -146,7 +146,7 @@ namespace svx{ sizeof(TCHAR) * (_tcslen(lpHTTPProxyServer) + 1) ); _TCHAR* endptr = NULL; - DWORD dwProxyPort = _tcstoul( reinterpret_cast<LPCTSTR>(maParams.maHTTPProxyPort.GetBuffer()), &endptr, 10 ); + DWORD dwProxyPort = _tcstoul( reinterpret_cast<LPCTSTR>(maParams.maHTTPProxyPort.getStr()), &endptr, 10 ); RegWriteValue( HKEY_CURRENT_USER, @@ -173,7 +173,7 @@ namespace svx{ &uInternetConnection, sizeof(DWORD) ); - const _TCHAR *lpEmail = reinterpret_cast<LPCTSTR>(GetEMailAddress().GetBuffer()); + const _TCHAR *lpEmail = reinterpret_cast<LPCTSTR>(GetEMailAddress().getStr()); RegWriteValue( HKEY_CURRENT_USER, TEXT("SOFTWARE\\LibreOffice\\CrashReport"), @@ -203,7 +203,7 @@ namespace svx{ fclose( fp ); } - SetEnvironmentVariable( TEXT("ERRORREPORT_SUBJECT"), reinterpret_cast<LPCTSTR>(GetDocType().GetBuffer()) ); + SetEnvironmentVariable( TEXT("ERRORREPORT_SUBJECT"), reinterpret_cast<LPCTSTR>(GetDocType().getStr()) ); SetEnvironmentVariable( TEXT("ERRORREPORT_BODYFILE"), szFileName ); _TCHAR szBuffer[1024]; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits