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
ddce1e22
Kaydet (Commit)
ddce1e22
authored
May 06, 2017
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#43157: convert framework module away from OSL_ASSERT to assert
Change-Id: Iac0093a2a69d53c91c827ebba01fcdb5353e9b96
üst
bbd2d2c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
presethandler.cxx
framework/source/accelerators/presethandler.cxx
+1
-1
dispatchrecorder.cxx
framework/source/recording/dispatchrecorder.cxx
+1
-1
ContextChangeEventMultiplexer.cxx
framework/source/services/ContextChangeEventMultiplexer.cxx
+1
-1
toolbarmanager.cxx
framework/source/uielement/toolbarmanager.cxx
+3
-3
No files found.
framework/source/accelerators/presethandler.cxx
Dosyayı görüntüle @
ddce1e22
...
...
@@ -170,7 +170,7 @@ void lcl_throwCorruptedUIConfigurationException(
{
css
::
uno
::
Exception
e
;
bool
ok
=
(
exception
>>=
e
);
OSL_ASSERT
(
ok
);
(
void
)
ok
;
// avoid warnings
assert
(
ok
);
(
void
)
ok
;
// avoid warnings
throw
css
::
configuration
::
CorruptedUIConfigurationException
(
lcl_getLocalizedMessage
(
id
),
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
(),
...
...
framework/source/recording/dispatchrecorder.cxx
Dosyayı görüntüle @
ddce1e22
...
...
@@ -78,7 +78,7 @@ Sequence< Any > make_seq_out_of_struct(
}
typelib_TypeDescription
*
pTD
=
nullptr
;
TYPELIB_DANGER_GET
(
&
pTD
,
type
.
getTypeLibType
()
);
OSL_ASSERT
(
pTD
);
assert
(
pTD
);
if
(
!
pTD
)
{
throw
RuntimeException
(
...
...
framework/source/services/ContextChangeEventMultiplexer.cxx
Dosyayı görüntüle @
ddce1e22
...
...
@@ -317,7 +317,7 @@ void SAL_CALL ContextChangeEventMultiplexer::disposing ( const css::lang::EventO
if
(
iDescriptor
==
maListeners
.
end
())
{
OSL_ASSERT
(
iDescriptor
!=
maListeners
.
end
());
assert
(
iDescriptor
!=
maListeners
.
end
());
return
;
}
...
...
framework/source/uielement/toolbarmanager.cxx
Dosyayı görüntüle @
ddce1e22
...
...
@@ -148,7 +148,7 @@ ToolBarManager::ToolBarManager( const Reference< XComponentContext >& rxContext,
m_xContext
(
rxContext
),
m_sIconTheme
(
SvtMiscOptions
().
GetIconTheme
()
)
{
OSL_ASSERT
(
m_xContext
.
is
()
);
assert
(
m_xContext
.
is
()
);
vcl
::
Window
*
pWindow
=
m_pToolBar
;
while
(
pWindow
&&
!
pWindow
->
IsSystemWindow
()
)
...
...
@@ -204,12 +204,12 @@ ToolBarManager::~ToolBarManager()
{
assert
(
!
m_aAsyncUpdateControllersTimer
.
IsActive
());
assert
(
!
m_pToolBar
);
// must be disposed by ToolbarLayoutManager
OSL_ASSERT
(
!
m_bAddedToTaskPaneList
);
assert
(
!
m_bAddedToTaskPaneList
);
}
void
ToolBarManager
::
Destroy
()
{
OSL_ASSERT
(
m_pToolBar
!=
nullptr
);
assert
(
m_pToolBar
!=
nullptr
);
SolarMutexGuard
g
;
if
(
m_bAddedToTaskPaneList
)
{
...
...
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