Issue 19103 - C++ forbids nAnzSizes with no type in sc/source/filter/excel/impop.cxx
Summary: C++ forbids nAnzSizes with no type in sc/source/filter/excel/impop.cxx
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: Sun Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ooo
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks: 18988
  Show dependency tree
 
Reported: 2003-09-05 07:55 UTC by sparcmoz
Modified: 2003-12-22 05:29 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2003-09-05 07:55:43 UTC
/usr/local/oo_src/sc/source/filter/excel/impop.cxx:1224:
warning: ISO C++ forbids declaration of `nAnzSizes' with no type


Index: sc/source/filter/excel/impop.cxx
===================================================================
RCS file: /cvs/sc/sc/source/filter/excel/impop.cxx,v
retrieving revision 1.53
diff -u -r1.53 impop.cxx
--- sc/source/filter/excel/impop.cxx    25 Jun 2003 10:46:56 -0000      1.53
+++ sc/source/filter/excel/impop.cxx    2 Sep 2003 21:53:59 -0000
@@ -1221,7 +1221,7 @@
                INT32           nH;
                INT32           nW;
        };
-       static const    nAnzSizes = 42;
+       static const    UINT16 nAnzSizes = 42;
        static SvxPaper pSvxPS[ nAnzSizes ] =
        {
                SVX_PAPER_USER,         // undefined
Comment 1 sparcmoz 2003-09-05 07:57:14 UTC
reassign and set depends and target
Comment 2 ooo 2003-09-05 13:27:54 UTC
See my comments in issue 19098 why I will close this.
Comment 3 ooo 2003-09-05 13:28:10 UTC
closing
Comment 4 utomo99 2003-12-22 05:29:21 UTC
Removing target from invalid Issue, to reduce the statistics.