Issue 19102 - C++ forbids nAnzSizes with no types in sc/source/filter/excel/excrecds.cxx
Summary: C++ forbids nAnzSizes with no types in sc/source/filter/excel/excrecds.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:44 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:44:17 UTC
This is the number of different paper sizes - currently 42. 

/usr/local/oo_src/sc/source/filter/excel/excrecds.cxx:2575:
warning: ISO C++ forbids declaration of `nAnzSizes' with no type


Index: sc/source/filter/excel/excrecds.cxx
===================================================================
RCS file: /cvs/sc/sc/source/filter/excel/excrecds.cxx,v
retrieving revision 1.64
diff -u -r1.64 excrecds.cxx
--- sc/source/filter/excel/excrecds.cxx 24 Jul 2003 11:54:34 -0000      1.64
+++ sc/source/filter/excel/excrecds.cxx 2 Sep 2003 21:53:49 -0000
@@ -2572,7 +2572,7 @@
                        INT32                                   nH;
                        INT32                                   nW;
                                                                                
                                                                                
                                                                                
                                                                                
                };
-               static const                            nAnzSizes = 42;
+               static const UINT16             nAnzSizes = 42;
                static const PAPER_SIZE         pPS[ nAnzSizes ] =
                {
             { 0,                        0                           },  // und
Comment 1 sparcmoz 2003-09-05 07:45:44 UTC
set depend and target
Comment 2 ooo 2003-09-05 13:27:10 UTC
See my comments in issue 19098 why I will close this.
Comment 3 ooo 2003-09-05 13:27:34 UTC
closing
Comment 4 utomo99 2003-12-22 05:29:10 UTC
Removing target from invalid Issue, to reduce the statistics.