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
216879f1
Kaydet (Commit)
216879f1
authored
Kas 20, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedfields in cui
Change-Id: I92d7c3e2dde0808304ee3877ba1fbd13ee63eb38
üst
048f3960
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
28 deletions
+9
-28
cfgutil.cxx
cui/source/customize/cfgutil.cxx
+0
-2
SpellAttrib.hxx
cui/source/dialogs/SpellAttrib.hxx
+0
-3
SpellDialog.cxx
cui/source/dialogs/SpellDialog.cxx
+2
-3
cfg.hxx
cui/source/inc/cfg.hxx
+0
-2
scriptdlg.hxx
cui/source/inc/scriptdlg.hxx
+0
-1
treeopt.hxx
cui/source/inc/treeopt.hxx
+4
-14
treeopt.cxx
cui/source/options/treeopt.cxx
+3
-3
No files found.
cui/source/customize/cfgutil.cxx
Dosyayı görüntüle @
216879f1
...
...
@@ -366,7 +366,6 @@ struct SvxConfigGroupBoxResource_Impl : public Resource
OUString
m_sProdMacros
;
OUString
m_sMacros
;
OUString
m_sDlgMacros
;
OUString
m_aHumanAppName
;
OUString
m_aStrGroupStyles
;
Image
m_collapsedImage
;
Image
m_expandedImage
;
...
...
@@ -384,7 +383,6 @@ SvxConfigGroupBoxResource_Impl::SvxConfigGroupBoxResource_Impl() :
m_sProdMacros
(
CUI_RESSTR
(
RID_SVXSTR_PRODMACROS
)),
m_sMacros
(
CUI_RESSTR
(
STR_BASICMACROS
)),
m_sDlgMacros
(
CUI_RESSTR
(
RID_SVXSTR_PRODMACROS
)),
m_aHumanAppName
(
CUI_RESSTR
(
STR_HUMAN_APPNAME
)),
m_aStrGroupStyles
(
CUI_RESSTR
(
STR_GROUP_STYLES
)),
m_collapsedImage
(
CUI_RES
(
BMP_COLLAPSED
)),
m_expandedImage
(
CUI_RES
(
BMP_EXPANDED
))
...
...
cui/source/dialogs/SpellAttrib.hxx
Dosyayı görüntüle @
216879f1
...
...
@@ -41,7 +41,6 @@ struct SpellErrorDescription
OUString
sExplanationURL
;
css
::
lang
::
Locale
aLocale
;
css
::
uno
::
Reference
<
css
::
linguistic2
::
XProofreader
>
xGrammarChecker
;
OUString
sServiceName
;
///< service name of GrammarChecker/SpellChecker
css
::
uno
::
Sequence
<
OUString
>
aSuggestions
;
OUString
sRuleId
;
...
...
@@ -53,7 +52,6 @@ struct SpellErrorDescription
const
css
::
lang
::
Locale
&
rLocale
,
const
css
::
uno
::
Sequence
<
OUString
>&
rSuggestions
,
css
::
uno
::
Reference
<
css
::
linguistic2
::
XProofreader
>
rxGrammarChecker
,
const
OUString
&
rServiceName
,
const
OUString
*
pDialogTitle
=
nullptr
,
const
OUString
*
pExplanation
=
nullptr
,
const
OUString
*
pRuleId
=
nullptr
,
...
...
@@ -65,7 +63,6 @@ struct SpellErrorDescription
sExplanationURL
(
),
aLocale
(
rLocale
),
xGrammarChecker
(
rxGrammarChecker
),
sServiceName
(
rServiceName
),
aSuggestions
(
rSuggestions
)
{
if
(
pDialogTitle
)
...
...
cui/source/dialogs/SpellDialog.cxx
Dosyayı görüntüle @
216879f1
...
...
@@ -1105,7 +1105,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck)
if
(
xNamed
.
is
()
)
sServiceName
=
xNamed
->
getName
();
SpellErrorDescription
aDesc
(
false
,
aStart
->
xAlternatives
->
getWord
(),
aStart
->
xAlternatives
->
getLocale
(),
aStart
->
xAlternatives
->
getAlternatives
(),
nullptr
,
sServiceName
);
aStart
->
xAlternatives
->
getLocale
(),
aStart
->
xAlternatives
->
getAlternatives
(),
nullptr
);
m_pSentenceED
->
SetAttrib
(
SpellErrorAttrib
(
aDesc
),
0
,
(
sal_uInt16
)
nStartPosition
,
(
sal_uInt16
)
nEndPosition
);
}
else
if
(
aStart
->
bIsGrammarError
)
...
...
@@ -1129,7 +1129,6 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck)
LanguageTag
::
convertToLocale
(
aStart
->
eLanguage
),
aStart
->
aGrammarError
.
aSuggestions
,
aStart
->
xGrammarChecker
,
xInfo
->
getImplementationName
(),
&
aStart
->
sDialogTitle
,
&
aStart
->
aGrammarError
.
aFullComment
,
&
aStart
->
aGrammarError
.
aRuleIdentifier
,
...
...
@@ -1801,7 +1800,7 @@ void SentenceEditWindow_Impl::SetAlternatives( Reference< XSpellAlternatives> xA
if
(
xNamed
.
is
())
sServiceName
=
xNamed
->
getName
();
}
SpellErrorDescription
aDesc
(
false
,
aWord
,
aLocale
,
aAlts
,
nullptr
,
sServiceName
);
SpellErrorDescription
aDesc
(
false
,
aWord
,
aLocale
,
aAlts
,
nullptr
);
GetTextEngine
()
->
SetAttrib
(
SpellErrorAttrib
(
aDesc
),
0
,
m_nErrorStart
,
m_nErrorEnd
);
}
...
...
cui/source/inc/cfg.hxx
Dosyayı görüntüle @
216879f1
...
...
@@ -671,8 +671,6 @@ public:
struct
SvxIconSelectorToolBoxItem
{
Image
aImg
;
OUString
aText
;
void
*
pData
;
};
class
SvxIconSelectorDialog
:
public
ModalDialog
...
...
cui/source/inc/scriptdlg.hxx
Dosyayı görüntüle @
216879f1
...
...
@@ -153,7 +153,6 @@ protected:
const
OUString
m_createDupStr
;
const
OUString
m_createErrTitleStr
;
const
OUString
m_renameErrStr
;
const
OUString
m_renameDupStr
;
const
OUString
m_renameErrTitleStr
;
DECL_LINK_TYPED
(
ScriptSelectHdl
,
SvTreeListBox
*
,
void
);
...
...
cui/source/inc/treeopt.hxx
Dosyayı görüntüle @
216879f1
...
...
@@ -42,31 +42,27 @@ struct OrderedEntry
struct
Module
{
OUString
m_sName
;
bool
m_bActive
;
std
::
vector
<
OrderedEntry
*
>
m_aNodeList
;
Module
(
const
OUString
&
rName
)
:
m_sName
(
rName
),
m_bActive
(
false
)
{}
Module
(
)
:
m_bActive
(
false
)
{}
};
// struct OptionsLeaf ----------------------------------------------------
struct
OptionsLeaf
{
OUString
m_sId
;
OUString
m_sLabel
;
OUString
m_sPageURL
;
OUString
m_sEventHdl
;
OUString
m_sGroupId
;
sal_Int32
m_nGroupIndex
;
OptionsLeaf
(
const
OUString
&
rId
,
const
OUString
&
rLabel
,
OptionsLeaf
(
const
OUString
&
rLabel
,
const
OUString
&
rPageURL
,
const
OUString
&
rEventHdl
,
const
OUString
&
rGroupId
,
sal_Int32
nGroupIndex
)
:
m_sId
(
rId
),
m_sLabel
(
rLabel
),
m_sPageURL
(
rPageURL
),
m_sEventHdl
(
rEventHdl
),
...
...
@@ -84,8 +80,6 @@ struct OptionsNode
OUString
m_sLabel
;
OUString
m_sPageURL
;
bool
m_bAllModules
;
OUString
m_sGroupId
;
sal_Int32
m_nGroupIndex
;
VectorOfLeaves
m_aLeaves
;
::
std
::
vector
<
VectorOfLeaves
>
m_aGroupedLeaves
;
...
...
@@ -93,15 +87,11 @@ struct OptionsNode
OptionsNode
(
const
OUString
&
rId
,
const
OUString
&
rLabel
,
const
OUString
&
rPageURL
,
bool
bAllModules
,
const
OUString
&
rGroupId
,
sal_Int32
nGroupIndex
)
:
bool
bAllModules
)
:
m_sId
(
rId
),
m_sLabel
(
rLabel
),
m_sPageURL
(
rPageURL
),
m_bAllModules
(
bAllModules
),
m_sGroupId
(
rGroupId
),
m_nGroupIndex
(
nGroupIndex
)
{}
m_bAllModules
(
bAllModules
)
{}
~
OptionsNode
()
{
...
...
cui/source/options/treeopt.cxx
Dosyayı görüntüle @
216879f1
...
...
@@ -1870,7 +1870,7 @@ Module* OfaTreeOptionsDialog::LoadModule(
if
(
rModuleIdentifier
==
sModule
)
{
// current active module found
pModule
=
new
Module
(
sModule
)
;
pModule
=
new
Module
;
pModule
->
m_bActive
=
true
;
Reference
<
XNameAccess
>
xModAccess
;
...
...
@@ -1955,7 +1955,7 @@ VectorOfNodes OfaTreeOptionsDialog::LoadNodes(
if
(
!
sTemp
.
isEmpty
()
)
sLabel
=
sTemp
;
OptionsNode
*
pNode
=
new
OptionsNode
(
sNodeId
,
sLabel
,
sPageURL
,
bAllModules
,
sGroupId
,
nGroupIndex
);
new
OptionsNode
(
sNodeId
,
sLabel
,
sPageURL
,
bAllModules
);
if
(
rExtensionId
.
isEmpty
()
&&
!
isNodeActive
(
pNode
,
pModule
)
)
{
...
...
@@ -1988,7 +1988,7 @@ VectorOfNodes OfaTreeOptionsDialog::LoadNodes(
if
(
rExtensionId
.
isEmpty
()
||
sId
==
rExtensionId
)
{
OptionsLeaf
*
pLeaf
=
new
OptionsLeaf
(
s
Id
,
s
LeafLabel
,
sLeafURL
,
sEventHdl
,
sLeafGrpId
,
nLeafGrpIdx
);
sLeafLabel
,
sLeafURL
,
sEventHdl
,
sLeafGrpId
,
nLeafGrpIdx
);
if
(
!
sLeafGrpId
.
isEmpty
()
)
{
...
...
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