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
59371dfc
Kaydet (Commit)
59371dfc
authored
Haz 03, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix spelling of field name mbColseByEdit->mbCloseByEdit
Change-Id: I640491dff8378e89d37596c5fcd9e9281c6e7874
üst
e2b260fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
LineWidthControl.cxx
svx/source/sidebar/line/LineWidthControl.cxx
+7
-7
LineWidthControl.hxx
svx/source/sidebar/line/LineWidthControl.hxx
+1
-1
No files found.
svx/source/sidebar/line/LineWidthControl.cxx
Dosyayı görüntüle @
59371dfc
...
@@ -50,7 +50,7 @@ LineWidthControl::LineWidthControl (
...
@@ -50,7 +50,7 @@ LineWidthControl::LineWidthControl (
mstrPT
(
SVX_RESSTR
(
STR_PT
)),
mstrPT
(
SVX_RESSTR
(
STR_PT
)),
mnCustomWidth
(
0
),
mnCustomWidth
(
0
),
mbCustom
(
false
),
mbCustom
(
false
),
mbC
ol
seByEdit
(
false
),
mbC
lo
seByEdit
(
false
),
mnTmpCusomWidth
(
0
),
mnTmpCusomWidth
(
0
),
mbVSFocus
(
true
),
mbVSFocus
(
true
),
maIMGCus
(
SVX_RES
(
IMG_WIDTH_CUSTOM
)),
maIMGCus
(
SVX_RES
(
IMG_WIDTH_CUSTOM
)),
...
@@ -198,7 +198,7 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e
...
@@ -198,7 +198,7 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e
{
{
mbVSFocus
=
true
;
mbVSFocus
=
true
;
maVSWidth
.
SetSelItem
(
0
);
maVSWidth
.
SetSelItem
(
0
);
mbC
ol
seByEdit
=
false
;
mbC
lo
seByEdit
=
false
;
meMapUnit
=
eMapUnit
;
meMapUnit
=
eMapUnit
;
SvtViewOptions
aWinOpt
(
E_WINDOW
,
SIDEBAR_LINE_WIDTH_GLOBAL_VALUE
);
SvtViewOptions
aWinOpt
(
E_WINDOW
,
SIDEBAR_LINE_WIDTH_GLOBAL_VALUE
);
if
(
aWinOpt
.
Exists
()
)
if
(
aWinOpt
.
Exists
()
)
...
@@ -277,7 +277,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
...
@@ -277,7 +277,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
mpBindings
->
GetDispatcher
()
->
Execute
(
SID_ATTR_LINE_WIDTH
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
0L
);
mpBindings
->
GetDispatcher
()
->
Execute
(
SID_ATTR_LINE_WIDTH
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
0L
);
mrLinePropertyPanel
.
SetWidthIcon
(
iPos
);
mrLinePropertyPanel
.
SetWidthIcon
(
iPos
);
mrLinePropertyPanel
.
SetWidth
(
nVal
);
mrLinePropertyPanel
.
SetWidth
(
nVal
);
mbC
ol
seByEdit
=
false
;
mbC
lo
seByEdit
=
false
;
mnTmpCusomWidth
=
0
;
mnTmpCusomWidth
=
0
;
}
}
else
if
(
iPos
==
9
)
else
if
(
iPos
==
9
)
...
@@ -290,7 +290,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
...
@@ -290,7 +290,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
XLineWidthItem
aWidthItem
(
nVal
);
XLineWidthItem
aWidthItem
(
nVal
);
mpBindings
->
GetDispatcher
()
->
Execute
(
SID_ATTR_LINE_WIDTH
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
0L
);
mpBindings
->
GetDispatcher
()
->
Execute
(
SID_ATTR_LINE_WIDTH
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
0L
);
mrLinePropertyPanel
.
SetWidth
(
nVal
);
mrLinePropertyPanel
.
SetWidth
(
nVal
);
mbC
ol
seByEdit
=
false
;
mbC
lo
seByEdit
=
false
;
mnTmpCusomWidth
=
0
;
mnTmpCusomWidth
=
0
;
}
}
else
else
...
@@ -328,13 +328,13 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
...
@@ -328,13 +328,13 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
XLineWidthItem
aWidthItem
(
nNewWidth
);
XLineWidthItem
aWidthItem
(
nNewWidth
);
mpBindings
->
GetDispatcher
()
->
Execute
(
SID_ATTR_LINE_WIDTH
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
0L
);
mpBindings
->
GetDispatcher
()
->
Execute
(
SID_ATTR_LINE_WIDTH
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
0L
);
mbC
ol
seByEdit
=
true
;
mbC
lo
seByEdit
=
true
;
mnTmpCusomWidth
=
nTmp
;
mnTmpCusomWidth
=
nTmp
;
/*for(sal_uInt16 i = 0; i < 8; i++)
/*for(sal_uInt16 i = 0; i < 8; i++)
{
{
if(nTmp == (sal_Int32)maVSWidth.GetItemData(i))
if(nTmp == (sal_Int32)maVSWidth.GetItemData(i))
{
{
mbC
ol
seByEdit = false;
mbC
lo
seByEdit = false;
break;
break;
}
}
}*/
}*/
...
@@ -348,7 +348,7 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
...
@@ -348,7 +348,7 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
bool
LineWidthControl
::
IsCloseByEdit
()
bool
LineWidthControl
::
IsCloseByEdit
()
{
{
return
mbC
ol
seByEdit
;
return
mbC
lo
seByEdit
;
}
}
...
...
svx/source/sidebar/line/LineWidthControl.hxx
Dosyayı görüntüle @
59371dfc
...
@@ -58,7 +58,7 @@ private:
...
@@ -58,7 +58,7 @@ private:
OUString
mstrPT
;
OUString
mstrPT
;
long
mnCustomWidth
;
long
mnCustomWidth
;
bool
mbCustom
;
bool
mbCustom
;
bool
mbC
ol
seByEdit
;
bool
mbC
lo
seByEdit
;
long
mnTmpCusomWidth
;
long
mnTmpCusomWidth
;
bool
mbVSFocus
;
bool
mbVSFocus
;
...
...
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