Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
690b40af
Kaydet (Commit)
690b40af
authored
Nis 04, 2013
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I4f8a592404272f3ba2602aa1ef42d399d7faae78
üst
a123975e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
64 additions
and
64 deletions
+64
-64
svdedxv.hxx
svx/inc/svx/svdedxv.hxx
+1
-1
svdedxv.cxx
svx/source/svdraw/svdedxv.cxx
+22
-22
svdetc.cxx
svx/source/svdraw/svdetc.cxx
+1
-1
svdhdl.cxx
svx/source/svdraw/svdhdl.cxx
+5
-5
svdibrow.cxx
svx/source/svdraw/svdibrow.cxx
+9
-9
svdlayer.cxx
svx/source/svdraw/svdlayer.cxx
+1
-1
svdmodel.cxx
svx/source/svdraw/svdmodel.cxx
+1
-1
svdmrkv.cxx
svx/source/svdraw/svdmrkv.cxx
+24
-24
No files found.
svx/inc/svx/svdedxv.hxx
Dosyayı görüntüle @
690b40af
...
...
@@ -117,7 +117,7 @@ protected:
// Eine neue OutlinerView auf dem Heap anlegen und alle erforderlichen Parameter setzen.
// pTextEditObj, pTextEditPV und pTextEditOutliner muessen initiallisiert sein.
OutlinerView
*
ImpMakeOutlinerView
(
Window
*
pWin
,
sal_B
ool
bNoPaint
,
OutlinerView
*
pGivenView
)
const
;
OutlinerView
*
ImpMakeOutlinerView
(
Window
*
pWin
,
b
ool
bNoPaint
,
OutlinerView
*
pGivenView
)
const
;
void
ImpPaintOutlinerView
(
OutlinerView
&
rOutlView
,
const
Rectangle
&
rRect
,
OutputDevice
&
rTargetDevice
)
const
;
void
ImpInvalidateOutlinerView
(
OutlinerView
&
rOutlView
)
const
;
...
...
svx/source/svdraw/svdedxv.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -172,9 +172,9 @@ void SdrObjEditView::ModelHasChanged()
SdrTextObj
*
pTextObj
=
dynamic_cast
<
SdrTextObj
*>
(
mxTextEditObj
.
get
()
);
if
(
pTextObj
!=
NULL
)
{
sal_uIntPtr
nOutlViewAnz
=
pTextEditOutliner
->
GetViewCount
();
sal_Bool
bAreaChg
=
sal_F
alse
;
sal_Bool
bAnchorChg
=
sal_F
alse
;
sal_Bool
bColorChg
=
sal_F
alse
;
bool
bAreaChg
=
f
alse
;
bool
bAnchorChg
=
f
alse
;
bool
bColorChg
=
f
alse
;
bool
bContourFrame
=
pTextObj
->
IsContourTextFrame
();
EVAnchorMode
eNewAnchor
(
ANCHOR_VCENTER_HCENTER
);
Rectangle
aOldArea
(
aMinTextEditArea
);
...
...
@@ -228,7 +228,7 @@ void SdrObjEditView::ModelHasChanged()
if
(
nStat
!=
nStat0
)
pOLV
->
SetControlWord
(
nStat
);
}
pTextEditOutliner
->
SetUpdateMode
(
sal_True
);
bAreaChg
=
sal_T
rue
;
bAreaChg
=
t
rue
;
}
}
if
(
pTextEditOutlinerView
!=
NULL
)
{
// check fill and anchor
...
...
@@ -433,13 +433,13 @@ void SdrObjEditView::ImpInvalidateOutlinerView(OutlinerView& rOutlView) const
}
}
OutlinerView
*
SdrObjEditView
::
ImpMakeOutlinerView
(
Window
*
pWin
,
sal_B
ool
/*bNoPaint*/
,
OutlinerView
*
pGivenView
)
const
OutlinerView
*
SdrObjEditView
::
ImpMakeOutlinerView
(
Window
*
pWin
,
b
ool
/*bNoPaint*/
,
OutlinerView
*
pGivenView
)
const
{
// background
Color
aBackground
(
GetTextEditBackgroundColor
(
*
this
));
SdrTextObj
*
pText
=
dynamic_cast
<
SdrTextObj
*
>
(
mxTextEditObj
.
get
()
);
sal_B
ool
bTextFrame
=
pText
!=
NULL
&&
pText
->
IsTextFrame
();
sal_B
ool
bContourFrame
=
pText
!=
NULL
&&
pText
->
IsContourTextFrame
();
b
ool
bTextFrame
=
pText
!=
NULL
&&
pText
->
IsTextFrame
();
b
ool
bContourFrame
=
pText
!=
NULL
&&
pText
->
IsContourTextFrame
();
// create OutlinerView
OutlinerView
*
pOutlView
=
pGivenView
;
pTextEditOutliner
->
SetUpdateMode
(
sal_False
);
...
...
@@ -540,12 +540,12 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
bTextEditNewObj
=
bIsNewObj
;
const
sal_uInt32
nWinAnz
(
PaintWindowCount
());
sal_uInt32
i
;
sal_Bool
bBrk
(
sal_F
alse
);
bool
bBrk
(
f
alse
);
// break, when no object given
if
(
!
pObj
)
{
bBrk
=
sal_T
rue
;
bBrk
=
t
rue
;
}
if
(
!
bBrk
&&
!
pWin
)
...
...
@@ -563,7 +563,7 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
// break, when no window exists
if
(
!
pWin
)
{
bBrk
=
sal_T
rue
;
bBrk
=
t
rue
;
}
}
...
...
@@ -574,7 +574,7 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
// break, when no PageView for the object exists
if
(
!
pPV
)
{
bBrk
=
sal_T
rue
;
bBrk
=
t
rue
;
}
}
...
...
@@ -583,7 +583,7 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
// no TextEdit on objects in locked Layer
if
(
pPV
->
GetLockedLayers
().
IsSet
(
pObj
->
GetLayer
()))
{
bBrk
=
sal_T
rue
;
bBrk
=
t
rue
;
}
}
...
...
@@ -608,7 +608,7 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
pTextEditOutliner
->
ForceAutoColor
(
aOptions
.
GetIsAutomaticFontColor
()
);
}
sal_B
ool
bEmpty
=
mxTextEditObj
->
GetOutlinerParaObject
()
==
NULL
;
b
ool
bEmpty
=
mxTextEditObj
->
GetOutlinerParaObject
()
==
NULL
;
aOldCalcFieldValueLink
=
pTextEditOutliner
->
GetCalcFieldValueHdl
();
// FieldHdl has to be set by SdrBeginTextEdit, because this call an UpdateFields
...
...
@@ -717,12 +717,12 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
if
(
pWin
)
{
sal_Bool
bExtraInvalidate
(
sal_F
alse
);
bool
bExtraInvalidate
(
f
alse
);
if
(
!
bExtraInvalidate
)
{
if
(
pTextObj
->
IsFitToSize
())
bExtraInvalidate
=
sal_T
rue
;
bExtraInvalidate
=
t
rue
;
}
if
(
bExtraInvalidate
)
...
...
@@ -747,7 +747,7 @@ sal_Bool SdrObjEditView::SdrBeginTextEdit(
}
else
{
bBrk
=
sal_T
rue
;
bBrk
=
t
rue
;
pTextEditOutliner
->
SetCalcFieldValueHdl
(
aOldCalcFieldValueLink
);
pTextEditOutliner
->
SetBeginPasteOrDropHdl
(
Link
());
pTextEditOutliner
->
SetEndPasteOrDropHdl
(
Link
());
...
...
@@ -867,7 +867,7 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(sal_Bool bDontDeleteReally)
}
// check deletion of entire TextObj
SdrUndoAction
*
pDelUndo
=
NULL
;
sal_Bool
bDelObj
=
sal_F
alse
;
bool
bDelObj
=
f
alse
;
SdrTextObj
*
pTextObj
=
PTR_CAST
(
SdrTextObj
,
pTEObj
);
if
(
pTextObj
!=
NULL
&&
bTextEditNewObj
)
{
...
...
@@ -1394,7 +1394,7 @@ sal_Bool SdrObjEditView::GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHar
sal_Bool
SdrObjEditView
::
SetAttributes
(
const
SfxItemSet
&
rSet
,
sal_Bool
bReplaceAll
)
{
sal_Bool
bRet
=
sal_False
;
sal_B
ool
bTextEdit
=
pTextEditOutlinerView
!=
NULL
&&
mxTextEditObj
.
is
();
b
ool
bTextEdit
=
pTextEditOutlinerView
!=
NULL
&&
mxTextEditObj
.
is
();
sal_Bool
bAllTextSelected
=
ImpIsTextEditAllSelected
();
const
SfxItemSet
*
pSet
=&
rSet
;
...
...
@@ -1413,7 +1413,7 @@ sal_Bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, sal_Bool bReplace
{
#ifdef DBG_UTIL
{
sal_Bool
bHasEEFeatureItems
=
sal_F
alse
;
bool
bHasEEFeatureItems
=
f
alse
;
SfxItemIter
aIter
(
rSet
);
const
SfxPoolItem
*
pItem
=
aIter
.
FirstItem
();
while
(
!
bHasEEFeatureItems
&&
pItem
!=
NULL
)
...
...
@@ -1422,7 +1422,7 @@ sal_Bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, sal_Bool bReplace
{
sal_uInt16
nW
=
pItem
->
Which
();
if
(
nW
>=
EE_FEATURE_START
&&
nW
<=
EE_FEATURE_END
)
bHasEEFeatureItems
=
sal_T
rue
;
bHasEEFeatureItems
=
t
rue
;
}
pItem
=
aIter
.
NextItem
();
...
...
@@ -1438,7 +1438,7 @@ sal_Bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, sal_Bool bReplace
#endif
sal_Bool
bOnlyEEItems
;
sal_B
ool
bNoEEItems
=!
SearchOutlinerItems
(
*
pSet
,
bReplaceAll
,
&
bOnlyEEItems
);
b
ool
bNoEEItems
=!
SearchOutlinerItems
(
*
pSet
,
bReplaceAll
,
&
bOnlyEEItems
);
// everything selected? -> attributes to the border, too
// if no EEItems, attributes to the border only
if
(
bAllTextSelected
||
bNoEEItems
)
...
...
@@ -1593,7 +1593,7 @@ void SdrObjEditView::AddWindowToPaintView(OutputDevice* pNewWin)
if
(
mxTextEditObj
.
is
()
&&
!
bTextEditOnlyOneView
&&
pNewWin
->
GetOutDevType
()
==
OUTDEV_WINDOW
)
{
OutlinerView
*
pOutlView
=
ImpMakeOutlinerView
((
Window
*
)
pNewWin
,
sal_F
alse
,
NULL
);
OutlinerView
*
pOutlView
=
ImpMakeOutlinerView
((
Window
*
)
pNewWin
,
f
alse
,
NULL
);
pTextEditOutliner
->
InsertView
(
pOutlView
);
}
}
...
...
svx/source/svdraw/svdetc.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -465,7 +465,7 @@ sal_Bool SearchOutlinerItems(const SfxItemSet& rSet, sal_Bool bInklDefaults, sal
{
sal_Bool
bHas
=
sal_False
;
sal_Bool
bOnly
=
sal_True
;
sal_B
ool
bLookOnly
=
pbOnlyEE
!=
NULL
;
b
ool
bLookOnly
=
pbOnlyEE
!=
NULL
;
SfxWhichIter
aIter
(
rSet
);
sal_uInt16
nWhich
=
aIter
.
FirstWhich
();
while
(((
bLookOnly
&&
bOnly
)
||
!
bHas
)
&&
nWhich
!=
0
)
{
...
...
svx/source/svdraw/svdhdl.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -629,11 +629,11 @@ BitmapEx SdrHdl::ImpGetBitmapEx( BitmapMarkerKind eKindOfMarker, sal_uInt16 nInd
::
sdr
::
overlay
::
OverlayObject
*
pRetval
=
0L
;
// support bigger sizes
sal_Bool
bForceBiggerSize
(
sal_F
alse
);
bool
bForceBiggerSize
(
f
alse
);
if
(
pHdlList
->
GetHdlSize
()
>
3
)
{
bForceBiggerSize
=
sal_T
rue
;
bForceBiggerSize
=
t
rue
;
}
if
(
bForceBiggerSize
)
...
...
@@ -761,9 +761,9 @@ bool SdrHdl::IsHdlHit(const Point& rPnt) const
Pointer
SdrHdl
::
GetPointer
()
const
{
PointerStyle
ePtr
=
POINTER_MOVE
;
const
sal_B
ool
bSize
=
eKind
>=
HDL_UPLFT
&&
eKind
<=
HDL_LWRGT
;
const
sal_B
ool
bRot
=
pHdlList
!=
NULL
&&
pHdlList
->
IsRotateShear
();
const
sal_B
ool
bDis
=
pHdlList
!=
NULL
&&
pHdlList
->
IsDistortShear
();
const
b
ool
bSize
=
eKind
>=
HDL_UPLFT
&&
eKind
<=
HDL_LWRGT
;
const
b
ool
bRot
=
pHdlList
!=
NULL
&&
pHdlList
->
IsRotateShear
();
const
b
ool
bDis
=
pHdlList
!=
NULL
&&
pHdlList
->
IsDistortShear
();
if
(
bSize
&&
pHdlList
!=
NULL
&&
(
bRot
||
bDis
))
{
switch
(
eKind
)
{
case
HDL_UPLFT
:
case
HDL_UPRGT
:
...
...
svx/source/svdraw/svdibrow.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -87,9 +87,9 @@ public:
sal_Int32
nMin
;
sal_Int32
nMax
;
sal_Bool
bComment
;
sal_Bool
bIsNum
;
sal_Bool
bCanNum
;
bool
bComment
;
bool
bIsNum
;
bool
bCanNum
;
public
:
ImpItemListRow
()
...
...
@@ -100,14 +100,14 @@ public:
nVal
(
0
),
nMin
(
0
),
nMax
(
0
),
bComment
(
sal_F
alse
),
bIsNum
(
sal_F
alse
),
bCanNum
(
sal_F
alse
)
bComment
(
f
alse
),
bIsNum
(
f
alse
),
bCanNum
(
f
alse
)
{}
XubString
GetItemTypeStr
()
const
;
sal_B
ool
operator
==
(
const
ImpItemListRow
&
rEntry
)
const
;
sal_B
ool
operator
!=
(
const
ImpItemListRow
&
rEntry
)
const
{
return
!
operator
==
(
rEntry
);
}
b
ool
operator
==
(
const
ImpItemListRow
&
rEntry
)
const
;
b
ool
operator
!=
(
const
ImpItemListRow
&
rEntry
)
const
{
return
!
operator
==
(
rEntry
);
}
};
XubString
ImpItemListRow
::
GetItemTypeStr
()
const
...
...
@@ -142,7 +142,7 @@ XubString ImpItemListRow::GetItemTypeStr() const
return
aStr
;
}
sal_B
ool
ImpItemListRow
::
operator
==
(
const
ImpItemListRow
&
rEntry
)
const
b
ool
ImpItemListRow
::
operator
==
(
const
ImpItemListRow
&
rEntry
)
const
{
return
(
aName
.
equals
(
rEntry
.
aName
)
&&
aValue
.
equals
(
rEntry
.
aValue
)
...
...
svx/source/svdraw/svdlayer.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -323,7 +323,7 @@ const SdrLayer* SdrLayerAdmin::GetLayerPerID(sal_uInt16 nID) const
SdrLayerID
SdrLayerAdmin
::
GetUniqueLayerID
()
const
{
SetOfByte
aSet
;
sal_B
ool
bDown
=
(
pParent
==
NULL
);
b
ool
bDown
=
(
pParent
==
NULL
);
sal_uInt16
j
;
for
(
j
=
0
;
j
<
GetLayerCount
();
j
++
)
{
...
...
svx/source/svdraw/svdmodel.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -1390,7 +1390,7 @@ void SdrModel::TakePercentStr(const Fraction& rVal, XubString& rStr, bool bNoPer
{
sal_Int32
nMul
(
rVal
.
GetNumerator
());
sal_Int32
nDiv
(
rVal
.
GetDenominator
());
sal_B
ool
bNeg
(
nMul
<
0
);
b
ool
bNeg
(
nMul
<
0
);
if
(
nDiv
<
0
)
bNeg
=
!
bNeg
;
...
...
svx/source/svdraw/svdmrkv.cxx
Dosyayı görüntüle @
690b40af
...
...
@@ -519,7 +519,7 @@ sal_Bool SdrMarkView::ImpIsFrameHandles() const
{
sal_uIntPtr
nMarkAnz
=
GetMarkedObjectCount
();
sal_Bool
bFrmHdl
=
nMarkAnz
>
nFrameHandlesLimit
||
bForceFrameHandles
;
sal_B
ool
bStdDrag
=
eDragMode
==
SDRDRAG_MOVE
;
b
ool
bStdDrag
=
eDragMode
==
SDRDRAG_MOVE
;
if
(
nMarkAnz
==
1
&&
bStdDrag
&&
bFrmHdl
)
{
const
SdrObject
*
pObj
=
GetMarkedObjectByIndex
(
0
);
...
...
@@ -559,7 +559,7 @@ void SdrMarkView::SetMarkHandles()
{
// remember old focus handle values to search for it again
const
SdrHdl
*
pSaveOldFocusHdl
=
aHdl
.
GetFocusHdl
();
sal_Bool
bSaveOldFocus
(
sal_F
alse
);
bool
bSaveOldFocus
(
f
alse
);
sal_uInt32
nSavePolyNum
(
0L
),
nSavePointNum
(
0L
);
SdrHdlKind
eSaveKind
(
HDL_MOVE
);
SdrObject
*
pSaveObj
=
NULL
;
...
...
@@ -569,7 +569,7 @@ void SdrMarkView::SetMarkHandles()
&&
pSaveOldFocusHdl
->
GetObj
()
->
ISA
(
SdrPathObj
)
&&
(
pSaveOldFocusHdl
->
GetKind
()
==
HDL_POLY
||
pSaveOldFocusHdl
->
GetKind
()
==
HDL_BWGT
))
{
bSaveOldFocus
=
sal_T
rue
;
bSaveOldFocus
=
t
rue
;
nSavePolyNum
=
pSaveOldFocusHdl
->
GetPolyNum
();
nSavePointNum
=
pSaveOldFocusHdl
->
GetPointNum
();
pSaveObj
=
pSaveOldFocusHdl
->
GetObj
();
...
...
@@ -587,8 +587,8 @@ void SdrMarkView::SetMarkHandles()
if
(
!
areMarkHandlesHidden
())
{
sal_uIntPtr
nMarkAnz
=
GetMarkedObjectCount
();
sal_B
ool
bStdDrag
=
eDragMode
==
SDRDRAG_MOVE
;
sal_Bool
bSingleTextObjMark
=
sal_F
alse
;
b
ool
bStdDrag
=
eDragMode
==
SDRDRAG_MOVE
;
bool
bSingleTextObjMark
=
f
alse
;
if
(
nMarkAnz
==
1
)
{
...
...
@@ -624,7 +624,7 @@ void SdrMarkView::SetMarkHandles()
{
Rectangle
aRect
(
GetMarkedObjRect
());
// #i33755#
const
sal_B
ool
bHideHandlesWhenInTextEdit
(
const
b
ool
bHideHandlesWhenInTextEdit
(
((
SdrView
*
)
this
)
->
IsTextEdit
()
&&
pMarkedObj
&&
pMarkedObj
->
ISA
(
SdrTextObj
)
...
...
@@ -669,8 +669,8 @@ void SdrMarkView::SetMarkHandles()
}
else
{
sal_B
ool
bWdt0
=
aRect
.
Left
()
==
aRect
.
Right
();
sal_B
ool
bHgt0
=
aRect
.
Top
()
==
aRect
.
Bottom
();
b
ool
bWdt0
=
aRect
.
Left
()
==
aRect
.
Right
();
b
ool
bHgt0
=
aRect
.
Top
()
==
aRect
.
Bottom
();
if
(
bWdt0
&&
bHgt0
)
{
aHdl
.
AddHdl
(
new
SdrHdl
(
aRect
.
TopLeft
(),
HDL_UPLFT
));
...
...
@@ -1123,7 +1123,7 @@ void SdrMarkView::CheckMarked()
SdrObject
*
pObj
=
pM
->
GetMarkedSdrObj
();
SdrPageView
*
pPV
=
pM
->
GetPageView
();
SdrLayerID
nLay
=
pObj
->
GetLayer
();
sal_B
ool
bRaus
=!
pObj
->
IsInserted
();
// Obj deleted?
b
ool
bRaus
=!
pObj
->
IsInserted
();
// Obj deleted?
if
(
!
pObj
->
Is3DObj
())
{
bRaus
=
bRaus
||
pObj
->
GetPage
()
!=
pPV
->
GetPage
();
// Obj suddenly in different Page or Group
}
...
...
@@ -1585,13 +1585,13 @@ SdrObject* SdrMarkView::CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nT
}
SdrObject
*
SdrMarkView
::
CheckSingleSdrObjectHit
(
const
Point
&
rPnt
,
sal_uInt16
nTol
,
SdrObjList
*
pOL
,
SdrPageView
*
pPV
,
sal_uIntPtr
nOptions
,
const
SetOfByte
*
pMVisLay
,
SdrObject
*&
rpRootObj
,
const
SdrMarkList
*
pMarkList
)
const
{
sal_B
ool
bBack
=
(
nOptions
&
SDRSEARCH_BACKWARD
)
!=
0
;
sal_B
ool
bBefMrk
=
(
nOptions
&
SDRSEARCH_BEFOREMARK
)
!=
0
;
b
ool
bBack
=
(
nOptions
&
SDRSEARCH_BACKWARD
)
!=
0
;
b
ool
bBefMrk
=
(
nOptions
&
SDRSEARCH_BEFOREMARK
)
!=
0
;
SdrObject
*
pRet
=
NULL
;
rpRootObj
=
NULL
;
if
(
pOL
!=
NULL
)
{
sal_B
ool
bRemap
(
pOL
->
GetOwnerObj
()
&&
pOL
->
GetOwnerObj
()
->
ISA
(
E3dScene
));
b
ool
bRemap
(
pOL
->
GetOwnerObj
()
&&
pOL
->
GetOwnerObj
()
->
ISA
(
E3dScene
));
E3dScene
*
pRemapScene
=
(
bRemap
?
(
E3dScene
*
)
pOL
->
GetOwnerObj
()
:
0L
);
sal_uIntPtr
nObjAnz
=
pOL
->
GetObjCount
();
...
...
@@ -1639,14 +1639,14 @@ sal_Bool SdrMarkView::PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj,
if
(
pnPassNum
!=
NULL
)
*
pnPassNum
=
0
;
rpObj
=
NULL
;
rpPV
=
NULL
;
sal_B
ool
bWholePage
=
(
nOptions
&
SDRSEARCH_WHOLEPAGE
)
!=
0
;
sal_B
ool
bMarked
=
(
nOptions
&
SDRSEARCH_MARKED
)
!=
0
;
sal_B
ool
bMasters
=!
bMarked
&&
(
nOptions
&
SDRSEARCH_ALSOONMASTER
)
!=
0
;
sal_B
ool
bBack
=
(
nOptions
&
SDRSEARCH_BACKWARD
)
!=
0
;
b
ool
bWholePage
=
(
nOptions
&
SDRSEARCH_WHOLEPAGE
)
!=
0
;
b
ool
bMarked
=
(
nOptions
&
SDRSEARCH_MARKED
)
!=
0
;
b
ool
bMasters
=!
bMarked
&&
(
nOptions
&
SDRSEARCH_ALSOONMASTER
)
!=
0
;
b
ool
bBack
=
(
nOptions
&
SDRSEARCH_BACKWARD
)
!=
0
;
#if OSL_DEBUG_LEVEL > 0
sal_B
ool
bNext
=
(
nOptions
&
SDRSEARCH_NEXT
)
!=
0
;
(
void
)
bNext
;
// n.i.
sal_B
ool
bBoundCheckOn2ndPass
=
(
nOptions
&
SDRSEARCH_PASS2BOUND
)
!=
0
;
(
void
)
bBoundCheckOn2ndPass
;
// n.i.
sal_B
ool
bCheckNearestOn3rdPass
=
(
nOptions
&
SDRSEARCH_PASS3NEAREST
)
!=
0
;
(
void
)
bCheckNearestOn3rdPass
;
// n.i.
b
ool
bNext
=
(
nOptions
&
SDRSEARCH_NEXT
)
!=
0
;
(
void
)
bNext
;
// n.i.
b
ool
bBoundCheckOn2ndPass
=
(
nOptions
&
SDRSEARCH_PASS2BOUND
)
!=
0
;
(
void
)
bBoundCheckOn2ndPass
;
// n.i.
b
ool
bCheckNearestOn3rdPass
=
(
nOptions
&
SDRSEARCH_PASS3NEAREST
)
!=
0
;
(
void
)
bCheckNearestOn3rdPass
;
// n.i.
#endif
if
(
nTol
<
0
)
nTol
=
ImpGetHitTolLogic
(
nTol
,
NULL
);
Point
aPt
(
rPnt
);
...
...
@@ -1684,7 +1684,7 @@ sal_Bool SdrMarkView::PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj,
nPgAnz
++
;
}
sal_B
ool
bExtraPassForWholePage
=
bWholePage
&&
pPage
!=
pPV
->
GetObjList
();
b
ool
bExtraPassForWholePage
=
bWholePage
&&
pPage
!=
pPV
->
GetObjList
();
if
(
bExtraPassForWholePage
)
nPgAnz
++
;
// First search in AktObjList, then on the entire page
sal_uInt16
nPgNum
=
bBack
?
0
:
nPgAnz
;
while
(
pHitObj
==
NULL
&&
(
bBack
?
nPgNum
<
nPgAnz
:
nPgNum
>
0
))
{
...
...
@@ -1753,8 +1753,8 @@ sal_Bool SdrMarkView::PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj,
sal_Bool
SdrMarkView
::
PickMarkedObj
(
const
Point
&
rPnt
,
SdrObject
*&
rpObj
,
SdrPageView
*&
rpPV
,
sal_uIntPtr
*
pnMarkNum
,
sal_uIntPtr
nOptions
)
const
{
SortMarkedObjects
();
sal_B
ool
bBoundCheckOn2ndPass
=
(
nOptions
&
SDRSEARCH_PASS2BOUND
)
!=
0
;
sal_B
ool
bCheckNearestOn3rdPass
=
(
nOptions
&
SDRSEARCH_PASS3NEAREST
)
!=
0
;
b
ool
bBoundCheckOn2ndPass
=
(
nOptions
&
SDRSEARCH_PASS2BOUND
)
!=
0
;
b
ool
bCheckNearestOn3rdPass
=
(
nOptions
&
SDRSEARCH_PASS3NEAREST
)
!=
0
;
rpObj
=
NULL
;
rpPV
=
NULL
;
if
(
pnMarkNum
!=
NULL
)
*
pnMarkNum
=
CONTAINER_ENTRY_NOTFOUND
;
...
...
@@ -1970,7 +1970,7 @@ sal_Bool SdrMarkView::EnterMarkedGroup()
if
(
pPV
)
{
sal_Bool
bEnter
=
sal_F
alse
;
bool
bEnter
=
f
alse
;
for
(
sal_uInt32
nm
(
GetMarkedObjectCount
());
nm
>
0
&&
!
bEnter
;)
{
nm
--
;
...
...
@@ -1980,7 +1980,7 @@ sal_Bool SdrMarkView::EnterMarkedGroup()
if
(
pObj
->
IsGroupObject
())
{
if
(
pPV
->
EnterGroup
(
pObj
))
{
bRet
=
sal_True
;
bEnter
=
sal_T
rue
;
bEnter
=
t
rue
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment