diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-30 09:36:21 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-30 16:37:58 +0200 |
commit | 7d87349bde54febf25ce6b3a19e13ab545913250 (patch) | |
tree | 6405c63227231edfb5285cce8459b784ac5a1b94 /sw/source/ui | |
parent | b6bddf965a27cb66674c5c6e74a66b96970e80d0 (diff) |
This file level variable can be static
Change-Id: I77d59760e80978d22d8f3cfeaed1c133003de2af
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/fldui/fldref.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx index 8820f866fb04..b7a38fffb989 100644 --- a/sw/source/ui/fldui/fldref.cxx +++ b/sw/source/ui/fldui/fldref.cxx @@ -43,7 +43,7 @@ #define REFFLDFLAG_HEADING 0x7100 #define REFFLDFLAG_NUMITEM 0x7200 -sal_uInt16 nFldDlgFmtSel = 0; +static sal_uInt16 nFldDlgFmtSel = 0; #define USER_DATA_VERSION_1 "1" #define USER_DATA_VERSION USER_DATA_VERSION_1 @@ -353,7 +353,8 @@ IMPL_LINK_NOARG(SwFldRefPage, TypeHdl) // fill selection-ListBox UpdateSubType(); - sal_Bool bName = sal_False; nFldDlgFmtSel = 0; + sal_Bool bName = sal_False; + nFldDlgFmtSel = 0; if ( ( !IsFldEdit() || m_pSelectionLB->GetEntryCount() ) && nOld != LISTBOX_ENTRY_NOTFOUND ) |