diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2010-12-29 09:52:22 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-12-29 10:52:56 +0100 |
commit | f7f47366ea78a71853fcaca2fa402bef667d9cce (patch) | |
tree | d771a6f5992a35c8ddd84a35e2ba31fcb6190cc1 /svx/source/fmcomp/fmgridcl.cxx | |
parent | d31993e9c08c12c8d6bc27557feb17405ec580b4 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'svx/source/fmcomp/fmgridcl.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index fd0ba6ec1f9e..94921093fd87 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -510,11 +510,10 @@ IMPL_LINK( FmGridHeader, OnAsyncExecuteDrop, void*, /*NOTINTERESTEDIN*/ ) DBG_ERROR("FmGridHeader::ExecuteDrop: Exception occurred!"); } - sal_Int32 nPreferedType = -1; sal_Bool bDateNTimeCol = sal_False; if (aPossibleTypes.Count() != 0) { - nPreferedType = aPossibleTypes[0]; + sal_Int32 nPreferedType = aPossibleTypes[0]; if ((m_pImpl->nDropAction == DND_ACTION_LINK) && (aPossibleTypes.Count() > 1)) { ImageList aImageList( SVX_RES(RID_SVXIMGLIST_FMEXPL) ); |