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
d07778f6
Kaydet (Commit)
d07778f6
authored
Tem 09, 2014
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i119287 corrected default style for draw objects created using UNO API
üst
f73412f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
unopage.cxx
sd/source/ui/unoidl/unopage.cxx
+17
-5
No files found.
sd/source/ui/unoidl/unopage.cxx
Dosyayı görüntüle @
d07778f6
...
@@ -67,11 +67,7 @@
...
@@ -67,11 +67,7 @@
#include <svx/svdview.hxx>
#include <svx/svdview.hxx>
#include "misc.hxx"
#include "misc.hxx"
#include "View.hxx"
#include "View.hxx"
#ifndef SVX_LIGHT
#ifndef SD_DRAW_DOC_SHELL_HXX
#include "DrawDocShell.hxx"
#include "DrawDocShell.hxx"
#endif
#endif
#include "ViewShell.hxx"
#include "ViewShell.hxx"
#include "DrawViewShell.hxx"
#include "DrawViewShell.hxx"
#include "unoobj.hxx"
#include "unoobj.hxx"
...
@@ -80,6 +76,7 @@
...
@@ -80,6 +76,7 @@
#include "unopback.hxx"
#include "unopback.hxx"
#include "unohelp.hxx"
#include "unohelp.hxx"
#include <vcl/dibtools.hxx>
#include <vcl/dibtools.hxx>
#include <svx/svdograf.hxx>
using
::
com
::
sun
::
star
::
animations
::
XAnimationNode
;
using
::
com
::
sun
::
star
::
animations
::
XAnimationNode
;
using
::
com
::
sun
::
star
::
animations
::
XAnimationNodeSupplier
;
using
::
com
::
sun
::
star
::
animations
::
XAnimationNodeSupplier
;
...
@@ -433,7 +430,22 @@ SdrObject * SdGenericDrawPage::_CreateSdrObject( const Reference< drawing::XShap
...
@@ -433,7 +430,22 @@ SdrObject * SdGenericDrawPage::_CreateSdrObject( const Reference< drawing::XShap
{
{
SdDrawDocument
*
pDoc
=
(
SdDrawDocument
*
)
GetPage
()
->
GetModel
();
SdDrawDocument
*
pDoc
=
(
SdDrawDocument
*
)
GetPage
()
->
GetModel
();
if
(
pDoc
)
if
(
pDoc
)
pObj
->
NbcSetStyleSheet
(
pDoc
->
GetDefaultStyleSheet
(),
sal_True
);
{
// #119287# similar to the code in the SdrObject methods the graphic and ole
// SdrObjects need another default style than the rest, see task. Adding here, too.
// TTTT: Same as for #119287#: Can be removed in branch aw080 again
const
bool
bIsSdrGrafObj
(
0
!=
dynamic_cast
<
SdrGrafObj
*
>
(
pObj
));
const
bool
bIsSdrOle2Obj
(
0
!=
dynamic_cast
<
SdrOle2Obj
*
>
(
pObj
));
if
(
bIsSdrGrafObj
||
bIsSdrOle2Obj
)
{
pObj
->
NbcSetStyleSheet
(
pDoc
->
GetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj
(),
sal_True
);
}
else
{
pObj
->
NbcSetStyleSheet
(
pDoc
->
GetDefaultStyleSheet
(),
sal_True
);
}
}
}
}
return
pObj
;
return
pObj
;
}
}
...
...
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