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
66c213ad
Kaydet (Commit)
66c213ad
authored
Agu 31, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make it more generic.
Change-Id: I3d3ddec1a8313bb58f5ae6bbc3edc1f273e25f94
üst
ae197be5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
frmload.cxx
sfx2/source/view/frmload.cxx
+7
-5
No files found.
sfx2/source/view/frmload.cxx
Dosyayı görüntüle @
66c213ad
...
...
@@ -519,8 +519,6 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA
::
comphelper
::
NamedValueCollection
aDescriptor
(
rArgs
);
bool
bLoadWithOrcus
=
aDescriptor
.
getOrDefault
<
OUString
>
(
"FilterProvider"
,
OUString
())
==
"orcus"
;
// ensure the descriptor contains a referrer
if
(
!
aDescriptor
.
has
(
"Referer"
)
)
aDescriptor
.
put
(
"Referer"
,
::
rtl
::
OUString
()
);
...
...
@@ -572,10 +570,14 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA
// no model passed from outside? => create one from scratch
if
(
!
xModel
.
is
()
)
{
// beforehand, determine the filter to use, and update the descriptor with its information
if
(
!
bInitNewModel
&&
!
bLoadWithOrcus
)
bool
bInternalFilter
=
aDescriptor
.
getOrDefault
<
OUString
>
(
"FilterProvider"
,
OUString
()).
isEmpty
();
if
(
bInternalFilter
&&
!
bInitNewModel
)
{
impl_determineFilter
(
aDescriptor
);
// Ensure that the current SfxFilter instance is loaded before
// going further. We don't need to do this for external
// filter providers.
impl_determineFilter
(
aDescriptor
);
}
// create the new doc
...
...
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