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
ba49d03a
Kaydet (Commit)
ba49d03a
authored
Ock 18, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
we only need this image once, don't need to keep it
Change-Id: I4ab3fc515bb1484d00f3a690b9fe8ae9c9dca9fe
üst
db9ef688
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
olmenu.hxx
sw/source/uibase/inc/olmenu.hxx
+0
-2
olmenu.cxx
sw/source/uibase/lingu/olmenu.cxx
+8
-9
No files found.
sw/source/uibase/inc/olmenu.hxx
Dosyayı görüntüle @
ba49d03a
...
@@ -56,8 +56,6 @@ class SW_DLLPUBLIC SwSpellPopup : public PopupMenu
...
@@ -56,8 +56,6 @@ class SW_DLLPUBLIC SwSpellPopup : public PopupMenu
OUString
m_aDicNameSingle
;
OUString
m_aDicNameSingle
;
bool
m_bGrammarResults
;
// show grammar results? Or show spellcheck results?
bool
m_bGrammarResults
;
// show grammar results? Or show spellcheck results?
Image
m_aInfo16
;
static
void
fillLangPopupMenu
(
PopupMenu
*
pPopupMenu
,
sal_uInt16
nLangStart
,
static
void
fillLangPopupMenu
(
PopupMenu
*
pPopupMenu
,
sal_uInt16
nLangStart
,
const
css
::
uno
::
Sequence
<
OUString
>&
aSeq
,
SwWrtShell
*
pWrtSh
,
const
css
::
uno
::
Sequence
<
OUString
>&
aSeq
,
SwWrtShell
*
pWrtSh
,
std
::
map
<
sal_Int16
,
OUString
>
&
rLangTable
);
std
::
map
<
sal_Int16
,
OUString
>
&
rLangTable
);
...
...
sw/source/uibase/lingu/olmenu.cxx
Dosyayı görüntüle @
ba49d03a
...
@@ -450,14 +450,13 @@ SwSpellPopup::SwSpellPopup(
...
@@ -450,14 +450,13 @@ SwSpellPopup::SwSpellPopup(
const
linguistic2
::
ProofreadingResult
&
rResult
,
const
linguistic2
::
ProofreadingResult
&
rResult
,
sal_Int32
nErrorInResult
,
sal_Int32
nErrorInResult
,
const
uno
::
Sequence
<
OUString
>
&
rSuggestions
,
const
uno
::
Sequence
<
OUString
>
&
rSuggestions
,
const
OUString
&
rParaText
)
:
const
OUString
&
rParaText
)
PopupMenu
(
SW_RES
(
MN_SPELL_POPUP
)
),
:
PopupMenu
(
SW_RES
(
MN_SPELL_POPUP
))
m_pSh
(
pWrtSh
),
,
m_pSh
(
pWrtSh
)
m_xGrammarResult
(
rResult
),
,
m_xGrammarResult
(
rResult
)
m_aSuggestions
(
rSuggestions
),
,
m_aSuggestions
(
rSuggestions
)
m_sExplanationLink
(
),
,
m_sExplanationLink
()
m_bGrammarResults
(
true
),
,
m_bGrammarResults
(
true
)
m_aInfo16
(
SW_RES
(
IMG_INFO_16
)
)
{
{
m_nCheckedLanguage
=
LanguageTag
::
convertToLanguageType
(
rResult
.
aLocale
);
m_nCheckedLanguage
=
LanguageTag
::
convertToLanguageType
(
rResult
.
aLocale
);
m_nGrammarError
=
nErrorInResult
;
m_nGrammarError
=
nErrorInResult
;
...
@@ -468,7 +467,7 @@ m_aInfo16( SW_RES(IMG_INFO_16) )
...
@@ -468,7 +467,7 @@ m_aInfo16( SW_RES(IMG_INFO_16) )
InsertSeparator
(
OString
(),
nPos
++
);
InsertSeparator
(
OString
(),
nPos
++
);
InsertItem
(
MN_SHORT_COMMENT
,
aMessageText
,
MenuItemBits
::
NOSELECT
,
OString
(),
nPos
++
);
InsertItem
(
MN_SHORT_COMMENT
,
aMessageText
,
MenuItemBits
::
NOSELECT
,
OString
(),
nPos
++
);
if
(
bUseImagesInMenus
)
if
(
bUseImagesInMenus
)
SetItemImage
(
MN_SHORT_COMMENT
,
m_aInfo16
);
SetItemImage
(
MN_SHORT_COMMENT
,
Image
(
SW_RES
(
IMG_INFO_16
))
);
// Add an item to show detailed infos if the FullCommentURL property is defined
// Add an item to show detailed infos if the FullCommentURL property is defined
beans
::
PropertyValues
aProperties
=
rResult
.
aErrors
[
nErrorInResult
].
aProperties
;
beans
::
PropertyValues
aProperties
=
rResult
.
aErrors
[
nErrorInResult
].
aProperties
;
...
...
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