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
21352f88
Kaydet (Commit)
21352f88
authored
Eki 20, 2011
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Sw styles cleanup: removed now unused methods
üst
6163c62a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
42 deletions
+0
-42
numrule.hxx
sw/inc/numrule.hxx
+0
-1
number.cxx
sw/source/core/doc/number.cxx
+0
-6
fontcfg.cxx
sw/source/ui/config/fontcfg.cxx
+0
-28
fontcfg.hxx
sw/source/ui/inc/fontcfg.hxx
+0
-5
unusedcode.easy
unusedcode.easy
+0
-2
No files found.
sw/inc/numrule.hxx
Dosyayı görüntüle @
21352f88
...
...
@@ -217,7 +217,6 @@ public:
static
char
*
GetOutlineRuleName
()
{
return
pDefOutlineName
;
}
static
sal_uInt16
GetNumIndent
(
sal_uInt8
nLvl
);
static
sal_uInt16
GetBullIndent
(
sal_uInt8
nLvl
);
SwNumRuleType
GetRuleType
()
const
{
return
eRuleType
;
}
void
SetRuleType
(
SwNumRuleType
eNew
)
{
eRuleType
=
eNew
;
...
...
sw/source/core/doc/number.cxx
Dosyayı görüntüle @
21352f88
...
...
@@ -175,12 +175,6 @@ sal_uInt16 SwNumRule::GetNumIndent( sal_uInt8 nLvl )
return
aDefNumIndents
[
nLvl
];
}
sal_uInt16
SwNumRule
::
GetBullIndent
(
sal_uInt8
nLvl
)
{
OSL_ENSURE
(
MAXLEVEL
>
nLvl
,
"NumLevel is out of range"
);
return
aDefNumIndents
[
nLvl
];
}
static
void
lcl_SetRuleChgd
(
SwTxtNode
&
rNd
,
sal_uInt8
nLevel
)
{
if
(
rNd
.
GetActualListLevel
()
==
nLevel
)
...
...
sw/source/ui/config/fontcfg.cxx
Dosyayı görüntüle @
21352f88
...
...
@@ -292,34 +292,6 @@ sal_Int32 SwStdFontConfig::GetDefaultHeightFor(sal_uInt16 nFontType, LanguageTyp
return
nRet
;
}
void
SwStdFontConfig
::
ChangeInt
(
sal_uInt16
nFontType
,
sal_Int32
nHeight
)
{
OSL_ENSURE
(
nFontType
<
DEF_FONT_COUNT
,
"invalid index in SwStdFontConfig::ChangInt()"
);
if
(
nFontType
<
DEF_FONT_COUNT
&&
nDefaultFontHeight
[
nFontType
]
!=
nHeight
)
{
SvtLinguOptions
aLinguOpt
;
SvtLinguConfig
().
GetOptions
(
aLinguOpt
);
sal_Int16
eWestern
=
MsLangId
::
resolveSystemLanguageByScriptType
(
aLinguOpt
.
nDefaultLanguage
,
::
com
::
sun
::
star
::
i18n
::
ScriptType
::
LATIN
),
eCJK
=
MsLangId
::
resolveSystemLanguageByScriptType
(
aLinguOpt
.
nDefaultLanguage_CJK
,
::
com
::
sun
::
star
::
i18n
::
ScriptType
::
ASIAN
),
eCTL
=
MsLangId
::
resolveSystemLanguageByScriptType
(
aLinguOpt
.
nDefaultLanguage_CTL
,
::
com
::
sun
::
star
::
i18n
::
ScriptType
::
COMPLEX
);
// #i92090# default height value sets back to -1
const
sal_Int32
nDefaultHeight
=
GetDefaultHeightFor
(
nFontType
,
lcl_LanguageOfType
(
nFontType
,
eWestern
,
eCJK
,
eCTL
));
const
bool
bIsDefaultHeight
=
nHeight
==
nDefaultHeight
;
if
(
bIsDefaultHeight
&&
nDefaultFontHeight
[
nFontType
]
>
0
)
{
SetModified
();
nDefaultFontHeight
[
nFontType
]
=
-
1
;
}
else
if
(
!
bIsDefaultHeight
&&
nHeight
!=
nDefaultFontHeight
[
nFontType
]
)
{
SetModified
();
nDefaultFontHeight
[
nFontType
]
=
nHeight
;
}
}
}
sal_Int32
SwStdFontConfig
::
GetFontHeight
(
sal_uInt8
nFont
,
sal_uInt8
nScriptType
,
LanguageType
eLang
)
{
OSL_ENSURE
(
nFont
+
FONT_PER_GROUP
*
nScriptType
<
DEF_FONT_COUNT
,
"wrong index in SwStdFontConfig::GetFontHeight()"
);
...
...
sw/source/ui/inc/fontcfg.hxx
Dosyayı görüntüle @
21352f88
...
...
@@ -79,8 +79,6 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem
}
}
void
ChangeInt
(
sal_uInt16
nFontType
,
sal_Int32
nHeight
);
public
:
SwStdFontConfig
();
~
SwStdFontConfig
();
...
...
@@ -109,9 +107,6 @@ public:
void
SetFontIndex
(
const
String
&
rSet
,
sal_uInt8
nFontGroup
)
{
ChangeString
(
FONT_INDEX
+
FONT_PER_GROUP
*
nFontGroup
,
rSet
);}
void
SetFontHeight
(
sal_Int32
nHeight
,
sal_uInt8
nFont
,
sal_uInt8
nScriptType
)
{
ChangeInt
(
nFont
+
FONT_PER_GROUP
*
nScriptType
,
nHeight
);}
sal_Int32
GetFontHeight
(
sal_uInt8
nFont
,
sal_uInt8
nScriptType
,
LanguageType
eLang
);
static
String
GetDefaultFor
(
sal_uInt16
nFontType
,
LanguageType
eLang
);
...
...
unusedcode.easy
Dosyayı görüntüle @
21352f88
...
...
@@ -1175,7 +1175,6 @@ SwLRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwLineRect
SwLoadOptPage::LinkStubCaptionHdl(void*, void*)
SwMailMergeChildWindow::GetChildWindowId()
SwModify::GetClientCount() const
SwNumRule::GetBullIndent(unsigned char)
SwOutlineNodes::Insert(SwNode* const&, unsigned short&)
SwOutlineNodes::Insert(SwNode* const*, unsigned short)
SwOutlineNodes::Insert(SwOutlineNodes const*, unsigned short, unsigned short)
...
...
@@ -1210,7 +1209,6 @@ SwSortTableLines::Insert(SwTableLine* const&, unsigned short&)
SwSortTableLines::Insert(SwTableLine* const*, unsigned short)
SwSortTableLines::Remove(SwTableLine* const&, unsigned short)
SwSortTableLines::Remove(unsigned short, unsigned short)
SwStdFontConfig::ChangeInt(unsigned short, int)
SwSyncChildWin::GetChildWindowId()
SwTOXMarks::DeleteAndDestroy(unsigned short, unsigned short)
SwTOXSelectTabPage::LinkStubTOXAreaHdl(void*, void*)
...
...
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