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
1d77d4ea
Kaydet (Commit)
1d77d4ea
authored
Eki 23, 2012
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
typo, wrong object was returned
Change-Id: Ibcb45d7f0ad3f9469c61809528d7542a80d406b7
üst
e90e4df7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
svdoashp.cxx
svx/source/svdraw/svdoashp.cxx
+4
-4
No files found.
svx/source/svdraw/svdoashp.cxx
Dosyayı görüntüle @
1d77d4ea
...
...
@@ -100,7 +100,7 @@ using namespace ::com::sun::star::drawing;
// A simple one item cache really helps here ...
namespace
{
static
const
SdrObjCustomShape
*
g_pLastCacheShape
;
static
Reference
<
XCustomShapeEngine
>
g_xLastCacheShape
;
static
Reference
<
XCustomShapeEngine
>
g_xLastCacheShape
Engine
;
}
static
void
lcl_ShapeSegmentFromBinary
(
EnhancedCustomShapeSegment
&
rSegInfo
,
sal_uInt16
nSDat
)
...
...
@@ -411,7 +411,7 @@ Reference< XCustomShapeEngine > SdrObjCustomShape::GetCustomShapeEngine( const S
// We get dozens of back-to-back calls for the same shape
if
(
pCustomShape
==
g_pLastCacheShape
)
return
xCustom
ShapeEngine
;
return
g_xLastCache
ShapeEngine
;
String
aEngine
(((
SdrCustomShapeEngineItem
&
)
pCustomShape
->
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)).
GetValue
());
if
(
!
aEngine
.
Len
()
)
...
...
@@ -436,7 +436,7 @@ Reference< XCustomShapeEngine > SdrObjCustomShape::GetCustomShapeEngine( const S
}
g_pLastCacheShape
=
pCustomShape
;
g_xLastCacheShape
=
xCustomShapeEngine
;
g_xLastCacheShape
Engine
=
xCustomShapeEngine
;
return
xCustomShapeEngine
;
}
...
...
@@ -868,7 +868,7 @@ SdrObjCustomShape::~SdrObjCustomShape()
if
(
this
==
g_pLastCacheShape
)
{
g_pLastCacheShape
=
NULL
;
g_xLastCacheShape
.
clear
();
g_xLastCacheShape
Engine
.
clear
();
}
// delete buffered display geometry
InvalidateRenderGeometry
();
...
...
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