Issue 22851 - unreachable code in sfx/source/doc/docfile.cxx
Summary: unreachable code in sfx/source/doc/docfile.cxx
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: Sun Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Mathias_Bauer
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-25 21:20 UTC by sparcmoz
Modified: 2004-01-29 17:13 UTC (History)
1 user (show)

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


Attachments
patch to remove break (521 bytes, patch)
2003-11-29 11:35 UTC, sparcmoz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2003-11-25 21:20:55 UTC
building  cws_srx645_ooo111fix1 on linux sparc

First Case is missing?
or the first "break" is not required?

at line  256
unreachable code in sfx/source/doc/docfile.cxx

   if ( IsActive() && xLockBytes.Is()&& m_pMedium )
    {
        switch( nWhich )
        {
                break;
            case DATA_AVAILABLE :
                m_pMedium->DataAvailable_Impl();
                break;
Comment 1 Olaf Felka 2003-11-26 08:51:26 UTC
Not a framework issue.
Martin,
please have a look.
Comment 2 Martin Hollmichel 2003-11-26 11:27:14 UTC
change component to framework
Comment 3 Mathias_Bauer 2003-11-27 16:52:48 UTC
The "break" was accidently forgotten when the code above was removed
Comment 4 sparcmoz 2003-11-29 11:35:54 UTC
Created attachment 11623 [details]
patch to remove break
Comment 5 Mathias_Bauer 2004-01-07 15:31:11 UTC
.
Comment 6 Mathias_Bauer 2004-01-28 09:49:42 UTC
I verified the code changes by myself in the source code in cvs.
Comment 7 Mathias_Bauer 2004-01-29 17:13:13 UTC
.