Bugzilla – Attachment 43649 Details for
Bug 32640
LibreOffice localized as BrOffice (auto) takes a long time to start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix the issue ...
startup-speedup.diff (text/plain), 1.02 KB, created by
Michael Meeks
on 2011-02-22 04:05:00 UTC
(
hide
)
Description:
fix the issue ...
Filename:
MIME Type:
Creator:
Michael Meeks
Created:
2011-02-22 04:05:00 UTC
Size:
1.02 KB
patch
obsolete
>diff --git a/vcl/unx/inc/saldata.hxx b/vcl/unx/inc/saldata.hxx >index 4164a0f..da5880c 100644 >--- a/vcl/unx/inc/saldata.hxx >+++ b/vcl/unx/inc/saldata.hxx >@@ -88,8 +88,7 @@ public: > inline void StopTimer(); > void Timeout() const; > >- const rtl::OUString& GetLocalHostName() const >- { return maLocalHostName; } >+ const rtl::OUString& GetLocalHostName(); > > static int XErrorHdl( Display*, XErrorEvent* ); > static int XIOErrorHdl( Display* ); >diff --git a/vcl/unx/source/app/saldata.cxx b/vcl/unx/source/app/saldata.cxx >index bfe96f7..3840844 100644 >--- a/vcl/unx/source/app/saldata.cxx >+++ b/vcl/unx/source/app/saldata.cxx >@@ -272,7 +272,13 @@ X11SalData::X11SalData() > m_pPlugin = NULL; > > hMainThread_ = pthread_self(); >- osl_getLocalHostname( &maLocalHostName.pData ); >+} >+ >+const rtl::OUString& X11SalData::GetLocalHostName() >+{ >+ if (!maLocalHostName.getLength()) >+ osl_getLocalHostname( &maLocalHostName.pData ); >+ return maLocalHostName; > } > > X11SalData::~X11SalData()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 32640
:
41493
|
41713
|
43627
| 43649