diff options
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 7d7141b1ae2b..b4ae71a40f67 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -154,7 +154,7 @@ SidebarController::SidebarController ( if (mxReadOnlyModeDispatch.is()) mxReadOnlyModeDispatch->addStatusListener(this, aURL); - SwitchToDeck(OUString("default")); + SwitchToDeck(gsDefaultDeckId); WeakReference<SidebarController> xWeakController (this); maSidebarControllerContainer.insert( @@ -476,7 +476,7 @@ void SidebarController::UpdateConfigurations (void) // Find the new deck. By default that is the same as the old // one. If that is not set or not enabled, then choose the - // first enabled deck. + // first enabled deck (which is PropertyDeck). OUString sNewDeckId; for (ResourceManager::DeckContextDescriptorContainer::const_iterator iDeck(aDecks.begin()), |