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
fd43267e
Kaydet (Commit)
fd43267e
authored
Eki 12, 2006
tarafından
Oliver Bolte
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS sb59 (1.5.62); FILE MERGED
2006/08/03 13:51:52 cl 1.5.62.1: removed compiler warnings
üst
d654cae7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
optitems.cxx
svx/source/options/optitems.cxx
+16
-14
No files found.
svx/source/options/optitems.cxx
Dosyayı görüntüle @
fd43267e
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: optitems.cxx,v $
* $RCSfile: optitems.cxx,v $
*
*
* $Revision: 1.
6
$
* $Revision: 1.
7
$
*
*
* last change: $Author: obo $ $Date: 2006-
09-17 05:29:29
$
* last change: $Author: obo $ $Date: 2006-
10-12 13:00:31
$
*
*
* 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.
...
@@ -70,10 +70,10 @@ TYPEINIT1(SfxHyphenRegionItem, SfxPoolItem);
...
@@ -70,10 +70,10 @@ TYPEINIT1(SfxHyphenRegionItem, SfxPoolItem);
SfxSpellCheckItem
::
SfxSpellCheckItem
SfxSpellCheckItem
::
SfxSpellCheckItem
(
(
Reference
<
XSpellChecker1
>
&
xChecker
,
Reference
<
XSpellChecker1
>
&
xChecker
,
sal_uInt16
nWhich
sal_uInt16
_
nWhich
)
:
)
:
SfxPoolItem
(
nWhich
)
SfxPoolItem
(
_
nWhich
)
{
{
xSpellCheck
=
xChecker
;
xSpellCheck
=
xChecker
;
}
}
...
@@ -92,8 +92,8 @@ SfxSpellCheckItem::SfxSpellCheckItem( const SfxSpellCheckItem& rItem ) :
...
@@ -92,8 +92,8 @@ SfxSpellCheckItem::SfxSpellCheckItem( const SfxSpellCheckItem& rItem ) :
SfxItemPresentation
SfxSpellCheckItem
::
GetPresentation
SfxItemPresentation
SfxSpellCheckItem
::
GetPresentation
(
(
SfxItemPresentation
ePres
,
SfxItemPresentation
ePres
,
SfxMapUnit
eCoreUnit
,
SfxMapUnit
,
SfxMapUnit
ePresUnit
,
SfxMapUnit
,
String
&
rText
,
String
&
rText
,
const
IntlWrapper
*
const
IntlWrapper
*
)
const
)
const
...
@@ -109,8 +109,9 @@ SfxItemPresentation SfxSpellCheckItem::GetPresentation
...
@@ -109,8 +109,9 @@ SfxItemPresentation SfxSpellCheckItem::GetPresentation
{
{
return
ePres
;
return
ePres
;
}
}
default
:
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
...
@@ -170,8 +171,8 @@ SfxPoolItem* SfxHyphenRegionItem::Clone( SfxItemPool* ) const
...
@@ -170,8 +171,8 @@ SfxPoolItem* SfxHyphenRegionItem::Clone( SfxItemPool* ) const
SfxItemPresentation
SfxHyphenRegionItem
::
GetPresentation
SfxItemPresentation
SfxHyphenRegionItem
::
GetPresentation
(
(
SfxItemPresentation
ePres
,
SfxItemPresentation
ePres
,
SfxMapUnit
eCoreUnit
,
SfxMapUnit
,
SfxMapUnit
ePresUnit
,
SfxMapUnit
,
String
&
rText
,
String
&
rText
,
const
IntlWrapper
*
const
IntlWrapper
*
)
const
)
const
...
@@ -192,19 +193,20 @@ SfxItemPresentation SfxHyphenRegionItem::GetPresentation
...
@@ -192,19 +193,20 @@ SfxItemPresentation SfxHyphenRegionItem::GetPresentation
rText
+=
String
(
ResId
(
RID_SVXITEMS_HYPHEN_MINTRAIL
,
DIALOG_MGR
()
)
);
rText
+=
String
(
ResId
(
RID_SVXITEMS_HYPHEN_MINTRAIL
,
DIALOG_MGR
()
)
);
return
ePres
;
return
ePres
;
}
}
default
:
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
SfxPoolItem
*
SfxHyphenRegionItem
::
Create
(
SvStream
&
rStrm
,
sal_uInt16
)
const
SfxPoolItem
*
SfxHyphenRegionItem
::
Create
(
SvStream
&
rStrm
,
sal_uInt16
)
const
{
{
sal_uInt8
nMinLead
,
nMinTrail
;
sal_uInt8
_nMinLead
,
_
nMinTrail
;
rStrm
>>
nMinLead
>>
nMinTrail
;
rStrm
>>
_nMinLead
>>
_
nMinTrail
;
SfxHyphenRegionItem
*
pAttr
=
new
SfxHyphenRegionItem
(
Which
()
);
SfxHyphenRegionItem
*
pAttr
=
new
SfxHyphenRegionItem
(
Which
()
);
pAttr
->
GetMinLead
()
=
nMinLead
;
pAttr
->
GetMinLead
()
=
_
nMinLead
;
pAttr
->
GetMinTrail
()
=
nMinTrail
;
pAttr
->
GetMinTrail
()
=
_
nMinTrail
;
return
pAttr
;
return
pAttr
;
}
}
...
...
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