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
551f76f4
Kaydet (Commit)
551f76f4
authored
Tem 29, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Drop unnecessary SfxApplication::CreateResManager wrapper
Change-Id: I2b8662ec85b8f710aa17a2c6f59c4b35af7685f3
üst
7dad0652
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
23 deletions
+10
-23
app.hxx
include/sfx2/app.hxx
+0
-1
scmod.cxx
sc/source/ui/app/scmod.cxx
+1
-1
sdmod.cxx
sd/source/ui/app/sdmod.cxx
+1
-2
app.cxx
sfx2/source/appl/app.cxx
+0
-9
appinit.cxx
sfx2/source/appl/appinit.cxx
+2
-2
appserv.cxx
sfx2/source/appl/appserv.cxx
+1
-1
sfxresid.cxx
sfx2/source/bastyp/sfxresid.cxx
+1
-2
smmod.cxx
starmath/source/smmod.cxx
+1
-2
swdialmgr.cxx
sw/source/ui/dialog/swdialmgr.cxx
+2
-2
swmodule.cxx
sw/source/uibase/app/swmodule.cxx
+1
-1
No files found.
include/sfx2/app.hxx
Dosyayı görüntüle @
551f76f4
...
@@ -153,7 +153,6 @@ public:
...
@@ -153,7 +153,6 @@ public:
// Resource Manager
// Resource Manager
ResMgr
*
GetSfxResManager
();
ResMgr
*
GetSfxResManager
();
static
ResMgr
*
CreateResManager
(
const
char
*
pPrefix
);
// DDE
// DDE
#if defined( WNT )
#if defined( WNT )
...
...
sc/source/ui/app/scmod.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -130,7 +130,7 @@ void ScModule::InitInterface_Impl()
...
@@ -130,7 +130,7 @@ void ScModule::InitInterface_Impl()
}
}
ScModule
::
ScModule
(
SfxObjectFactory
*
pFact
)
:
ScModule
::
ScModule
(
SfxObjectFactory
*
pFact
)
:
SfxModule
(
SfxApplication
::
CreateResManage
r
(
"sc"
),
false
,
pFact
,
NULL
),
SfxModule
(
ResMgr
::
CreateResMg
r
(
"sc"
),
false
,
pFact
,
NULL
),
mpDragData
(
new
ScDragData
),
mpDragData
(
new
ScDragData
),
mpClipData
(
new
ScClipData
),
mpClipData
(
new
ScClipData
),
pSelTransfer
(
NULL
),
pSelTransfer
(
NULL
),
...
...
sd/source/ui/app/sdmod.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <tools/urlobj.hxx>
#include <tools/urlobj.hxx>
#include <vcl/virdev.hxx>
#include <vcl/virdev.hxx>
#include <sfx2/app.hxx>
#include <vcl/status.hxx>
#include <vcl/status.hxx>
#include <svl/intitem.hxx>
#include <svl/intitem.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/msg.hxx>
...
@@ -68,7 +67,7 @@ void SdModule::InitInterface_Impl()
...
@@ -68,7 +67,7 @@ void SdModule::InitInterface_Impl()
// Ctor
// Ctor
SdModule
::
SdModule
(
SfxObjectFactory
*
pFact1
,
SfxObjectFactory
*
pFact2
)
SdModule
::
SdModule
(
SfxObjectFactory
*
pFact1
,
SfxObjectFactory
*
pFact2
)
:
SfxModule
(
SfxApplication
::
CreateResManage
r
(
"sd"
),
false
,
:
SfxModule
(
ResMgr
::
CreateResMg
r
(
"sd"
),
false
,
pFact1
,
pFact2
,
NULL
),
pFact1
,
pFact2
,
NULL
),
pTransferClip
(
NULL
),
pTransferClip
(
NULL
),
pTransferDrag
(
NULL
),
pTransferDrag
(
NULL
),
...
...
sfx2/source/appl/app.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -375,15 +375,6 @@ void SfxApplication::SetViewFrame_Impl( SfxViewFrame *pFrame )
...
@@ -375,15 +375,6 @@ void SfxApplication::SetViewFrame_Impl( SfxViewFrame *pFrame )
pFrame
->
GetViewShell
()
->
SetCurrentDocument
();
pFrame
->
GetViewShell
()
->
SetCurrentDocument
();
}
}
ResMgr
*
SfxApplication
::
CreateResManager
(
const
char
*
pPrefix
)
{
return
ResMgr
::
CreateResMgr
(
pPrefix
);
}
ResMgr
*
SfxApplication
::
GetSfxResManager
()
ResMgr
*
SfxApplication
::
GetSfxResManager
()
{
{
return
SfxResId
::
GetResMgr
();
return
SfxResId
::
GetResMgr
();
...
...
sfx2/source/appl/appinit.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -228,9 +228,9 @@ bool SfxApplication::Initialize_Impl()
...
@@ -228,9 +228,9 @@ bool SfxApplication::Initialize_Impl()
RID_ERRHDL
,
ERRCODE_AREA_TOOLS
,
ERRCODE_AREA_LIB1
);
RID_ERRHDL
,
ERRCODE_AREA_TOOLS
,
ERRCODE_AREA_LIB1
);
#ifndef DISABLE_SCRIPTING
#ifndef DISABLE_SCRIPTING
pAppData_Impl
->
pBasicResMgr
=
CreateResManage
r
(
"sb"
);
pAppData_Impl
->
pBasicResMgr
=
ResMgr
::
CreateResMg
r
(
"sb"
);
#endif
#endif
pAppData_Impl
->
pSvtResMgr
=
CreateResManage
r
(
"svt"
);
pAppData_Impl
->
pSvtResMgr
=
ResMgr
::
CreateResMg
r
(
"svt"
);
pAppData_Impl
->
m_pSoErrorHdl
=
new
SfxErrorHandler
(
pAppData_Impl
->
m_pSoErrorHdl
=
new
SfxErrorHandler
(
RID_SO_ERROR_HANDLER
,
ERRCODE_AREA_SO
,
ERRCODE_AREA_SO_END
,
pAppData_Impl
->
pSvtResMgr
);
RID_SO_ERROR_HANDLER
,
ERRCODE_AREA_SO
,
ERRCODE_AREA_SO_END
,
pAppData_Impl
->
pSvtResMgr
);
...
...
sfx2/source/appl/appserv.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -884,7 +884,7 @@ OUString ChooseMacro( const Reference< XModel >& rxLimitToDocument, bool bChoose
...
@@ -884,7 +884,7 @@ OUString ChooseMacro( const Reference< XModel >& rxLimitToDocument, bool bChoose
ResMgr
*
SfxApplication
::
GetOffResManager_Impl
()
ResMgr
*
SfxApplication
::
GetOffResManager_Impl
()
{
{
if
(
!
pAppData_Impl
->
pOfaResMgr
)
if
(
!
pAppData_Impl
->
pOfaResMgr
)
pAppData_Impl
->
pOfaResMgr
=
CreateResManage
r
(
"ofa"
);
pAppData_Impl
->
pOfaResMgr
=
ResMgr
::
CreateResMg
r
(
"ofa"
);
return
pAppData_Impl
->
pOfaResMgr
;
return
pAppData_Impl
->
pOfaResMgr
;
}
}
...
...
sfx2/source/bastyp/sfxresid.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include <sfx2/sfxresid.hxx>
#include <sfx2/sfxresid.hxx>
#include <sfx2/app.hxx>
#include "tools/resmgr.hxx"
#include "tools/resmgr.hxx"
...
@@ -36,7 +35,7 @@ ResMgr* SfxResId::GetResMgr()
...
@@ -36,7 +35,7 @@ ResMgr* SfxResId::GetResMgr()
{
{
if
(
!
pMgr
)
if
(
!
pMgr
)
{
{
pMgr
=
SfxApplication
::
CreateResManage
r
(
"sfx"
);
pMgr
=
ResMgr
::
CreateResMg
r
(
"sfx"
);
}
}
return
pMgr
;
return
pMgr
;
...
...
starmath/source/smmod.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include <tools/globname.hxx>
#include <tools/globname.hxx>
#include <vcl/status.hxx>
#include <vcl/status.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/app.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/objface.hxx>
#include <svl/whiter.hxx>
#include <svl/whiter.hxx>
#include <sfx2/request.hxx>
#include <sfx2/request.hxx>
...
@@ -164,7 +163,7 @@ void SmModule::InitInterface_Impl()
...
@@ -164,7 +163,7 @@ void SmModule::InitInterface_Impl()
}
}
SmModule
::
SmModule
(
SfxObjectFactory
*
pObjFact
)
:
SmModule
::
SmModule
(
SfxObjectFactory
*
pObjFact
)
:
SfxModule
(
SfxApplication
::
CreateResManage
r
(
"sm"
),
false
,
pObjFact
,
NULL
),
SfxModule
(
ResMgr
::
CreateResMg
r
(
"sm"
),
false
,
pObjFact
,
NULL
),
pColorConfig
(
0
),
pColorConfig
(
0
),
pConfig
(
0
),
pConfig
(
0
),
pLocSymbolData
(
0
),
pLocSymbolData
(
0
),
...
...
sw/source/ui/dialog/swdialmgr.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include "dialmgr.hxx"
#include "dialmgr.hxx"
#include <
sfx2/app
.hxx>
#include <
tools/resmgr
.hxx>
#ifndef DISABLE_DYNLOADING
#ifndef DISABLE_DYNLOADING
ResMgr
*
pSwResMgr
=
0
;
ResMgr
*
pSwResMgr
=
0
;
...
@@ -30,7 +30,7 @@ ResMgr* SwDialogsResMgr::GetResMgr()
...
@@ -30,7 +30,7 @@ ResMgr* SwDialogsResMgr::GetResMgr()
{
{
if
(
!
pSwResMgr
)
if
(
!
pSwResMgr
)
{
{
pSwResMgr
=
SfxApplication
::
CreateResManage
r
(
"sw"
);
pSwResMgr
=
ResMgr
::
CreateResMg
r
(
"sw"
);
}
}
return
pSwResMgr
;
return
pSwResMgr
;
...
...
sw/source/uibase/app/swmodule.cxx
Dosyayı görüntüle @
551f76f4
...
@@ -150,7 +150,7 @@ using namespace ::com::sun::star::uno;
...
@@ -150,7 +150,7 @@ using namespace ::com::sun::star::uno;
SwModule
::
SwModule
(
SfxObjectFactory
*
pWebFact
,
SwModule
::
SwModule
(
SfxObjectFactory
*
pWebFact
,
SfxObjectFactory
*
pFact
,
SfxObjectFactory
*
pFact
,
SfxObjectFactory
*
pGlobalFact
)
SfxObjectFactory
*
pGlobalFact
)
:
SfxModule
(
SfxApplication
::
CreateResManage
r
(
"sw"
),
false
,
pWebFact
,
:
SfxModule
(
ResMgr
::
CreateResMg
r
(
"sw"
),
false
,
pWebFact
,
pFact
,
pGlobalFact
,
NULL
),
pFact
,
pGlobalFact
,
NULL
),
pModuleConfig
(
0
),
pModuleConfig
(
0
),
pUsrPref
(
0
),
pUsrPref
(
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