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
55cd728d
Kaydet (Commit)
55cd728d
authored
Kas 28, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clean up and reduce indent levels
Change-Id: Iccc1b3f2499025b8dad920f4b0f4b674b5d394ce
üst
6afc8386
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
unostyle.cxx
sw/source/core/unocore/unostyle.cxx
+8
-13
No files found.
sw/source/core/unocore/unostyle.cxx
Dosyayı görüntüle @
55cd728d
...
...
@@ -717,20 +717,15 @@ void SwXStyleFamily::replaceByName(const OUString& rName, const uno::Any& rEleme
void
SwXStyleFamily
::
removeByName
(
const
OUString
&
rName
)
throw
(
container
::
NoSuchElementException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
if
(
m_pBasePool
)
{
m_pBasePool
->
SetSearchMask
(
m_eFamily
);
OUString
aString
;
SwStyleNameMapper
::
FillUIName
(
rName
,
aString
,
lcl_GetSwEnumFromSfxEnum
(
m_eFamily
),
true
);
SfxStyleSheetBase
*
pBase
=
m_pBasePool
->
Find
(
aString
);
if
(
pBase
)
m_pBasePool
->
Remove
(
pBase
);
else
throw
container
::
NoSuchElementException
();
}
else
if
(
!
m_pBasePool
)
throw
uno
::
RuntimeException
();
m_pBasePool
->
SetSearchMask
(
m_eFamily
);
OUString
sName
;
SwStyleNameMapper
::
FillUIName
(
rName
,
sName
,
lcl_GetSwEnumFromSfxEnum
(
m_eFamily
),
true
);
SfxStyleSheetBase
*
pBase
=
m_pBasePool
->
Find
(
sName
);
if
(
!
pBase
)
throw
container
::
NoSuchElementException
();
m_pBasePool
->
Remove
(
pBase
);
}
uno
::
Reference
<
beans
::
XPropertySetInfo
>
SAL_CALL
SwXStyleFamily
::
getPropertySetInfo
(
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
...
...
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