diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-02 11:35:13 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-07 15:57:38 +0200 |
commit | 3a1f8d5f41b6b1f6d3f40405338210f235c2ac87 (patch) | |
tree | a9954ba6030e718f2cc4c7811d442ff531f06a4f /automation/source | |
parent | 6929d42c7d2a2dac3dc43e858389cff7c90bd916 (diff) |
cppcheck scope reduction of var in automation/..statment.cxx
Diffstat (limited to 'automation/source')
-rw-r--r-- | automation/source/server/statemnt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx index 14546fae8c1c..a5e032f3873a 100644 --- a/automation/source/server/statemnt.cxx +++ b/automation/source/server/statemnt.cxx @@ -2917,7 +2917,6 @@ sal_Bool StatementCommand::Execute() { String aPath; - sal_uInt16 nDirFlags = 0; // from basic/source/inc/runtime.hxx #define Sb_ATTR_NORMAL 0x0000 #define Sb_ATTR_HIDDEN 0x0002 @@ -2940,6 +2939,7 @@ sal_Bool StatementCommand::Execute() } else { + sal_uInt16 nDirFlags = 0; sal_uInt16 nFlags = 0; if ( (nParams & PARAM_UINT16_1) ) nDirFlags = nFlags = nNr1; |