diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-01-29 14:21:18 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-01-29 14:21:18 +0000 |
commit | 852154eed3892654579cb11b5383ad58d820f517 (patch) | |
tree | da7d24a5fc0ae2eaca00626d2e99da9a2041b47c /sc/source/core/tool/addincol.cxx | |
parent | fb325b795fe48e76c3ce70f49c94a5be74334899 (diff) |
INTEGRATION: CWS dr58_SRC680 (1.22.94); FILE MERGED
2007/12/14 10:50:56 nn 1.22.94.1: #i84560# braces for gcc 4.2.1 warnings (patch fom hub)
Diffstat (limited to 'sc/source/core/tool/addincol.cxx')
-rw-r--r-- | sc/source/core/tool/addincol.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 83b5dbb7d95f..f5b021153ad6 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -4,9 +4,9 @@ * * $RCSfile: addincol.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: obo $ $Date: 2008-01-10 13:12:45 $ + * last change: $Author: rt $ $Date: 2008-01-29 15:21:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1485,12 +1485,16 @@ void ScUnoAddInCall::SetParam( long nPos, const uno::Any& rValue ) if ( nVarPos < aVarArg.getLength() ) aVarArg.getArray()[nVarPos] = rValue; else + { DBG_ERROR("wrong argument number"); + } } else if ( nPos < aArgs.getLength() ) aArgs.getArray()[nPos] = rValue; else + { DBG_ERROR("wrong argument number"); + } } } |