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
c2667d7f
Kaydet (Commit)
c2667d7f
authored
May 19, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pNameResId is unused
Change-Id: Ic1fe6abc7066517187695266c4d1a0888b41ffe7
üst
2acc4dc6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
65 deletions
+0
-65
doc.hrc
sfx2/inc/doc.hrc
+0
-8
doc.src
sfx2/source/doc/doc.src
+0
-35
docfac.cxx
sfx2/source/doc/docfac.cxx
+0
-22
No files found.
sfx2/inc/doc.hrc
Dosyayı görüntüle @
c2667d7f
...
...
@@ -39,14 +39,6 @@
#define STR_AUTOMATICVERSION (RID_SFX_DOC_START+ 68)
#define STR_DOCTYPENAME_SW (RID_SFX_DOC_START+ 69)
#define STR_DOCTYPENAME_SWWEB (RID_SFX_DOC_START+ 70)
#define STR_DOCTYPENAME_SWGLOB (RID_SFX_DOC_START+ 71)
#define STR_DOCTYPENAME_SC (RID_SFX_DOC_START+ 72)
#define STR_DOCTYPENAME_SI (RID_SFX_DOC_START+ 73)
#define STR_DOCTYPENAME_SD (RID_SFX_DOC_START+ 74)
#define STR_DOCTYPENAME_MESSAGE (RID_SFX_DOC_START+ 75)
#define TEMPLATE_LONG_NAMES_ARY (RID_SFX_DOC_START+ 81)
#define TEMPLATE_SHORT_NAMES_ARY (RID_SFX_DOC_START+ 82)
#define RID_CNT_STR_WAITING (RID_SFX_DOC_START+ 83)
...
...
sfx2/source/doc/doc.src
Dosyayı görüntüle @
c2667d7f
...
...
@@ -84,41 +84,6 @@ String STR_AUTOMATICVERSION
Text [ en-US ] = "Automatically saved version" ;
};
String STR_DOCTYPENAME_SW
{
Text [ en-US ] = "Text Document";
};
String STR_DOCTYPENAME_SWWEB
{
Text [ en-US ] = "HTML Document";
};
String STR_DOCTYPENAME_SWGLOB
{
Text [ en-US ] = "Master Document";
};
String STR_DOCTYPENAME_SC
{
Text [ en-US ] = "Spreadsheet";
};
String STR_DOCTYPENAME_SI
{
Text [ en-US ] = "Presentation";
};
String STR_DOCTYPENAME_SD
{
Text [ en-US ] = "Drawing";
};
String STR_DOCTYPENAME_MESSAGE
{
Text [ en-US ] = "Message";
};
String STR_EXPORTBUTTON
{
Text [ en-US ] = "Export" ;
...
...
sfx2/source/doc/docfac.cxx
Dosyayı görüntüle @
c2667d7f
...
...
@@ -61,26 +61,22 @@ typedef std::vector<SfxViewFactory*> SfxViewFactoryArr_Impl;
struct
SfxObjectFactory_Impl
{
SfxViewFactoryArr_Impl
aViewFactoryArr
;
// List of <SfxViewFactory>s
ResId
*
pNameResId
;
OUString
aServiceName
;
SfxFilterContainer
*
pFilterContainer
;
SfxModule
*
pModule
;
SvGlobalName
aClassName
;
SfxObjectFactory_Impl
()
:
pNameResId
(
nullptr
),
pFilterContainer
(
nullptr
),
pModule
(
nullptr
)
{}
};
SfxFilterContainer
*
SfxObjectFactory
::
GetFilterContainer
()
const
{
return
pImpl
->
pFilterContainer
;
}
SfxObjectFactory
::
SfxObjectFactory
(
const
SvGlobalName
&
rName
,
...
...
@@ -91,29 +87,11 @@ SfxObjectFactory::SfxObjectFactory
nFlags
(
nFlagsP
)
{
pImpl
->
pFilterContainer
=
new
SfxFilterContainer
(
m_sFactoryName
);
const
OUString
aShortName
(
m_sFactoryName
.
toAsciiLowerCase
()
);
pImpl
->
aClassName
=
rName
;
if
(
aShortName
==
"swriter"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_SW
);
else
if
(
aShortName
==
"swriter/web"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_SWWEB
);
else
if
(
aShortName
==
"swriter/globaldocument"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_SWGLOB
);
else
if
(
aShortName
==
"scalc"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_SC
);
else
if
(
aShortName
==
"simpress"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_SI
);
else
if
(
aShortName
==
"sdraw"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_SD
);
else
if
(
aShortName
==
"message"
)
pImpl
->
pNameResId
=
new
SfxResId
(
STR_DOCTYPENAME_MESSAGE
);
}
SfxObjectFactory
::~
SfxObjectFactory
()
{
delete
pImpl
->
pNameResId
;
delete
pImpl
->
pFilterContainer
;
}
...
...
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