diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/inc/pch/precompiled_cui.hxx | 2 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx index f04babaa0d56..940d8dc9a6e6 100644 --- a/cui/inc/pch/precompiled_cui.hxx +++ b/cui/inc/pch/precompiled_cui.hxx @@ -214,7 +214,7 @@ #include <com/sun/star/ui/theUICategoryDescription.hpp> #include <com/sun/star/ui/UIConfigurationManager.hpp> #include <com/sun/star/ui/UIElementType.hpp> -#include <com/sun/star/ui/WindowStateConfiguration.hpp> +#include <com/sun/star/ui/theWindowStateConfiguration.hpp> #include <com/sun/star/ui/XModuleUIConfigurationManager.hpp> #include <com/sun/star/ui/XUIConfiguration.hpp> #include <com/sun/star/ui/XUIConfigurationListener.hpp> diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 1d5349db7e27..fb6491118d2a 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -86,7 +86,7 @@ #include <com/sun/star/ui/XUIElement.hpp> #include <com/sun/star/ui/UIElementType.hpp> #include <com/sun/star/ui/ImageType.hpp> -#include <com/sun/star/ui/WindowStateConfiguration.hpp> +#include <com/sun/star/ui/theWindowStateConfiguration.hpp> #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> @@ -3603,7 +3603,7 @@ ToolbarSaveInData::ToolbarSaveInData( uno::Reference<uno::XComponentContext> xContext = ::comphelper::getProcessComponentContext(); // Initialize the m_xPersistentWindowState variable which is used // to get the default properties of system toolbars such as name - uno::Reference< container::XNameAccess > xPWSS = css::ui::WindowStateConfiguration::create( xContext ); + uno::Reference< container::XNameAccess > xPWSS = css::ui::theWindowStateConfiguration::get( xContext ); xPWSS->getByName( aModuleId ) >>= m_xPersistentWindowState; } |