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
a4c222af
Kaydet (Commit)
a4c222af
authored
Nis 12, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_Int32
Change-Id: I163c88ff2d6e8ac2ac14b7ff585bf09f6262270e
üst
bafc6196
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
editsh.hxx
sw/inc/editsh.hxx
+1
-1
editsh.cxx
sw/source/core/edit/editsh.cxx
+1
-1
drpcps.cxx
sw/source/ui/chrdlg/drpcps.cxx
+5
-5
No files found.
sw/inc/editsh.hxx
Dosyayı görüntüle @
a4c222af
...
@@ -790,7 +790,7 @@ public:
...
@@ -790,7 +790,7 @@ public:
bool
bKeepSelection
=
false
);
bool
bKeepSelection
=
false
);
void
GetINetAttrs
(
SwGetINetAttrs
&
rArr
);
void
GetINetAttrs
(
SwGetINetAttrs
&
rArr
);
OUString
GetDropTxt
(
const
sal_
uInt16
nChars
)
const
;
OUString
GetDropTxt
(
const
sal_
Int32
nChars
)
const
;
void
ReplaceDropTxt
(
const
OUString
&
rStr
,
SwPaM
*
pPaM
=
NULL
);
void
ReplaceDropTxt
(
const
OUString
&
rStr
,
SwPaM
*
pPaM
=
NULL
);
/** May an outline be moved or copied?
/** May an outline be moved or copied?
...
...
sw/source/core/edit/editsh.cxx
Dosyayı görüntüle @
a4c222af
...
@@ -438,7 +438,7 @@ sal_uInt16 SwEditShell::GetRefMarks( std::vector<OUString>* pStrings ) const
...
@@ -438,7 +438,7 @@ sal_uInt16 SwEditShell::GetRefMarks( std::vector<OUString>* pStrings ) const
return
GetDoc
()
->
GetRefMarks
(
pStrings
);
return
GetDoc
()
->
GetRefMarks
(
pStrings
);
}
}
OUString
SwEditShell
::
GetDropTxt
(
const
sal_
uInt16
nChars
)
const
OUString
SwEditShell
::
GetDropTxt
(
const
sal_
Int32
nChars
)
const
{
{
/*
/*
* pb: made changes for #i74939#
* pb: made changes for #i74939#
...
...
sw/source/ui/chrdlg/drpcps.cxx
Dosyayı görüntüle @
a4c222af
...
@@ -181,10 +181,10 @@ void SwDropCapsPict::InitPrinter( void )
...
@@ -181,10 +181,10 @@ void SwDropCapsPict::InitPrinter( void )
}
}
// Create Default-String from character-count (A, AB, ABC, ...)
// Create Default-String from character-count (A, AB, ABC, ...)
OUString
GetDefaultString
(
sal_
uInt16
nChars
)
OUString
GetDefaultString
(
sal_
Int32
nChars
)
{
{
OUString
aStr
;
OUString
aStr
;
for
(
sal_
uInt16
i
=
0
;
i
<
nChars
;
i
++
)
for
(
sal_
Int32
i
=
0
;
i
<
nChars
;
i
++
)
aStr
+=
OUString
((
char
)
(
i
+
65
));
aStr
+=
OUString
((
char
)
(
i
+
65
));
return
aStr
;
return
aStr
;
}
}
...
@@ -620,7 +620,7 @@ void SwDropCapsPage::Reset(const SfxItemSet *rSet)
...
@@ -620,7 +620,7 @@ void SwDropCapsPage::Reset(const SfxItemSet *rSet)
// Enable controls
// Enable controls
m_pDropCapsBox
->
Check
(
aFmtDrop
.
GetLines
()
>
1
);
m_pDropCapsBox
->
Check
(
aFmtDrop
.
GetLines
()
>
1
);
const
sal_
uInt16
nVal
=
sal_uInt16
(
m_pDropCapsField
->
GetValue
());
const
sal_
Int32
nVal
=
static_cast
<
sal_Int32
>
(
m_pDropCapsField
->
GetValue
());
if
(
bFormat
)
if
(
bFormat
)
m_pTextEdit
->
SetText
(
GetDefaultString
(
nVal
));
m_pTextEdit
->
SetText
(
GetDefaultString
(
nVal
));
else
else
...
@@ -688,8 +688,8 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
...
@@ -688,8 +688,8 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
// set text if applicable
// set text if applicable
if
(
pEdit
==
m_pDropCapsField
)
if
(
pEdit
==
m_pDropCapsField
)
{
{
const
sal_
uInt16
nVal
=
!
m_pWholeWordCB
->
IsChecked
()
const
sal_
Int32
nVal
=
!
m_pWholeWordCB
->
IsChecked
()
?
(
sal_uInt16
)
m_pDropCapsField
->
GetValue
(
)
?
static_cast
<
sal_Int32
>
(
m_pDropCapsField
->
GetValue
()
)
:
0
;
:
0
;
bool
bSetText
=
false
;
bool
bSetText
=
false
;
...
...
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