diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-05 09:47:04 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-05 09:47:04 +0200 |
commit | 78b97473f55bb55b901ecf6de12242f35553122c (patch) | |
tree | 320571e7d19eefae2faa5df88981e993a205def8 /svx | |
parent | fix idl: missing </b> (diff) | |
download | core-78b97473f55bb55b901ecf6de12242f35553122c.tar.gz core-78b97473f55bb55b901ecf6de12242f35553122c.zip |
fix windows build
Change-Id: Id09c09b402866b5fb00114c47da7d85d17866ca3
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/sendreportw32.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/sendreportw32.cxx b/svx/source/dialog/sendreportw32.cxx index 0a02388a3c86..b95cb305a15e 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]; |