[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Wed Aug 14 15:35:46 PDT 2013


 sw/source/ui/fldui/flddok.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2d16420993355068de4ff1d30568019d47eacb6c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Aug 15 00:35:17 2013 +0200

    Reduce scope
    
    Change-Id: I3e21cf8c0d205bc7d1fc5bfa7268675b97b2dccb

diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx
index fbffd1b..923bc1e 100644
--- a/sw/source/ui/fldui/flddok.cxx
+++ b/sw/source/ui/fldui/flddok.cxx
@@ -86,10 +86,10 @@ void SwFldDokPage::Reset(const SfxItemSet& )
     aTypeLB.Clear();
 
     sal_uInt16 nPos, nTypeId;
-    bool bPage = false;
 
     if (!IsFldEdit())
     {
+        bool bPage = false;
         // fill Type-Listbox
         for(short i = rRg.nStart; i < rRg.nEnd; ++i)
         {


More information about the Libreoffice-commits mailing list