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
72305ed4
Kaydet (Commit)
72305ed4
authored
Agu 22, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify ImplRepository::impl_getLocationForModel return type
Change-Id: I937f96457347195ed18ddcdc75b1106840f0522e
üst
8c5834d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
basicmanagerrepository.cxx
basic/source/basmgr/basicmanagerrepository.cxx
+4
-4
No files found.
basic/source/basmgr/basicmanagerrepository.cxx
Dosyayı görüntüle @
72305ed4
...
...
@@ -122,7 +122,7 @@ namespace basic
@precond
our mutex is locked
*/
BasicManager
*
&
BasicManager
*
impl_getLocationForModel
(
const
Reference
<
XModel
>&
_rxDocumentModel
);
/** creates a new BasicManager instance for the given model
...
...
@@ -247,7 +247,7 @@ namespace basic
thus a recursive call of this function will find and return it
without creating another instance.
*/
BasicManager
*
&
pBasicManager
=
impl_getLocationForModel
(
_rxDocumentModel
);
BasicManager
*
pBasicManager
=
impl_getLocationForModel
(
_rxDocumentModel
);
if
(
pBasicManager
==
NULL
)
impl_createManagerForModel
(
pBasicManager
,
_rxDocumentModel
);
...
...
@@ -378,12 +378,12 @@ namespace basic
}
BasicManager
*
&
ImplRepository
::
impl_getLocationForModel
(
const
Reference
<
XModel
>&
_rxDocumentModel
)
BasicManager
*
ImplRepository
::
impl_getLocationForModel
(
const
Reference
<
XModel
>&
_rxDocumentModel
)
{
Reference
<
XInterface
>
xNormalized
(
_rxDocumentModel
,
UNO_QUERY
);
DBG_ASSERT
(
_rxDocumentModel
.
is
(),
"ImplRepository::impl_getLocationForModel: invalid model!"
);
BasicManager
*
&
location
=
m_aStore
[
xNormalized
];
BasicManager
*
location
=
m_aStore
[
xNormalized
];
return
location
;
}
...
...
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