summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index 585db58d9f..b681ddc685 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -801,6 +801,8 @@ void FmGridHeader::PreExecuteColumnContextMenu(sal_uInt16 nColId, PopupMenu& rMe
}
}
+enum InspectorAction { eOpenInspector, eCloseInspector, eUpdateInspector, eNone };
+
//------------------------------------------------------------------------------
void FmGridHeader::PostExecuteColumnContextMenu(sal_uInt16 nColId, const PopupMenu& rMenu, sal_uInt16 nExecutionResult)
{
@@ -813,7 +815,6 @@ void FmGridHeader::PostExecuteColumnContextMenu(sal_uInt16 nColId, const PopupMe
::rtl::OUString aFieldType;
sal_Bool bReplace = sal_False;
- enum InspectorAction { eOpenInspector, eCloseInspector, eUpdateInspector, eNone };
InspectorAction eInspectorAction = eNone;
Reference< XPropertySet > xColumnToInspect;
switch (nExecutionResult)