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
5c3b0251
Kaydet (Commit)
5c3b0251
authored
Agu 13, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove code, hide's erAcks to-do code behind an ifdef
üst
684d499a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
17 deletions
+13
-17
lwpparastyle.cxx
lotuswordpro/source/filter/lwpparastyle.cxx
+0
-12
lwpparastyle.hxx
lotuswordpro/source/filter/lwpparastyle.hxx
+0
-2
zformat.hxx
svl/inc/svl/zformat.hxx
+8
-1
zforfind.cxx
svl/source/numbers/zforfind.cxx
+1
-1
zformat.cxx
svl/source/numbers/zformat.cxx
+4
-1
unusedcode.easy
unusedcode.easy
+0
-0
No files found.
lotuswordpro/source/filter/lwpparastyle.cxx
Dosyayı görüntüle @
5c3b0251
...
...
@@ -795,16 +795,4 @@ LwpTabOverride* LwpParaStyle::GetTabOverride() const
return
NULL
;
}
sal_Bool
LwpParaStyle
::
IsNumberRight
()
{
LwpAlignmentOverride
*
pAlign
=
GetAlignment
();
if
(
pAlign
)
{
LwpAlignmentOverride
::
AlignType
type
;
type
=
pAlign
->
GetAlignType
();
if
(
type
==
LwpAlignmentOverride
::
ALIGN_NUMERICRIGHT
)
return
sal_True
;
}
return
sal_False
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
lotuswordpro/source/filter/lwpparastyle.hxx
Dosyayı görüntüle @
5c3b0251
...
...
@@ -105,8 +105,6 @@ public:
LwpTabOverride
*
GetTabOverride
()
const
;
LwpBulletOverride
*
GetBulletOverride
()
const
;
LwpNumberingOverride
*
GetNumberingOverride
()
const
;
sal_Bool
IsNumberRight
();
public
:
static
void
ApplySubBorder
(
LwpBorderStuff
*
pBorderStuff
,
LwpBorderStuff
::
BorderType
eType
,
XFBorders
*
pXFBorders
);
//end
...
...
svl/inc/svl/zformat.hxx
Dosyayı görüntüle @
5c3b0251
...
...
@@ -101,14 +101,18 @@ class SvNumberNatNum
public
:
static
sal_uInt8
MapDBNumToNatNum
(
sal_uInt8
nDBNum
,
LanguageType
eLang
,
bool
bDate
);
#ifdef THE_FUTURE
static
sal_uInt8
MapNatNumToDBNum
(
sal_uInt8
nNatNum
,
LanguageType
eLang
,
bool
bDate
);
#endif
SvNumberNatNum
()
:
eLang
(
LANGUAGE_DONTKNOW
),
nNum
(
0
),
bDBNum
(
0
),
bDate
(
0
),
bSet
(
0
)
{}
bool
IsComplete
()
const
{
return
bSet
&&
eLang
!=
LANGUAGE_DONTKNOW
;
}
sal_uInt8
GetRawNum
()
const
{
return
nNum
;
}
sal_uInt8
GetNatNum
()
const
{
return
bDBNum
?
MapDBNumToNatNum
(
nNum
,
eLang
,
bDate
)
:
nNum
;
}
#ifdef THE_FUTURE
sal_uInt8
GetDBNum
()
const
{
return
bDBNum
?
nNum
:
MapNatNumToDBNum
(
nNum
,
eLang
,
bDate
);
}
#endif
LanguageType
GetLang
()
const
{
return
eLang
;
}
void
SetLang
(
LanguageType
e
)
{
eLang
=
e
;
}
void
SetNum
(
sal_uInt8
nNumber
,
bool
bDBNumber
)
...
...
@@ -434,6 +438,7 @@ public:
calling this method. */
void
SwitchToGregorianCalendar
(
const
String
&
rOrgCalendar
,
double
fOrgDateTime
)
const
;
#ifdef THE_FUTURE
/** Switches to the first specified calendar, if any, in subformat nNumFor
(0..3). Original calendar name and date/time returned, but only if
calendar switched and rOrgCalendar was empty.
...
...
@@ -450,7 +455,7 @@ public:
fOrgDateTime
,
NumFor
[
nNumFor
]
);
return
false
;
}
#endif
private
:
ImpSvNumFor
NumFor
[
4
];
// Array for the 4 subformats
String
sFormatstring
;
// The format code string
...
...
@@ -471,8 +476,10 @@ private:
SVL_DLLPRIVATE
bool
ImpIsOtherCalendar
(
const
ImpSvNumFor
&
rNumFor
)
const
;
#ifdef THE_FUTURE
SVL_DLLPRIVATE
bool
ImpSwitchToSpecifiedCalendar
(
String
&
rOrgCalendar
,
double
&
fOrgDateTime
,
const
ImpSvNumFor
&
rNumFor
)
const
;
#endif
#ifdef _ZFORMAT_CXX // ----- private implementation methods -----
...
...
svl/source/numbers/zforfind.cxx
Dosyayı görüntüle @
5c3b0251
...
...
@@ -1028,7 +1028,6 @@ bool ImpSvNumberInputScan::GetDateRef( double& fDays, sal_uInt16& nCounter,
}
if
(
bFormatTurn
)
{
#if 0
/* TODO:
We are currently not able to fully support a switch to another calendar during
input for the following reasons:
...
...
@@ -1055,6 +1054,7 @@ input for the following reasons:
calendar would have to be implemented. No problem.
*/
#ifdef THE_FUTURE
if
(
pFormat
->
IsOtherCalendar
(
nStringScanNumFor
)
)
pFormat
->
SwitchToOtherCalendar
(
aOrgCalendar
,
fOrgDateTime
);
else
...
...
svl/source/numbers/zformat.cxx
Dosyayı görüntüle @
5c3b0251
...
...
@@ -246,7 +246,7 @@ sal_uInt8 SvNumberNatNum::MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang
return
nNatNum
;
}
#ifdef THE_FUTURE
/* XXX NOTE: even though the MapNatNumToDBNum method is currently unused please
* don't remove it in case we'd have to use it for some obscure exports to
* Excel. */
...
...
@@ -329,6 +329,7 @@ sal_uInt8 SvNumberNatNum::MapNatNumToDBNum( sal_uInt8 nNatNum, LanguageType eLan
}
return
nDBNum
;
}
#endif
/***********************Funktionen SvNumFor******************************/
...
...
@@ -3032,6 +3033,7 @@ bool SvNumberformat::ImpFallBackToGregorianCalendar( String& rOrgCalendar, doubl
}
#ifdef THE_FUTURE
/* XXX NOTE: even if the ImpSwitchToSpecifiedCalendar method is currently
* unused please don't remove it, it would be needed by
* SwitchToSpecifiedCalendar(), see comment in
...
...
@@ -3059,6 +3061,7 @@ bool SvNumberformat::ImpSwitchToSpecifiedCalendar( String& rOrgCalendar,
}
return
false
;
}
#endif
// static
void
SvNumberformat
::
ImpAppendEraG
(
String
&
OutString
,
...
...
unusedcode.easy
Dosyayı görüntüle @
5c3b0251
This diff is collapsed.
Click to expand it.
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