diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTheme.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTheme.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index ee3a09e6af3c..881aa4e12e34 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -317,7 +317,7 @@ OUString PresenterTheme::GetStyleName (const OUString& rsResourceURL) const const OUString& rsStyleName, const bool bOuter) const { - assert(mpTheme.get() != nullptr); + OSL_ASSERT(mpTheme.get() != nullptr); SharedPaneStyle pPaneStyle (mpTheme->GetPaneStyle(rsStyleName)); if (pPaneStyle.get() != nullptr) @@ -725,7 +725,7 @@ PresenterTheme::SharedFontDescriptor ReadContext::ReadFont ( } catch (Exception&) { - assert(false); + OSL_ASSERT(false); } return PresenterTheme::SharedFontDescriptor(); @@ -755,7 +755,7 @@ Any ReadContext::GetByName ( const Reference<container::XNameAccess>& rxNode, const OUString& rsName) { - assert(rxNode.is()); + OSL_ASSERT(rxNode.is()); if (rxNode->hasByName(rsName)) return rxNode->getByName(rsName); else |