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
083b54c7
Kaydet (Commit)
083b54c7
authored
May 12, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: More renaming.
Change-Id: I7f8d0d7285a95899484ec972ae38bdb8543ae2e1
üst
2b999dd6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
content.hxx
sw/source/uibase/inc/content.hxx
+2
-2
numfmtlb.cxx
sw/source/uibase/utlui/numfmtlb.cxx
+15
-15
No files found.
sw/source/uibase/inc/content.hxx
Dosyayı görüntüle @
083b54c7
...
...
@@ -95,10 +95,10 @@ class SwPostItContent : public SwContent
public
:
SwPostItContent
(
const
SwContentType
*
pCnt
,
const
OUString
&
rName
,
const
SwFmtFld
*
pField
,
const
SwFmtFld
*
pF
ormatF
ield
,
long
nYPos
)
:
SwContent
(
pCnt
,
rName
,
nYPos
)
,
pFld
(
pField
)
,
pFld
(
pF
ormatF
ield
)
,
pRedline
(
NULL
)
,
mbPostIt
(
true
)
{}
...
...
sw/source/uibase/utlui/numfmtlb.cxx
Dosyayı görüntüle @
083b54c7
...
...
@@ -52,7 +52,7 @@ using namespace ::com::sun::star::lang;
/**
* Description:
* nFormatType: Display the formats of this Type
* nDef
Fmt:
Select this format and possibly insert it
* nDef
aultFormat:
Select this format and possibly insert it
*/
NumFormatListBox
::
NumFormatListBox
(
vcl
::
Window
*
pWin
,
WinBits
nStyle
)
:
...
...
@@ -270,11 +270,11 @@ void NumFormatListBox::SetFormatType(const short nFormatType)
}
}
void
NumFormatListBox
::
SetDefFormat
(
const
sal_uLong
nDef
Fm
t
)
void
NumFormatListBox
::
SetDefFormat
(
const
sal_uLong
nDef
aultForma
t
)
{
if
(
nDef
Fm
t
==
ULONG_MAX
)
if
(
nDef
aultForma
t
==
ULONG_MAX
)
{
nDefFormat
=
nDef
Fm
t
;
nDefFormat
=
nDef
aultForma
t
;
return
;
}
...
...
@@ -291,11 +291,11 @@ void NumFormatListBox::SetDefFormat(const sal_uLong nDefFmt)
pFormatter
=
rSh
.
GetNumberFormatter
();
}
short
nType
=
pFormatter
->
GetType
(
nDef
Fm
t
);
short
nType
=
pFormatter
->
GetType
(
nDef
aultForma
t
);
SetFormatType
(
nType
);
sal_uLong
nFormat
=
pFormatter
->
GetFormatForLanguageIfBuiltIn
(
nDef
Fm
t
,
eCurLanguage
);
sal_uLong
nFormat
=
pFormatter
->
GetFormatForLanguageIfBuiltIn
(
nDef
aultForma
t
,
eCurLanguage
);
for
(
sal_Int32
i
=
0
;
i
<
GetEntryCount
();
i
++
)
{
...
...
@@ -315,11 +315,11 @@ void NumFormatListBox::SetDefFormat(const sal_uLong nDefFmt)
if
(
nType
==
css
::
util
::
NumberFormat
::
TEXT
)
{
pFormatter
->
GetOutputString
(
"
\"
ABC
\"
"
,
nDef
Fm
t
,
sValue
,
&
pCol
);
pFormatter
->
GetOutputString
(
"
\"
ABC
\"
"
,
nDef
aultForma
t
,
sValue
,
&
pCol
);
}
else
{
pFormatter
->
GetOutputString
(
fValue
,
nDef
Fm
t
,
sValue
,
&
pCol
);
pFormatter
->
GetOutputString
(
fValue
,
nDef
aultForma
t
,
sValue
,
&
pCol
);
}
sal_Int32
nPos
=
0
;
...
...
@@ -337,15 +337,15 @@ void NumFormatListBox::SetDefFormat(const sal_uLong nDefFmt)
sal_uLong
nLongDateFormatForLanguage
=
pFormatter
->
GetFormatForLanguageIfBuiltIn
(
nSysLongDateFmt
,
LANGUAGE_SYSTEM
);
if
(
nDef
Fm
t
==
nSysNumFmt
||
nDef
Fm
t
==
nSysShortDateFmt
||
nDef
Fm
t
==
nSysLongDateFmt
||
nDef
aultForma
t
==
nSysNumFmt
||
nDef
aultForma
t
==
nSysShortDateFmt
||
nDef
aultForma
t
==
nSysLongDateFmt
||
(
bSysLang
&&
(
nDef
Fm
t
==
nNumFormatForLanguage
||
nDef
Fm
t
==
nShortDateFormatForLanguage
||
nDef
Fm
t
==
nLongDateFormatForLanguage
nDef
aultForma
t
==
nNumFormatForLanguage
||
nDef
aultForma
t
==
nShortDateFormatForLanguage
||
nDef
aultForma
t
==
nLongDateFormatForLanguage
)
)
)
...
...
@@ -354,7 +354,7 @@ void NumFormatListBox::SetDefFormat(const sal_uLong nDefFmt)
}
nPos
=
InsertEntry
(
sValue
,
nPos
);
// Insert as first numeric entry
SetEntryData
(
nPos
,
reinterpret_cast
<
void
*>
(
nDef
Fm
t
));
SetEntryData
(
nPos
,
reinterpret_cast
<
void
*>
(
nDef
aultForma
t
));
SelectEntryPos
(
nPos
);
nDefFormat
=
GetFormat
();
}
...
...
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