Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
fcf953b8
Kaydet (Commit)
fcf953b8
authored
Eyl 24, 2014
tarafından
xukai
Kaydeden (comit)
Michael Meeks
Eki 09, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make streamtimeout a config variable instead of an env. var.
Change-Id: I6c82142265a0a149206d15fbc267ad61e6b9cf3b
üst
11044cbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
Calc.xcs
officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+12
-0
datastream.cxx
sc/source/ui/docshell/datastream.cxx
+5
-10
No files found.
officecfg/registry/schema/org/openoffice/Office/Calc.xcs
Dosyayı görüntüle @
fcf953b8
...
...
@@ -1807,5 +1807,17 @@
</prop>
</group>
</group>
<group
oor:name=
"DataStream"
>
<info>
<desc>
data stream
</desc>
</info>
<prop
oor:name=
"UpdateTimeout"
oor:type=
"xs:int"
oor:nillable=
"false"
>
<!-- UIHints: Tools - Options - Spreadsheet - Defaults -->
<info>
<desc>
set the Timeout of DataStream updating
</desc>
</info>
<value>
2000
</value>
</prop>
</group>
</component>
</oor:component-schema>
sc/source/ui/docshell/datastream.cxx
Dosyayı görüntüle @
fcf953b8
...
...
@@ -27,6 +27,8 @@
#include <documentlinkmgr.hxx>
#include <config_orcus.h>
#include "officecfg/Office/Calc.hxx"
#if ENABLE_ORCUS
#if defined WNT
...
...
@@ -501,18 +503,11 @@ void DataStream::MoveData()
default
:
;
}
if
(
mbIsFirst
&&
mbIsUpdate
)
{
int
nImportTimeout
=
0
;
static
char
*
cenv
=
getenv
(
"streamtimeout"
);
if
(
cenv
)
{
double
nEnv
=
atof
(
cenv
);
nImportTimeout
=
1000
*
nEnv
;
}
maImportTimer
.
SetTimeout
(
nImportTimeout
);
mbIsFirst
=
false
;
sal_Int32
nStreamTimeout
=
officecfg
::
Office
::
Calc
::
DataStream
::
UpdateTimeout
::
get
();
maImportTimer
.
SetTimeout
(
nStreamTimeout
);
mbIsFirst
=
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment