summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/customize/cfg.cxx3
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index bb3769bd540b..5e4e6dffc7fb 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -768,8 +768,7 @@ SvxEntries* ContextMenuSaveInData::GetEntries()
{
if ( !m_pRootEntry )
{
- typedef std::unordered_map< OUString, bool > MenuInfo;
- MenuInfo aMenuInfo;
+ std::unordered_map< OUString, bool > aMenuInfo;
m_pRootEntry.reset( new SvxConfigEntry( "ContextMenus", OUString(), true, /*bParentData*/false ) );
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > aElementsInfo;
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index 576e2d23aeda..c2f74ed949db 100644
--- a/cui/source/dialogs/screenshotannotationdlg.cxx
+++ b/cui/source/dialogs/screenshotannotationdlg.cxx
@@ -124,7 +124,6 @@ private:
};
typedef std::vector< ControlDataEntry > ControlDataCollection;
-typedef std::set< ControlDataEntry* > ControlDataSet;
class ScreenshotAnnotationDlg_Impl // : public ModalDialog
{
@@ -173,7 +172,8 @@ private:
// hilighted/selected children
ControlDataEntry* mpHilighted;
- ControlDataSet maSelected;
+ std::set< ControlDataEntry* >
+ maSelected;
// list of detected controls
VclPtr<FixedImage> mpPicture;