Issue 117424 - svx: source/dialog/framelink.cxx code error?
Summary: svx: source/dialog/framelink.cxx code error?
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: DEV300m102
Hardware: PC Linux, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 10:07 UTC by pavel
Modified: 2017-05-20 11:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2011-03-17 10:07:10 UTC
[ build CXX ] svx/source/dialog/framelink
R=/vms/64bit/home/oo/BuildDir && S=$R/ooo_DEV300_m102_src && O=$S/solver/300/unxlngx6.pro && W=$O/workdir &&  mkdir -p $W/CxxObject/svx/source/dialog/ && mkdir -p $W/Dep/CxxObject/svx/source/dialog/ && ccache /usr/bin/g++ -DCPPU_ENV=gcc3 -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_KDE4 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DGCC -DGXX_INCLUDE_PATH=/usr/include/c++/4.5 -DHAVE_GCC_VISIBILITY_FEATURE -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=300 -DUNIX -DUNX -DVCL -DX86_64 -D_PTHREADS -D_REENTRANT   -DSVX_DLLIMPLEMENTATION -DBOOST_SPIRIT_USE_OLD_NAMESPACE  -Wall -Wendif-labels -Wextra -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wshadow -fPIC -fmessage-length=0 -fno-common -fno-strict-aliasing -fno-use-cxa-atexit -fvisibility-inlines-hidden -fvisibility=hidden -pipe  -Werror -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -Os -c $S/svx/source/dialog/framelink.cxx -o $W/CxxObject/svx/source/dialog/framelink.o -MMD -MT $W/CxxObject/svx/source/dialog/framelink.o -MF $W/Dep/CxxObject/svx/source/dialog/framelink.d -I$S/svx/source/dialog/ -I$O/inc/stl -I$O/inc/stl -I$S/svx/inc -I$S/svx/inc/pch -I$S/svx/source/inc -I$O/inc/external -I$O/inc -I$S/solenv/unxlngx6/inc -I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I/usr/lib64/jvm/java-1.6.0-sun/include -I/usr/lib64/jvm/java-1.6.0-sun/include/linux -I/usr/lib64/jvm/java-1.6.0-sun/include/native_threads/include -I/usr/include -I$O/inc/offuh -I$W/SdiTarget/svx/sdi 
cc1plus: warnings being treated as errors
/vms/64bit/home/oo/BuildDir/ooo_DEV300_m102_src/svx/source/dialog/framelink.cxx: In function ‘void svx::frame::<unnamed>::lclLinkLeftEnd_Single(svx::frame::<unnamed>::LineEndResult&, const svx::frame::Style&, const svx::frame::DiagStyle&, const svx::frame::Style&, const svx::frame::Style&, const svx::frame::Style&, const svx::frame::DiagStyle&)’:
/vms/64bit/home/oo/BuildDir/ooo_DEV300_m102_src/svx/source/dialog/framelink.cxx:392:98: error: operation on ‘rResult->svx::frame::<unnamed>::LineEndResult::mnOffs1’ may be undefined
make: *** [/vms/64bit/home/oo/BuildDir/ooo_DEV300_m102_src/solver/300/unxlngx6.pro/workdir/CxxObject/svx/source/dialog/framelink.o] Error 1


The code there is:


        // both vertical frame borders are double
        if( rLFromT.Secn() && rLFromB.Secn() )
            rResult.mnOffs1 = (!rLFromTR.Secn() && !rLFromBR.Secn() && (rLFromT.GetWidth() == rLFromB.GetWidth())) ?
                // don't overdraw vertical borders with equal width
                lclGetBehindEnd( rLFromT ) :
                // take leftmost start of both secondary lines (#46488#) 
                rResult.mnOffs1 = std::min( lclGetSecnBeg( rLFromT ), lclGetSecnBeg( rLFromB ) );

I do not understand it. It looks like wrong merging conflict or something like that, Esp. two

rResult.mnOffs1 =

parts...
Comment 1 Oliver-Rainer Wittmann 2012-06-13 12:16:20 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 2 Marcus 2017-05-20 11:35:12 UTC
Reset assigne to the default "issues@openoffice.apache.org".