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
a8b6fc3b
Kaydet (Commit)
a8b6fc3b
authored
Haz 19, 2006
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS warnings01 (1.5.220); FILE MERGED
2006/04/24 09:54:28 os 1.5.220.1: warnings removed
üst
61ec41c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
xmlcnitm.cxx
svx/source/items/xmlcnitm.cxx
+15
-15
No files found.
svx/source/items/xmlcnitm.cxx
Dosyayı görüntüle @
a8b6fc3b
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: xmlcnitm.cxx,v $
* $RCSfile: xmlcnitm.cxx,v $
*
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
*
* last change: $Author:
rt $ $Date: 2005-09-08 23:42:11
$
* last change: $Author:
hr $ $Date: 2006-06-19 16:16:47
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -58,8 +58,8 @@ using namespace ::com::sun::star::xml;
...
@@ -58,8 +58,8 @@ using namespace ::com::sun::star::xml;
TYPEINIT1
(
SvXMLAttrContainerItem
,
SfxPoolItem
);
TYPEINIT1
(
SvXMLAttrContainerItem
,
SfxPoolItem
);
SvXMLAttrContainerItem
::
SvXMLAttrContainerItem
(
USHORT
nWhich
)
:
SvXMLAttrContainerItem
::
SvXMLAttrContainerItem
(
USHORT
_
nWhich
)
:
SfxPoolItem
(
nWhich
)
SfxPoolItem
(
_
nWhich
)
{
{
pImpl
=
new
SvXMLAttrContainerData
;
pImpl
=
new
SvXMLAttrContainerData
;
}
}
...
@@ -83,7 +83,7 @@ int SvXMLAttrContainerItem::operator==( const SfxPoolItem& rItem ) const
...
@@ -83,7 +83,7 @@ int SvXMLAttrContainerItem::operator==( const SfxPoolItem& rItem ) const
return
*
pImpl
==
*
((
const
SvXMLAttrContainerItem
&
)
rItem
).
pImpl
;
return
*
pImpl
==
*
((
const
SvXMLAttrContainerItem
&
)
rItem
).
pImpl
;
}
}
int
SvXMLAttrContainerItem
::
Compare
(
const
SfxPoolItem
&
rWith
)
const
int
SvXMLAttrContainerItem
::
Compare
(
const
SfxPoolItem
&
/*rWith*/
)
const
{
{
DBG_ASSERT
(
!
this
,
"not yet implemented"
);
DBG_ASSERT
(
!
this
,
"not yet implemented"
);
...
@@ -91,22 +91,22 @@ int SvXMLAttrContainerItem::Compare( const SfxPoolItem &rWith ) const
...
@@ -91,22 +91,22 @@ int SvXMLAttrContainerItem::Compare( const SfxPoolItem &rWith ) const
}
}
SfxItemPresentation
SvXMLAttrContainerItem
::
GetPresentation
(
SfxItemPresentation
SvXMLAttrContainerItem
::
GetPresentation
(
SfxItemPresentation
ePresentation
,
SfxItemPresentation
/*ePresentation*/
,
SfxMapUnit
eCoreMetric
,
SfxMapUnit
/*eCoreMetric*/
,
SfxMapUnit
ePresentationMetric
,
SfxMapUnit
/*ePresentationMetric*/
,
XubString
&
rText
,
XubString
&
/*rText*/
,
const
IntlWrapper
*
pIntlWrapper
)
const
const
IntlWrapper
*
/
*
pIntlWrapper
*/
)
const
{
{
return
SFX_ITEM_PRESENTATION_NONE
;
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
USHORT
SvXMLAttrContainerItem
::
GetVersion
(
USHORT
nFileFormatVersion
)
const
USHORT
SvXMLAttrContainerItem
::
GetVersion
(
USHORT
/*nFileFormatVersion*/
)
const
{
{
// This item should never be stored
// This item should never be stored
return
USHRT_MAX
;
return
USHRT_MAX
;
}
}
BOOL
SvXMLAttrContainerItem
::
QueryValue
(
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
BYTE
nMemberId
)
const
BOOL
SvXMLAttrContainerItem
::
QueryValue
(
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
BYTE
/*nMemberId*/
)
const
{
{
Reference
<
XNameContainer
>
xContainer
=
Reference
<
XNameContainer
>
xContainer
=
new
SvUnoAttributeContainer
(
new
SvXMLAttrContainerData
(
*
pImpl
)
);
new
SvUnoAttributeContainer
(
new
SvXMLAttrContainerData
(
*
pImpl
)
);
...
@@ -114,7 +114,7 @@ BOOL SvXMLAttrContainerItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE n
...
@@ -114,7 +114,7 @@ BOOL SvXMLAttrContainerItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE n
rVal
.
setValue
(
&
xContainer
,
::
getCppuType
((
Reference
<
XNameContainer
>*
)
0
)
);
rVal
.
setValue
(
&
xContainer
,
::
getCppuType
((
Reference
<
XNameContainer
>*
)
0
)
);
return
TRUE
;
return
TRUE
;
}
}
BOOL
SvXMLAttrContainerItem
::
PutValue
(
const
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
BYTE
nMemberId
)
BOOL
SvXMLAttrContainerItem
::
PutValue
(
const
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
BYTE
/*nMemberId*/
)
{
{
Reference
<
XInterface
>
xRef
;
Reference
<
XInterface
>
xRef
;
SvUnoAttributeContainer
*
pContainer
=
NULL
;
SvUnoAttributeContainer
*
pContainer
=
NULL
;
...
@@ -124,7 +124,7 @@ BOOL SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
...
@@ -124,7 +124,7 @@ BOOL SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
xRef
=
*
(
Reference
<
XInterface
>*
)
rVal
.
getValue
();
xRef
=
*
(
Reference
<
XInterface
>*
)
rVal
.
getValue
();
Reference
<
XUnoTunnel
>
xTunnel
(
xRef
,
UNO_QUERY
);
Reference
<
XUnoTunnel
>
xTunnel
(
xRef
,
UNO_QUERY
);
if
(
xTunnel
.
is
()
)
if
(
xTunnel
.
is
()
)
pContainer
=
(
SvUnoAttributeContainer
*
)
xTunnel
->
getSomething
(
SvUnoAttributeContainer
::
getUnoTunnelId
());
pContainer
=
(
SvUnoAttributeContainer
*
)
(
ULONG
)
xTunnel
->
getSomething
(
SvUnoAttributeContainer
::
getUnoTunnelId
());
}
}
if
(
pContainer
)
if
(
pContainer
)
...
@@ -159,7 +159,7 @@ BOOL SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
...
@@ -159,7 +159,7 @@ BOOL SvXMLAttrContainerItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
pData
=
(
AttributeData
*
)
aAny
.
getValue
();
pData
=
(
AttributeData
*
)
aAny
.
getValue
();
USHORT
pos
=
aName
.
indexOf
(
sal_Unicode
(
':'
)
);
USHORT
pos
=
aName
.
indexOf
(
sal_Unicode
(
':'
)
);
if
(
pos
!=
-
1
)
if
(
pos
!=
USHRT_MAX
)
{
{
const
OUString
aPrefix
(
aName
.
copy
(
0
,
pos
));
const
OUString
aPrefix
(
aName
.
copy
(
0
,
pos
));
const
OUString
aLName
(
aName
.
copy
(
pos
+
1
));
const
OUString
aLName
(
aName
.
copy
(
pos
+
1
));
...
...
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