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
eeae5cf0
Kaydet (Commit)
eeae5cf0
authored
Mar 05, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: sal_Bool->bool
Change-Id: I799d547cb3f81aeae19d0c8b6a2161b3064539f0
üst
729c93c1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
43 deletions
+43
-43
obj3d.hxx
include/svx/obj3d.hxx
+8
-8
optgrid.hxx
include/svx/optgrid.hxx
+13
-13
optsitem.cxx
sd/source/ui/app/optsitem.cxx
+4
-4
optsitem.hxx
sd/source/ui/inc/optsitem.hxx
+4
-4
optgrid.cxx
svx/source/dialog/optgrid.cxx
+13
-13
appopt.cxx
sw/source/core/uibase/app/appopt.cxx
+1
-1
No files found.
include/svx/obj3d.hxx
Dosyayı görüntüle @
eeae5cf0
...
@@ -133,7 +133,7 @@ protected:
...
@@ -133,7 +133,7 @@ protected:
// and no instances should be created from anyone, so i move the constructors
// and no instances should be created from anyone, so i move the constructors
// to protected area
// to protected area
E3dObject
();
E3dObject
();
E3dObject
(
sal_B
ool
bIsFromChart
);
E3dObject
(
b
ool
bIsFromChart
);
public
:
public
:
TYPEINFO
();
TYPEINFO
();
...
@@ -250,7 +250,7 @@ public :
...
@@ -250,7 +250,7 @@ public :
virtual
void
AddToHdlList
(
SdrHdlList
&
rHdlList
)
const
;
virtual
void
AddToHdlList
(
SdrHdlList
&
rHdlList
)
const
;
// DoubleSided: sal_True/FALSE
// DoubleSided: sal_True/FALSE
sal_B
ool
GetDoubleSided
()
const
b
ool
GetDoubleSided
()
const
{
return
((
const
Svx3DDoubleSidedItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_DOUBLE_SIDED
)).
GetValue
();
}
{
return
((
const
Svx3DDoubleSidedItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_DOUBLE_SIDED
)).
GetValue
();
}
// NormalsKind: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
// NormalsKind: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
...
@@ -258,7 +258,7 @@ public :
...
@@ -258,7 +258,7 @@ public :
{
return
((
const
Svx3DNormalsKindItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_NORMALS_KIND
)).
GetValue
();
}
{
return
((
const
Svx3DNormalsKindItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_NORMALS_KIND
)).
GetValue
();
}
// NormalsInvert: sal_True/FALSE
// NormalsInvert: sal_True/FALSE
sal_B
ool
GetNormalsInvert
()
const
b
ool
GetNormalsInvert
()
const
{
return
((
const
Svx3DNormalsInvertItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_NORMALS_INVERT
)).
GetValue
();
}
{
return
((
const
Svx3DNormalsInvertItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_NORMALS_INVERT
)).
GetValue
();
}
// TextureProjX: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
// TextureProjX: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
...
@@ -270,7 +270,7 @@ public :
...
@@ -270,7 +270,7 @@ public :
{
return
((
const
Svx3DTextureProjectionYItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_TEXTURE_PROJ_Y
)).
GetValue
();
}
{
return
((
const
Svx3DTextureProjectionYItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_TEXTURE_PROJ_Y
)).
GetValue
();
}
// Shadow3D: sal_True/FALSE
// Shadow3D: sal_True/FALSE
sal_B
ool
GetShadow3D
()
const
b
ool
GetShadow3D
()
const
{
return
((
const
Svx3DShadow3DItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_SHADOW_3D
)).
GetValue
();
}
{
return
((
const
Svx3DShadow3DItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_SHADOW_3D
)).
GetValue
();
}
// MaterialColor: Color
// MaterialColor: Color
...
@@ -290,21 +290,21 @@ public :
...
@@ -290,21 +290,21 @@ public :
{
return
((
const
Svx3DMaterialSpecularIntensityItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY
)).
GetValue
();
}
{
return
((
const
Svx3DMaterialSpecularIntensityItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY
)).
GetValue
();
}
// TextureFilter: sal_True/FALSE
// TextureFilter: sal_True/FALSE
sal_B
ool
GetTextureFilter
()
const
b
ool
GetTextureFilter
()
const
{
return
((
const
Svx3DTextureFilterItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_TEXTURE_FILTER
)).
GetValue
();
}
{
return
((
const
Svx3DTextureFilterItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_TEXTURE_FILTER
)).
GetValue
();
}
// #i28528#
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
sal_B
ool
GetReducedLineGeometry
()
const
b
ool
GetReducedLineGeometry
()
const
{
return
((
const
Svx3DReducedLineGeometryItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY
)).
GetValue
();
}
{
return
((
const
Svx3DReducedLineGeometryItem
&
)
GetObjectItemSet
().
Get
(
SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY
)).
GetValue
();
}
virtual
sal_uInt16
GetObjIdentifier
()
const
;
virtual
sal_uInt16
GetObjIdentifier
()
const
;
virtual
void
RecalcSnapRect
();
virtual
void
RecalcSnapRect
();
// set/get parameters for geometry creation
// set/get parameters for geometry creation
sal_B
ool
GetCreateNormals
()
const
{
return
bCreateNormals
;
}
b
ool
GetCreateNormals
()
const
{
return
bCreateNormals
;
}
sal_B
ool
GetCreateTexture
()
const
{
return
bCreateTexture
;
}
b
ool
GetCreateTexture
()
const
{
return
bCreateTexture
;
}
virtual
E3dCompoundObject
*
Clone
()
const
;
virtual
E3dCompoundObject
*
Clone
()
const
;
...
...
include/svx/optgrid.hxx
Dosyayı görüntüle @
eeae5cf0
...
@@ -39,10 +39,10 @@ protected:
...
@@ -39,10 +39,10 @@ protected:
sal_uInt32
nFldDivisionY
;
sal_uInt32
nFldDivisionY
;
sal_uInt32
nFldSnapX
;
sal_uInt32
nFldSnapX
;
sal_uInt32
nFldSnapY
;
sal_uInt32
nFldSnapY
;
sal_Bool
bUseGridsnap
:
1
;
bool
bUseGridsnap
:
1
;
sal_Bool
bSynchronize
:
1
;
bool
bSynchronize
:
1
;
sal_Bool
bGridVisible
:
1
;
bool
bGridVisible
:
1
;
sal_Bool
bEqualGrid
:
1
;
bool
bEqualGrid
:
1
;
public
:
public
:
SvxOptionsGrid
();
SvxOptionsGrid
();
...
@@ -54,10 +54,10 @@ public:
...
@@ -54,10 +54,10 @@ public:
void
SetFldDivisionY
(
sal_uInt32
nSet
){
nFldDivisionY
=
nSet
;}
void
SetFldDivisionY
(
sal_uInt32
nSet
){
nFldDivisionY
=
nSet
;}
void
SetFldSnapX
(
sal_uInt32
nSet
){
nFldSnapX
=
nSet
;}
void
SetFldSnapX
(
sal_uInt32
nSet
){
nFldSnapX
=
nSet
;}
void
SetFldSnapY
(
sal_uInt32
nSet
){
nFldSnapY
=
nSet
;}
void
SetFldSnapY
(
sal_uInt32
nSet
){
nFldSnapY
=
nSet
;}
void
SetUseGridSnap
(
sal_B
ool
bSet
)
{
bUseGridsnap
=
bSet
;}
void
SetUseGridSnap
(
b
ool
bSet
)
{
bUseGridsnap
=
bSet
;}
void
SetSynchronize
(
sal_B
ool
bSet
)
{
bSynchronize
=
bSet
;}
void
SetSynchronize
(
b
ool
bSet
)
{
bSynchronize
=
bSet
;}
void
SetGridVisible
(
sal_B
ool
bSet
)
{
bGridVisible
=
bSet
;}
void
SetGridVisible
(
b
ool
bSet
)
{
bGridVisible
=
bSet
;}
void
SetEqualGrid
(
sal_B
ool
bSet
)
{
bEqualGrid
=
bSet
;}
void
SetEqualGrid
(
b
ool
bSet
)
{
bEqualGrid
=
bSet
;}
sal_uInt32
GetFldDrawX
(
)
const
{
return
nFldDrawX
;
}
sal_uInt32
GetFldDrawX
(
)
const
{
return
nFldDrawX
;
}
sal_uInt32
GetFldDivisionX
()
const
{
return
nFldDivisionX
;}
sal_uInt32
GetFldDivisionX
()
const
{
return
nFldDivisionX
;}
...
@@ -65,10 +65,10 @@ public:
...
@@ -65,10 +65,10 @@ public:
sal_uInt32
GetFldDivisionY
()
const
{
return
nFldDivisionY
;}
sal_uInt32
GetFldDivisionY
()
const
{
return
nFldDivisionY
;}
sal_uInt32
GetFldSnapX
(
)
const
{
return
nFldSnapX
;
}
sal_uInt32
GetFldSnapX
(
)
const
{
return
nFldSnapX
;
}
sal_uInt32
GetFldSnapY
(
)
const
{
return
nFldSnapY
;
}
sal_uInt32
GetFldSnapY
(
)
const
{
return
nFldSnapY
;
}
sal_Bool
GetUseGridSnap
(
)
const
{
return
bUseGridsnap
;
}
bool
GetUseGridSnap
(
)
const
{
return
bUseGridsnap
;
}
sal_Bool
GetSynchronize
(
)
const
{
return
bSynchronize
;
}
bool
GetSynchronize
(
)
const
{
return
bSynchronize
;
}
sal_Bool
GetGridVisible
(
)
const
{
return
bGridVisible
;
}
bool
GetGridVisible
(
)
const
{
return
bGridVisible
;
}
sal_Bool
GetEqualGrid
()
const
{
return
bEqualGrid
;
}
bool
GetEqualGrid
()
const
{
return
bEqualGrid
;
}
};
};
// class SvxGridItem -----------------------------------------------------
// class SvxGridItem -----------------------------------------------------
...
@@ -137,7 +137,7 @@ protected:
...
@@ -137,7 +137,7 @@ protected:
MetricField
*
pMtrFldBezAngle
;
MetricField
*
pMtrFldBezAngle
;
private
:
private
:
sal_B
ool
bAttrModified
;
b
ool
bAttrModified
;
DECL_LINK
(
ClickRotateHdl_Impl
,
void
*
);
DECL_LINK
(
ClickRotateHdl_Impl
,
void
*
);
DECL_LINK
(
ChangeDrawHdl_Impl
,
MetricField
*
);
DECL_LINK
(
ChangeDrawHdl_Impl
,
MetricField
*
);
...
...
sd/source/ui/app/optsitem.cxx
Dosyayı görüntüle @
eeae5cf0
...
@@ -1107,10 +1107,10 @@ void SdOptionsGrid::SetDefaults()
...
@@ -1107,10 +1107,10 @@ void SdOptionsGrid::SetDefaults()
SetFldDrawY
(
nVal
);
SetFldDrawY
(
nVal
);
SetFldSnapX
(
nVal
);
SetFldSnapX
(
nVal
);
SetFldSnapY
(
nVal
);
SetFldSnapY
(
nVal
);
SetUseGridSnap
(
sal_F
alse
);
SetUseGridSnap
(
f
alse
);
SetSynchronize
(
sal_T
rue
);
SetSynchronize
(
t
rue
);
SetGridVisible
(
sal_F
alse
);
SetGridVisible
(
f
alse
);
SetEqualGrid
(
sal_T
rue
);
SetEqualGrid
(
t
rue
);
}
}
...
...
sd/source/ui/inc/optsitem.hxx
Dosyayı görüntüle @
eeae5cf0
...
@@ -477,10 +477,10 @@ public:
...
@@ -477,10 +477,10 @@ public:
void
SetFldDivisionY
(
sal_uInt32
nSet
)
{
if
(
nSet
!=
SvxOptionsGrid
::
GetFldDivisionY
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetFldDivisionY
(
nSet
);
}
}
void
SetFldDivisionY
(
sal_uInt32
nSet
)
{
if
(
nSet
!=
SvxOptionsGrid
::
GetFldDivisionY
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetFldDivisionY
(
nSet
);
}
}
void
SetFldSnapX
(
sal_uInt32
nSet
)
{
if
(
nSet
!=
SvxOptionsGrid
::
GetFldSnapX
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetFldSnapX
(
nSet
);
}
}
void
SetFldSnapX
(
sal_uInt32
nSet
)
{
if
(
nSet
!=
SvxOptionsGrid
::
GetFldSnapX
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetFldSnapX
(
nSet
);
}
}
void
SetFldSnapY
(
sal_uInt32
nSet
)
{
if
(
nSet
!=
SvxOptionsGrid
::
GetFldSnapY
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetFldSnapY
(
nSet
);
}
}
void
SetFldSnapY
(
sal_uInt32
nSet
)
{
if
(
nSet
!=
SvxOptionsGrid
::
GetFldSnapY
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetFldSnapY
(
nSet
);
}
}
void
SetUseGridSnap
(
sal_B
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetUseGridSnap
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetUseGridSnap
(
bSet
);
}
}
void
SetUseGridSnap
(
b
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetUseGridSnap
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetUseGridSnap
(
bSet
);
}
}
void
SetSynchronize
(
sal_B
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetSynchronize
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetSynchronize
(
bSet
);
}
}
void
SetSynchronize
(
b
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetSynchronize
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetSynchronize
(
bSet
);
}
}
void
SetGridVisible
(
sal_B
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetGridVisible
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetGridVisible
(
bSet
);
}
}
void
SetGridVisible
(
b
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetGridVisible
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetGridVisible
(
bSet
);
}
}
void
SetEqualGrid
(
sal_B
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetEqualGrid
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetEqualGrid
(
bSet
);
}
}
void
SetEqualGrid
(
b
ool
bSet
)
{
if
(
bSet
!=
SvxOptionsGrid
::
GetEqualGrid
()
)
{
OptionsChanged
();
SvxOptionsGrid
::
SetEqualGrid
(
bSet
);
}
}
};
};
class
SdOptionsGridItem
:
public
SvxGridItem
class
SdOptionsGridItem
:
public
SvxGridItem
...
...
svx/source/dialog/optgrid.cxx
Dosyayı görüntüle @
eeae5cf0
...
@@ -52,10 +52,10 @@ SvxOptionsGrid::SvxOptionsGrid() :
...
@@ -52,10 +52,10 @@ SvxOptionsGrid::SvxOptionsGrid() :
nFldDivisionY
(
0
),
nFldDivisionY
(
0
),
nFldSnapX
(
100
),
nFldSnapX
(
100
),
nFldSnapY
(
100
),
nFldSnapY
(
100
),
bUseGridsnap
(
0
),
bUseGridsnap
(
false
),
bSynchronize
(
1
),
bSynchronize
(
true
),
bGridVisible
(
0
),
bGridVisible
(
false
),
bEqualGrid
(
1
)
bEqualGrid
(
true
)
{
{
}
}
...
@@ -129,7 +129,7 @@ SfxItemPresentation SvxGridItem::GetPresentation
...
@@ -129,7 +129,7 @@ SfxItemPresentation SvxGridItem::GetPresentation
SvxGridTabPage
::
SvxGridTabPage
(
Window
*
pParent
,
const
SfxItemSet
&
rCoreSet
)
:
SvxGridTabPage
::
SvxGridTabPage
(
Window
*
pParent
,
const
SfxItemSet
&
rCoreSet
)
:
SfxTabPage
(
pParent
,
"OptGridPage"
,
"svx/ui/optgridpage.ui"
,
rCoreSet
),
SfxTabPage
(
pParent
,
"OptGridPage"
,
"svx/ui/optgridpage.ui"
,
rCoreSet
),
bAttrModified
(
sal_F
alse
)
bAttrModified
(
f
alse
)
{
{
get
(
pCbxUseGridsnap
,
"usegridsnap"
);
get
(
pCbxUseGridsnap
,
"usegridsnap"
);
get
(
pCbxGridVisible
,
"gridvisible"
);
get
(
pCbxGridVisible
,
"gridvisible"
);
...
@@ -226,9 +226,9 @@ void SvxGridTabPage::Reset( const SfxItemSet& rSet )
...
@@ -226,9 +226,9 @@ void SvxGridTabPage::Reset( const SfxItemSet& rSet )
(
const
SfxPoolItem
**
)
&
pAttr
))
(
const
SfxPoolItem
**
)
&
pAttr
))
{
{
const
SvxGridItem
*
pGridAttr
=
(
SvxGridItem
*
)
pAttr
;
const
SvxGridItem
*
pGridAttr
=
(
SvxGridItem
*
)
pAttr
;
pCbxUseGridsnap
->
Check
(
pGridAttr
->
bUseGridsnap
==
1
);
pCbxUseGridsnap
->
Check
(
pGridAttr
->
bUseGridsnap
);
pCbxSynchronize
->
Check
(
pGridAttr
->
bSynchronize
==
1
);
pCbxSynchronize
->
Check
(
pGridAttr
->
bSynchronize
);
pCbxGridVisible
->
Check
(
pGridAttr
->
bGridVisible
==
1
);
pCbxGridVisible
->
Check
(
pGridAttr
->
bGridVisible
);
SfxMapUnit
eUnit
=
SfxMapUnit
eUnit
=
rSet
.
GetPool
()
->
GetMetric
(
GetWhich
(
SID_ATTR_GRID_OPTIONS
)
);
rSet
.
GetPool
()
->
GetMetric
(
GetWhich
(
SID_ATTR_GRID_OPTIONS
)
);
...
@@ -240,7 +240,7 @@ void SvxGridTabPage::Reset( const SfxItemSet& rSet )
...
@@ -240,7 +240,7 @@ void SvxGridTabPage::Reset( const SfxItemSet& rSet )
}
}
ChangeGridsnapHdl_Impl
(
pCbxUseGridsnap
);
ChangeGridsnapHdl_Impl
(
pCbxUseGridsnap
);
bAttrModified
=
sal_F
alse
;
bAttrModified
=
f
alse
;
}
}
...
@@ -252,7 +252,7 @@ void SvxGridTabPage::ActivatePage( const SfxItemSet& rSet )
...
@@ -252,7 +252,7 @@ void SvxGridTabPage::ActivatePage( const SfxItemSet& rSet )
(
const
SfxPoolItem
**
)
&
pAttr
))
(
const
SfxPoolItem
**
)
&
pAttr
))
{
{
const
SvxGridItem
*
pGridAttr
=
(
SvxGridItem
*
)
pAttr
;
const
SvxGridItem
*
pGridAttr
=
(
SvxGridItem
*
)
pAttr
;
pCbxUseGridsnap
->
Check
(
pGridAttr
->
bUseGridsnap
==
1
);
pCbxUseGridsnap
->
Check
(
pGridAttr
->
bUseGridsnap
);
ChangeGridsnapHdl_Impl
(
pCbxUseGridsnap
);
ChangeGridsnapHdl_Impl
(
pCbxUseGridsnap
);
}
}
...
@@ -298,7 +298,7 @@ int SvxGridTabPage::DeactivatePage( SfxItemSet* _pSet )
...
@@ -298,7 +298,7 @@ int SvxGridTabPage::DeactivatePage( SfxItemSet* _pSet )
IMPL_LINK
(
SvxGridTabPage
,
ChangeDrawHdl_Impl
,
MetricField
*
,
pField
)
IMPL_LINK
(
SvxGridTabPage
,
ChangeDrawHdl_Impl
,
MetricField
*
,
pField
)
{
{
bAttrModified
=
sal_T
rue
;
bAttrModified
=
t
rue
;
if
(
pCbxSynchronize
->
IsChecked
()
)
if
(
pCbxSynchronize
->
IsChecked
()
)
{
{
if
(
pField
==
pMtrFldDrawX
)
if
(
pField
==
pMtrFldDrawX
)
...
@@ -324,7 +324,7 @@ IMPL_LINK_NOARG(SvxGridTabPage, ClickRotateHdl_Impl)
...
@@ -324,7 +324,7 @@ IMPL_LINK_NOARG(SvxGridTabPage, ClickRotateHdl_Impl)
IMPL_LINK
(
SvxGridTabPage
,
ChangeDivisionHdl_Impl
,
NumericField
*
,
pField
)
IMPL_LINK
(
SvxGridTabPage
,
ChangeDivisionHdl_Impl
,
NumericField
*
,
pField
)
{
{
bAttrModified
=
sal_T
rue
;
bAttrModified
=
t
rue
;
if
(
pCbxSynchronize
->
IsChecked
()
)
if
(
pCbxSynchronize
->
IsChecked
()
)
{
{
if
(
pNumFldDivisionX
==
pField
)
if
(
pNumFldDivisionX
==
pField
)
...
@@ -338,7 +338,7 @@ IMPL_LINK( SvxGridTabPage, ChangeDivisionHdl_Impl, NumericField *, pField )
...
@@ -338,7 +338,7 @@ IMPL_LINK( SvxGridTabPage, ChangeDivisionHdl_Impl, NumericField *, pField )
IMPL_LINK_NOARG
(
SvxGridTabPage
,
ChangeGridsnapHdl_Impl
)
IMPL_LINK_NOARG
(
SvxGridTabPage
,
ChangeGridsnapHdl_Impl
)
{
{
bAttrModified
=
sal_T
rue
;
bAttrModified
=
t
rue
;
return
0
;
return
0
;
}
}
...
...
sw/source/core/uibase/app/appopt.cxx
Dosyayı görüntüle @
eeae5cf0
...
@@ -350,7 +350,7 @@ void SwModule::ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet )
...
@@ -350,7 +350,7 @@ void SwModule::ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet )
aViewOpt
.
SetSnap
(
pGridItem
->
GetUseGridSnap
()
);
aViewOpt
.
SetSnap
(
pGridItem
->
GetUseGridSnap
()
);
aViewOpt
.
SetSynchronize
(
pGridItem
->
GetSynchronize
());
aViewOpt
.
SetSynchronize
(
pGridItem
->
GetSynchronize
());
if
(
aViewOpt
.
IsGridVisible
()
!=
pGridItem
->
GetGridVisible
(
)
)
if
(
aViewOpt
.
IsGridVisible
()
!=
(
pGridItem
->
GetGridVisible
()
?
1
:
0
)
)
aViewOpt
.
SetGridVisible
(
pGridItem
->
GetGridVisible
());
aViewOpt
.
SetGridVisible
(
pGridItem
->
GetGridVisible
());
Size
aSize
=
Size
(
pGridItem
->
GetFldDrawX
()
,
Size
aSize
=
Size
(
pGridItem
->
GetFldDrawX
()
,
pGridItem
->
GetFldDrawY
()
);
pGridItem
->
GetFldDrawY
()
);
...
...
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