summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/fldui/fldref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/fldref.cxx')
-rw-r--r--sw/source/ui/fldui/fldref.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index 4b89a8aca6f5..6791ce55867d 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -730,6 +730,8 @@ bool SwFieldRefPage::MatchSubstring( const OUString& rListString, const OUString
return aListString.indexOf(aSubstr) >= 0;
}
+namespace {
+
enum FMT_REF_IDX
{
FMT_REF_PAGE_IDX = 0,
@@ -745,6 +747,8 @@ enum FMT_REF_IDX
FMT_REF_NUMBER_FULL_CONTEXT_IDX = 10
};
+}
+
static const char* FMT_REF_ARY[] =
{
FMT_REF_PAGE,