Issue 19104 - C++ forbids IsNamedObject with no type
Summary: C++ forbids IsNamedObject with no type
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 08:01 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 08:01:15 UTC
usr/local/oo_src/sc/source/core/data/drwlayer.cxx:1664:
warning: ISO C++ forbids declaration of `IsNamedObject' with no type


Index: sc/source/core/data/drwlayer.cxx
===================================================================
RCS file: /cvs/sc/sc/source/core/data/drwlayer.cxx,v
retrieving revision 1.20
diff -u -r1.20 drwlayer.cxx
--- sc/source/core/data/drwlayer.cxx    26 Mar 2003 18:03:58 -0000      1.20
+++ sc/source/core/data/drwlayer.cxx    2 Sep 2003 21:53:38 -0000
@@ -1660,7 +1660,7 @@
        return aName;
 }
                                                                                
-inline IsNamedObject( SdrObject* pObj, const String& rName )
+inline BOOL IsNamedObject( SdrObject* pObj, const String& rName )
 {
        //      TRUE if rName is the object's Name or PersistName
        //      (used to find a named object)
Comment 1 sparcmoz 2003-09-05 08:02:20 UTC
set depends and target
Comment 2 ooo 2003-09-05 13:28:30 UTC
See my comments in issue 19098 why I will close this.
Comment 3 ooo 2003-09-05 13:28:43 UTC
closing
Comment 4 utomo99 2003-12-22 05:29:35 UTC
Removing target from invalid Issue, to reduce the statistics.