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
d4653a95
Kaydet (Commit)
d4653a95
authored
Eki 29, 2014
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove these useless static bool variables.
Change-Id: I7a8ad7814231f129d5d1146ceb36eb2c22b2aff1
üst
70dff8d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
grfmgr.cxx
svtools/source/graphic/grfmgr.cxx
+0
-18
No files found.
svtools/source/graphic/grfmgr.cxx
Dosyayı görüntüle @
d4653a95
...
@@ -443,21 +443,11 @@ void GraphicObject::SetSwapStreamHdl()
...
@@ -443,21 +443,11 @@ void GraphicObject::SetSwapStreamHdl()
}
}
}
}
#define SWAPGRAPHIC_TIMEOUT 5000
// #i122985# it is not correct to set the swap-timeout to a hard-coded 5000ms
// #i122985# it is not correct to set the swap-timeout to a hard-coded 5000ms
// as it was before. Added code and experimented what to do as a good
// as it was before. Added code and experimented what to do as a good
// compromise, see description.
// compromise, see description.
static
sal_uInt32
GetCacheTimeInMs
()
static
sal_uInt32
GetCacheTimeInMs
()
{
{
static
bool
bSetAtAll
(
true
);
if
(
bSetAtAll
)
{
static
bool
bSetToPreferenceTime
(
true
);
if
(
bSetToPreferenceTime
)
{
const
sal_uInt32
nSeconds
=
const
sal_uInt32
nSeconds
=
officecfg
::
Office
::
Common
::
Cache
::
GraphicManager
::
ObjectReleaseTime
::
get
(
officecfg
::
Office
::
Common
::
Cache
::
GraphicManager
::
ObjectReleaseTime
::
get
(
comphelper
::
getProcessComponentContext
());
comphelper
::
getProcessComponentContext
());
...
@@ -472,14 +462,6 @@ static sal_uInt32 GetCacheTimeInMs()
...
@@ -472,14 +462,6 @@ static sal_uInt32 GetCacheTimeInMs()
// tools/options/memory/Remove_from_memory_after setting. Seems to
// tools/options/memory/Remove_from_memory_after setting. Seems to
// be a good compromise to me.
// be a good compromise to me.
return
nSeconds
*
1000
/
12
;
return
nSeconds
*
1000
/
12
;
}
else
{
return
SWAPGRAPHIC_TIMEOUT
;
}
}
return
0
;
}
}
void
GraphicObject
::
SetSwapStreamHdl
(
const
Link
&
rHdl
)
void
GraphicObject
::
SetSwapStreamHdl
(
const
Link
&
rHdl
)
...
...
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