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
c98c650a
Kaydet (Commit)
c98c650a
authored
Kas 24, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SfxModule has GetResMgr so SfxShell and SfxInterface don't need GetResMgr
Change-Id: I6160f8b396ac5e5fb799ee03c5b0181fb088cb54
üst
8ccf5594
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
22 deletions
+2
-22
module.hxx
include/sfx2/module.hxx
+0
-1
objface.hxx
include/sfx2/objface.hxx
+0
-2
shell.hxx
include/sfx2/shell.hxx
+0
-6
shell.cxx
sfx2/source/control/shell.cxx
+0
-5
templdlg.cxx
sfx2/source/dialog/templdlg.cxx
+2
-8
No files found.
include/sfx2/module.hxx
Dosyayı görüntüle @
c98c650a
...
...
@@ -75,7 +75,6 @@ public:
SfxObjectFactory
*
pFactoryP
,
...
);
virtual
~
SfxModule
();
ResMgr
*
GetResMgr
()
const
{
return
SfxShell
::
GetResMgr
();
}
virtual
ResMgr
*
GetResMgr
();
SfxSlotPool
*
GetSlotPool
()
const
;
...
...
include/sfx2/objface.hxx
Dosyayı görüntüle @
c98c650a
...
...
@@ -65,8 +65,6 @@ public:
bool
HasName
()
const
{
return
0
!=
aNameResId
.
GetId
();
}
OUString
GetName
()
const
{
return
HasName
()
?
aNameResId
.
toString
()
:
OUString
();
}
ResMgr
*
GetResMgr
()
const
{
return
aNameResId
.
GetResMgr
();
}
const
SfxInterface
*
GetGenoType
()
const
{
return
pGenoType
;
}
...
...
include/sfx2/shell.hxx
Dosyayı görüntüle @
c98c650a
...
...
@@ -431,12 +431,6 @@ public:
*/
SfxViewFrame
*
GetFrame
()
const
;
/**
This method provides the ResMgr of the <Resource-DLL> that are used by
the SfxShell instance. If this is a NULL-pointer, then the current
resource manager is to be used.
*/
ResMgr
*
GetResMgr
()
const
;
virtual
bool
HasUIFeature
(
sal_uInt32
nFeature
);
void
UIFeatureChanged
();
...
...
sfx2/source/control/shell.cxx
Dosyayı görüntüle @
c98c650a
...
...
@@ -395,11 +395,6 @@ void SfxShell::ParentDeactivate
{
}
ResMgr
*
SfxShell
::
GetResMgr
()
const
{
return
GetInterface
()
->
GetResMgr
();
}
bool
SfxShell
::
CanExecuteSlot_Impl
(
const
SfxSlot
&
rSlot
)
{
// Get Slot status
...
...
sfx2/source/dialog/templdlg.cxx
Dosyayı görüntüle @
c98c650a
...
...
@@ -714,7 +714,8 @@ void SfxCommonTemplateDialog_Impl::ReadResource()
SfxViewFrame
*
pViewFrame
=
pBindings
->
GetDispatcher_Impl
()
->
GetFrame
();
pCurObjShell
=
pViewFrame
->
GetObjectShell
();
ResMgr
*
pMgr
=
pCurObjShell
?
pCurObjShell
->
GetResMgr
()
:
NULL
;
pModule
=
pCurObjShell
?
pCurObjShell
->
GetModule
()
:
NULL
;
ResMgr
*
pMgr
=
pModule
?
pModule
->
GetResMgr
()
:
NULL
;
ResId
aFamId
(
DLG_STYLE_DESIGNER
,
*
pMgr
);
aFamId
.
SetRT
(
RSC_SFX_STYLE_FAMILIES
);
m_pStyleFamiliesId
=
new
ResId
(
aFamId
.
GetId
(),
*
pMgr
);
...
...
@@ -800,12 +801,8 @@ void SfxCommonTemplateDialog_Impl::ReadResource()
for
(
i
=
nStart
;
i
<=
nEnd
;
i
++
)
pBindings
->
Update
(
i
);
pModule
=
pCurObjShell
?
pCurObjShell
->
GetModule
()
:
NULL
;
}
void
SfxCommonTemplateDialog_Impl
::
ClearResource
()
{
ClearFamilyList
();
...
...
@@ -834,7 +831,6 @@ SfxCommonTemplateDialog_Impl::impl_setDeletionWatcher(
return
pRet
;
}
void
SfxCommonTemplateDialog_Impl
::
Initialize
()
{
// Read global user resource
...
...
@@ -855,8 +851,6 @@ void SfxCommonTemplateDialog_Impl::Initialize()
aFmtLb
.
Show
();
}
SfxCommonTemplateDialog_Impl
::~
SfxCommonTemplateDialog_Impl
()
{
OUString
aEmpty
;
...
...
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