summaryrefslogtreecommitdiff
path: root/framework/source/fwi/helper/mischelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwi/helper/mischelper.cxx')
-rw-r--r--framework/source/fwi/helper/mischelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwi/helper/mischelper.cxx b/framework/source/fwi/helper/mischelper.cxx
index a9a0684796f3..9970c52b99e2 100644
--- a/framework/source/fwi/helper/mischelper.cxx
+++ b/framework/source/fwi/helper/mischelper.cxx
@@ -21,7 +21,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/document/XDocumentLanguages.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
-#include <com/sun/star/frame/UICommandDescription.hpp>
+#include <com/sun/star/frame/theUICommandDescription.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/linguistic2/LanguageGuessing.hpp>
@@ -94,7 +94,7 @@ OUString RetrieveLabelFromCommand(
}
}
- Reference< XNameAccess > xNameAccess = frame::UICommandDescription::create( _xContext );
+ Reference< XNameAccess > xNameAccess = frame::theUICommandDescription::get( _xContext );
xNameAccess->getByName( _rModuleIdentifier ) >>= _xUICommandLabels;
}
catch ( const Exception& )