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
0a8d96b7
Kaydet (Commit)
0a8d96b7
authored
Haz 11, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SdrCustomShapeEngine/DataItem are just SfxStringItem
Change-Id: I94f8c268781f5a5b4da9da78af183adefc0c2925
üst
fe51d68f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
25 deletions
+5
-25
sdasitm.hxx
include/svx/sdasitm.hxx
+0
-12
customshapeitem.cxx
svx/source/items/customshapeitem.cxx
+0
-8
svdattr.cxx
svx/source/svdraw/svdattr.cxx
+2
-2
svdoashp.cxx
svx/source/svdraw/svdoashp.cxx
+3
-3
No files found.
include/svx/sdasitm.hxx
Dosyayı görüntüle @
0a8d96b7
...
@@ -31,18 +31,6 @@
...
@@ -31,18 +31,6 @@
#include <map>
#include <map>
#include <unordered_map>
#include <unordered_map>
class
SdrCustomShapeEngineItem
:
public
SfxStringItem
{
public
:
SdrCustomShapeEngineItem
();
};
class
SdrCustomShapeDataItem
:
public
SfxStringItem
{
public
:
SdrCustomShapeDataItem
();
};
class
SVX_DLLPUBLIC
SdrCustomShapeGeometryItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
SdrCustomShapeGeometryItem
:
public
SfxPoolItem
{
{
public
:
public
:
...
...
svx/source/items/customshapeitem.cxx
Dosyayı görüntüle @
0a8d96b7
...
@@ -23,14 +23,6 @@
...
@@ -23,14 +23,6 @@
using
namespace
::
std
;
using
namespace
::
std
;
using
namespace
com
::
sun
::
star
;
using
namespace
com
::
sun
::
star
;
SdrCustomShapeEngineItem
::
SdrCustomShapeEngineItem
()
:
SfxStringItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
,
""
)
{}
SdrCustomShapeDataItem
::
SdrCustomShapeDataItem
()
:
SfxStringItem
(
SDRATTR_CUSTOMSHAPE_DATA
,
""
)
{}
TYPEINIT1_FACTORY
(
SdrCustomShapeGeometryItem
,
SfxPoolItem
,
new
SdrCustomShapeGeometryItem
);
TYPEINIT1_FACTORY
(
SdrCustomShapeGeometryItem
,
SfxPoolItem
,
new
SdrCustomShapeGeometryItem
);
SdrCustomShapeGeometryItem
::
SdrCustomShapeGeometryItem
()
SdrCustomShapeGeometryItem
::
SdrCustomShapeGeometryItem
()
...
...
svx/source/svdraw/svdattr.cxx
Dosyayı görüntüle @
0a8d96b7
...
@@ -302,8 +302,8 @@ SdrItemPool::SdrItemPool(
...
@@ -302,8 +302,8 @@ SdrItemPool::SdrItemPool(
mppLocalPoolDefaults
[
SDRATTR_3DSCENE_LIGHTDIRECTION_8
-
SDRATTR_START
]
=
new
SvxB3DVectorItem
(
SDRATTR_3DSCENE_LIGHTDIRECTION_8
,
basegfx
::
B3DVector
(
0.0
,
0.0
,
1.0
));
mppLocalPoolDefaults
[
SDRATTR_3DSCENE_LIGHTDIRECTION_8
-
SDRATTR_START
]
=
new
SvxB3DVectorItem
(
SDRATTR_3DSCENE_LIGHTDIRECTION_8
,
basegfx
::
B3DVector
(
0.0
,
0.0
,
1.0
));
mppLocalPoolDefaults
[
SDRATTR_3DSCENE_SHADOW_SLANT
-
SDRATTR_START
]
=
new
SfxUInt16Item
(
SDRATTR_3DSCENE_SHADOW_SLANT
,
0
);
mppLocalPoolDefaults
[
SDRATTR_3DSCENE_SHADOW_SLANT
-
SDRATTR_START
]
=
new
SfxUInt16Item
(
SDRATTR_3DSCENE_SHADOW_SLANT
,
0
);
mppLocalPoolDefaults
[
SDRATTR_3DSCENE_SHADE_MODE
-
SDRATTR_START
]
=
new
Svx3DShadeModeItem
;
mppLocalPoolDefaults
[
SDRATTR_3DSCENE_SHADE_MODE
-
SDRATTR_START
]
=
new
Svx3DShadeModeItem
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_ENGINE
-
SDRATTR_START
]
=
new
S
drCustomShapeEngineItem
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_ENGINE
-
SDRATTR_START
]
=
new
S
fxStringItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
,
""
)
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_DATA
-
SDRATTR_START
]
=
new
S
drCustomShapeDataItem
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_DATA
-
SDRATTR_START
]
=
new
S
fxStringItem
(
SDRATTR_CUSTOMSHAPE_DATA
,
""
)
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_GEOMETRY
-
SDRATTR_START
]
=
new
SdrCustomShapeGeometryItem
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_GEOMETRY
-
SDRATTR_START
]
=
new
SdrCustomShapeGeometryItem
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_REPLACEMENT_URL
-
SDRATTR_START
]
=
new
SdrCustomShapeReplacementURLItem
;
mppLocalPoolDefaults
[
SDRATTR_CUSTOMSHAPE_REPLACEMENT_URL
-
SDRATTR_START
]
=
new
SdrCustomShapeReplacementURLItem
;
...
...
svx/source/svdraw/svdoashp.cxx
Dosyayı görüntüle @
0a8d96b7
...
@@ -171,7 +171,7 @@ static MSO_SPT ImpGetCustomShapeType( const SdrObjCustomShape& rCustoShape )
...
@@ -171,7 +171,7 @@ static MSO_SPT ImpGetCustomShapeType( const SdrObjCustomShape& rCustoShape )
{
{
MSO_SPT
eRetValue
=
mso_sptNil
;
MSO_SPT
eRetValue
=
mso_sptNil
;
OUString
aEngine
(
static_cast
<
const
S
drCustomShapeEngine
Item
&>
(
rCustoShape
.
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)
).
GetValue
()
);
OUString
aEngine
(
static_cast
<
const
S
fxString
Item
&>
(
rCustoShape
.
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)
).
GetValue
()
);
if
(
aEngine
.
isEmpty
()
||
aEngine
==
"com.sun.star.drawing.EnhancedCustomShapeEngine"
)
if
(
aEngine
.
isEmpty
()
||
aEngine
==
"com.sun.star.drawing.EnhancedCustomShapeEngine"
)
{
{
OUString
sShapeType
;
OUString
sShapeType
;
...
@@ -412,7 +412,7 @@ Reference< XCustomShapeEngine > SdrObjCustomShape::GetCustomShapeEngine() const
...
@@ -412,7 +412,7 @@ Reference< XCustomShapeEngine > SdrObjCustomShape::GetCustomShapeEngine() const
if
(
mxCustomShapeEngine
.
is
())
if
(
mxCustomShapeEngine
.
is
())
return
mxCustomShapeEngine
;
return
mxCustomShapeEngine
;
OUString
aEngine
(
static_cast
<
const
S
drCustomShapeEngine
Item
&>
(
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)).
GetValue
());
OUString
aEngine
(
static_cast
<
const
S
fxString
Item
&>
(
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)).
GetValue
());
if
(
aEngine
.
isEmpty
()
)
if
(
aEngine
.
isEmpty
()
)
aEngine
=
"com.sun.star.drawing.EnhancedCustomShapeEngine"
;
aEngine
=
"com.sun.star.drawing.EnhancedCustomShapeEngine"
;
...
@@ -3255,7 +3255,7 @@ void SdrObjCustomShape::impl_setUnoShape(const uno::Reference<uno::XInterface>&
...
@@ -3255,7 +3255,7 @@ void SdrObjCustomShape::impl_setUnoShape(const uno::Reference<uno::XInterface>&
OUString
SdrObjCustomShape
::
GetCustomShapeName
()
OUString
SdrObjCustomShape
::
GetCustomShapeName
()
{
{
OUString
sShapeName
;
OUString
sShapeName
;
OUString
aEngine
(
static_cast
<
const
S
drCustomShapeEngine
Item
&>
(
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)).
GetValue
()
);
OUString
aEngine
(
static_cast
<
const
S
fxString
Item
&>
(
GetMergedItem
(
SDRATTR_CUSTOMSHAPE_ENGINE
)).
GetValue
()
);
if
(
aEngine
.
isEmpty
()
if
(
aEngine
.
isEmpty
()
||
aEngine
==
"com.sun.star.drawing.EnhancedCustomShapeEngine"
)
||
aEngine
==
"com.sun.star.drawing.EnhancedCustomShapeEngine"
)
{
{
...
...
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