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
29c101fe
Kaydet (Commit)
29c101fe
authored
Haz 06, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use a transparent graphic for the OLE2 image, and spell 'Empty' correctly.
Change-Id: I94fbe74b6febede4819851dfa78690507b04f4f7
üst
3fe227a6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
svdoole2.hxx
include/svx/svdoole2.hxx
+2
-2
xiescher.cxx
sc/source/filter/excel/xiescher.cxx
+2
-2
sdrolecontentprimitive2d.cxx
svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
+1
-2
svdoole2.cxx
svx/source/svdraw/svdoole2.cxx
+3
-3
No files found.
include/svx/svdoole2.hxx
Dosyayı görüntüle @
29c101fe
...
...
@@ -181,8 +181,8 @@ public:
sal_Bool
CalculateNewScaling
(
Fraction
&
aScaleWidth
,
Fraction
&
aScaleHeight
,
Size
&
aObjAreaSize
);
sal_Bool
AddOwnLightClient
();
// handy to get the empty replacement
bitmap
without accessing all the old stuff
static
Bitmap
GetEmtyOLEReplacementBitmap
();
// handy to get the empty replacement
graphic
without accessing all the old stuff
static
Graphic
GetEmptyOLEReplacementGraphic
();
void
SetWindow
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
awt
::
XWindow
>&
_xWindow
);
...
...
sc/source/filter/excel/xiescher.cxx
Dosyayı görüntüle @
29c101fe
...
...
@@ -2903,8 +2903,8 @@ SdrObject* XclImpPictureObj::DoCreateSdrObj( XclImpDffConverter& rDffConv, const
// avoid a 'blank' shape that can result from a failed control import
if
(
!
xSdrObj
&&
IsOcxControl
()
&&
maGraphic
.
GetType
()
==
GRAPHIC_NONE
)
{
Graphic
aReplacement
(
SdrOle2Obj
::
GetEmtyOLEReplacementBitmap
()
);
const_cast
<
XclImpPictureObj
*
>
(
this
)
->
maGraphic
=
aReplacement
;
const_cast
<
XclImpPictureObj
*
>
(
this
)
->
maGraphic
=
SdrOle2Obj
::
GetEmptyOLEReplacementGraphic
()
;
}
// no OLE - create a plain picture from IMGDATA record data
if
(
!
xSdrObj
&&
(
maGraphic
.
GetType
()
!=
GRAPHIC_NONE
)
)
...
...
svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
Dosyayı görüntüle @
29c101fe
...
...
@@ -55,8 +55,7 @@ namespace drawinglayer
if
(
GRAPHIC_NONE
==
aGraphic
.
GetType
())
{
// no source, use fallback resource emty OLE graphic
const
Bitmap
aEmptyOLEBitmap
(
SdrOle2Obj
::
GetEmtyOLEReplacementBitmap
());
aGraphic
=
Graphic
(
aEmptyOLEBitmap
);
aGraphic
=
SdrOle2Obj
::
GetEmptyOLEReplacementGraphic
();
bScaleContent
=
true
;
}
...
...
svx/source/svdraw/svdoole2.cxx
Dosyayı görüntüle @
29c101fe
...
...
@@ -1338,7 +1338,7 @@ SdrObject* SdrOle2Obj::createSdrGrafObjReplacement(bool bAddText, bool /* bUseHC
// bitmap fill
pClone
->
SetMergedItem
(
XFillStyleItem
(
XFILL_BITMAP
));
pClone
->
SetMergedItem
(
XFillBitmapItem
(
String
(),
G
raphic
(
GetEmtyOLEReplacementBitmap
()
)));
pClone
->
SetMergedItem
(
XFillBitmapItem
(
String
(),
G
etEmptyOLEReplacementGraphic
(
)));
pClone
->
SetMergedItem
(
XFillBmpTileItem
(
false
));
pClone
->
SetMergedItem
(
XFillBmpStretchItem
(
false
));
...
...
@@ -2208,9 +2208,9 @@ sal_Bool SdrOle2Obj::AddOwnLightClient()
//////////////////////////////////////////////////////////////////////////////
Bitmap
SdrOle2Obj
::
GetEmtyOLEReplacementBitmap
()
Graphic
SdrOle2Obj
::
GetEmptyOLEReplacementGraphic
()
{
return
Bitmap
(
ResId
(
BMP_SVXOLEOBJ
,
*
ImpGetResMgr
(
)));
return
Graphic
(
BitmapEx
(
ResId
(
BMP_SVXOLEOBJ
,
*
ImpGetResMgr
()
)));
}
//////////////////////////////////////////////////////////////////////////////
...
...
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