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
479df22d
Kaydet (Commit)
479df22d
authored
Kas 18, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: SdrLayerNameItem etc. missing Clone overrides
Change-Id: I26ca8070d9c9607a475267ef8780f9013dfd4dcf
üst
392c871c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
sxlayitm.hxx
svx/inc/sxlayitm.hxx
+2
-0
svdattr.cxx
svx/source/svdraw/svdattr.cxx
+9
-0
No files found.
svx/inc/sxlayitm.hxx
Dosyayı görüntüle @
479df22d
...
@@ -29,6 +29,7 @@ public:
...
@@ -29,6 +29,7 @@ public:
SdrLayerIdItem
(
sal_uInt16
nId
=
0
)
:
SfxUInt16Item
(
SDRATTR_LAYERID
,
nId
)
{}
SdrLayerIdItem
(
sal_uInt16
nId
=
0
)
:
SfxUInt16Item
(
SDRATTR_LAYERID
,
nId
)
{}
SdrLayerIdItem
(
SvStream
&
rIn
)
:
SfxUInt16Item
(
SDRATTR_LAYERID
,
rIn
)
{}
SdrLayerIdItem
(
SvStream
&
rIn
)
:
SfxUInt16Item
(
SDRATTR_LAYERID
,
rIn
)
{}
SdrLayerID
GetValue
()
const
{
return
(
SdrLayerID
)
SfxUInt16Item
::
GetValue
();
}
SdrLayerID
GetValue
()
const
{
return
(
SdrLayerID
)
SfxUInt16Item
::
GetValue
();
}
virtual
SfxPoolItem
*
Clone
(
SfxItemPool
*
pPool
=
nullptr
)
const
override
;
};
};
class
SdrLayerNameItem
:
public
SfxStringItem
{
class
SdrLayerNameItem
:
public
SfxStringItem
{
...
@@ -36,6 +37,7 @@ public:
...
@@ -36,6 +37,7 @@ public:
SdrLayerNameItem
()
:
SfxStringItem
()
{
SetWhich
(
SDRATTR_LAYERNAME
);
}
SdrLayerNameItem
()
:
SfxStringItem
()
{
SetWhich
(
SDRATTR_LAYERNAME
);
}
SdrLayerNameItem
(
const
OUString
&
rStr
)
:
SfxStringItem
(
SDRATTR_LAYERNAME
,
rStr
)
{}
SdrLayerNameItem
(
const
OUString
&
rStr
)
:
SfxStringItem
(
SDRATTR_LAYERNAME
,
rStr
)
{}
SdrLayerNameItem
(
SvStream
&
rIn
)
:
SfxStringItem
(
SDRATTR_LAYERNAME
,
rIn
)
{}
SdrLayerNameItem
(
SvStream
&
rIn
)
:
SfxStringItem
(
SDRATTR_LAYERNAME
,
rIn
)
{}
virtual
SfxPoolItem
*
Clone
(
SfxItemPool
*
pPool
=
nullptr
)
const
override
;
};
};
#endif
#endif
...
...
svx/source/svdraw/svdattr.cxx
Dosyayı görüntüle @
479df22d
...
@@ -2277,5 +2277,14 @@ SfxPoolItem* SdrCustomShapeReplacementURLItem::Clone( SfxItemPool*) const
...
@@ -2277,5 +2277,14 @@ SfxPoolItem* SdrCustomShapeReplacementURLItem::Clone( SfxItemPool*) const
return
new
SdrCustomShapeReplacementURLItem
(
*
this
);
return
new
SdrCustomShapeReplacementURLItem
(
*
this
);
}
}
SfxPoolItem
*
SdrLayerIdItem
::
Clone
(
SfxItemPool
*
/*pPool*/
)
const
{
return
new
SdrLayerIdItem
(
*
this
);
}
SfxPoolItem
*
SdrLayerNameItem
::
Clone
(
SfxItemPool
*
/*pPool*/
)
const
{
return
new
SdrLayerNameItem
(
*
this
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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