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
16f85dc4
Kaydet (Commit)
16f85dc4
authored
Kas 17, 2015
tarafından
Samuel Mehrbrodt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused methods
Change-Id: Ia78da9dac5fb426fbb145250c4e39eb7d30c4d03
üst
472c81fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
toolbarmanager.hxx
framework/inc/uielement/toolbarmanager.hxx
+0
-4
toolbarmanager.cxx
framework/source/uielement/toolbarmanager.cxx
+0
-18
No files found.
framework/inc/uielement/toolbarmanager.hxx
Dosyayı görüntüle @
16f85dc4
...
...
@@ -144,7 +144,6 @@ class ToolBarManager : public ToolbarManager_Base
virtual
bool
MenuItemAllowed
(
sal_uInt16
)
const
;
void
RemoveControllers
();
OUString
RetrieveFromCommand
(
const
OUString
&
aName
,
const
OUString
&
aCmdURL
);
sal_Int32
RetrievePropertiesFromCommand
(
const
OUString
&
aCmdURL
);
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
GetPropsForCommand
(
const
OUString
&
rCmdURL
);
void
CreateControllers
();
...
...
@@ -165,9 +164,6 @@ class ToolBarManager : public ToolbarManager_Base
void
setToolBarImage
(
const
Image
&
_aImage
,
const
CommandToInfoMap
::
const_iterator
&
_pIter
);
void
impl_elementChanged
(
bool
_bRemove
,
const
css
::
ui
::
ConfigurationEvent
&
Event
);
static
bool
impl_RetrieveShortcutsFromConfiguration
(
const
css
::
uno
::
Reference
<
css
::
ui
::
XAcceleratorConfiguration
>&
rAccelCfg
,
const
OUString
&
rCommand
,
OUString
&
rShortCut
);
bool
RetrieveShortcut
(
const
OUString
&
rCommandURL
,
OUString
&
rShortCut
);
protected
:
typedef
std
::
unordered_map
<
sal_uInt16
,
css
::
uno
::
Reference
<
css
::
frame
::
XStatusListener
>
>
ToolBarControllerMap
;
typedef
::
std
::
vector
<
css
::
uno
::
Reference
<
css
::
frame
::
XSubToolbarController
>
>
SubToolBarControllerVector
;
...
...
framework/source/uielement/toolbarmanager.cxx
Dosyayı görüntüle @
16f85dc4
...
...
@@ -808,24 +808,6 @@ uno::Sequence< beans::PropertyValue > ToolBarManager::GetPropsForCommand( const
return
aPropSeq
;
}
OUString
ToolBarManager
::
RetrieveFromCommand
(
const
OUString
&
aName
,
const
OUString
&
aCmdURL
)
{
OUString
aLabel
;
Sequence
<
PropertyValue
>
aPropSeq
;
// Retrieve popup menu labels
aPropSeq
=
GetPropsForCommand
(
aCmdURL
);
for
(
sal_Int32
i
=
0
;
i
<
aPropSeq
.
getLength
();
i
++
)
{
if
(
aPropSeq
[
i
].
Name
==
aName
)
{
aPropSeq
[
i
].
Value
>>=
aLabel
;
break
;
}
}
return
aLabel
;
}
sal_Int32
ToolBarManager
::
RetrievePropertiesFromCommand
(
const
OUString
&
aCmdURL
)
{
sal_Int32
nProperties
(
0
);
...
...
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