summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/ResourceManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/ResourceManager.cxx')
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index cf333c1b0a8f..794e906f6a28 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -264,7 +264,7 @@ void ResourceManager::ReadDeckList()
if (comphelper::LibreOfficeKit::isActive())
{
// Hide these decks in LOK as they aren't fully functional.
- if (aDeckName == "GalleryDeck" || aDeckName == "StyleListDeck")
+ if (aDeckName == "GalleryDeck")
continue;
}
@@ -518,7 +518,7 @@ void ResourceManager::ReadContextList (
}
else
{
- OSL_FAIL("expecting three or four values per ContextList entry, separated by comma");
+ SAL_WARN("sfx.sidebar", "expecting three or four values per ContextList entry, separated by comma, entries: " << aValues);
continue;
}
}
@@ -526,7 +526,7 @@ void ResourceManager::ReadContextList (
const OUString sContextName(o3tl::trim(o3tl::getToken(sValue, 0, ',', nCharacterIndex)));
if (nCharacterIndex < 0)
{
- OSL_FAIL("expecting three or four values per ContextList entry, separated by comma");
+ SAL_WARN("sfx.sidebar", "expecting three or four values per ContextList entry, separated by comma");
continue;
}
@@ -617,7 +617,7 @@ void ResourceManager::ReadContextList (
bIsInitiallyVisible = false;
else
{
- OSL_FAIL("unrecognized state");
+ SAL_WARN("sfx.sidebar", "unrecognized state");
continue;
}