Issue 19099 - C++ forbids no type - nDefaultRowCount - nDefaultColCount - nDefaultTabCount
Summary: C++ forbids no type - nDefaultRowCount - nDefaultColCount - nDefaultTabCount
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 06:08 UTC by sparcmoz
Modified: 2010-11-10 16:25 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 06:08:11 UTC
I guess from the context these should be sal_Int32 but really I do not know.

/usr/local/oo_src/sc/source/filter/xml/xmlsubti.hxx:101:
warning: ISO C++ forbids declaration of `nDefaultRowCount' with no type
                                                                                
/usr/local/oo_src/sc/source/filter/xml/xmlsubti.hxx:102:
warning: ISO C++ forbids declaration of `nDefaultColCount' with no type
                                                                                
/usr/local/oo_src/sc/source/filter/xml/xmlsubti.hxx:103:
warning: ISO C++ forbids declaration of `nDefaultTabCount' with no type

Index: sc/source/filter/xml/xmlsubti.hxx
===================================================================
RCS file: /cvs/sc/sc/source/filter/xml/xmlsubti.hxx,v
retrieving revision 1.22
diff -u -r1.22 xmlsubti.hxx
--- sc/source/filter/xml/xmlsubti.hxx   27 May 2003 10:38:10 -0000      1.22
+++ sc/source/filter/xml/xmlsubti.hxx   2 Sep 2003 21:53:59 -0000
@@ -98,9 +98,9 @@
                                                                               
                
 class ScXMLImport;
                                                                               
                
-const nDefaultRowCount = 20;
-const nDefaultColCount = 20;
-const nDefaultTabCount = 10;
+const sal_Int32 nDefaultRowCount = 20;
+const sal_Int32 nDefaultColCount = 20;
+const sal_Int32 nDefaultTabCount = 10;
                                                                               
                
 typedef std::vector<sal_Int32> ScMysalIntVec;
 typedef std::list<sal_Int32> ScMysalIntList;
Comment 1 sparcmoz 2003-09-05 07:06:10 UTC
set target and depends
Comment 2 sparcmoz 2003-09-05 07:07:08 UTC
correct target
Comment 3 ooo 2003-09-05 13:26:15 UTC
See my comments in issue 19098 why I will close this.
Comment 4 ooo 2003-09-05 13:26:49 UTC
closing
Comment 5 utomo99 2003-12-22 05:28:56 UTC
Removing target from invalid Issue, to reduce the statistics. 
Comment 6 phochalbuse 2010-11-10 16:25:14 UTC
Created attachment 73176