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
7574a78b
Kaydet (Commit)
7574a78b
authored
Şub 12, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: I090cfc067103e46ea7837e33734eed2da1e46bd9
üst
e3b03a02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
36 deletions
+36
-36
inputopt.hxx
sc/inc/inputopt.hxx
+31
-31
inputopt.cxx
sc/source/core/tool/inputopt.cxx
+4
-4
scmod.cxx
sc/source/ui/app/scmod.cxx
+1
-1
No files found.
sc/inc/inputopt.hxx
Dosyayı görüntüle @
7574a78b
...
...
@@ -26,17 +26,17 @@
class
ScInputOptions
{
private
:
sal_uInt16
nMoveDir
;
// enum ScDirection
sal_B
ool
bMoveSelection
;
sal_B
ool
bEnterEdit
;
sal_B
ool
bExtendFormat
;
sal_B
ool
bRangeFinder
;
sal_B
ool
bExpandRefs
;
sal_B
ool
bMarkHeader
;
sal_B
ool
bUseTabCol
;
sal_B
ool
bTextWysiwyg
;
sal_B
ool
bReplCellsWarn
;
sal_B
ool
bLegacyCellSelection
;
sal_uInt16
nMoveDir
;
// enum ScDirection
b
ool
bMoveSelection
;
b
ool
bEnterEdit
;
b
ool
bExtendFormat
;
b
ool
bRangeFinder
;
b
ool
bExpandRefs
;
b
ool
bMarkHeader
;
b
ool
bUseTabCol
;
b
ool
bTextWysiwyg
;
b
ool
bReplCellsWarn
;
b
ool
bLegacyCellSelection
;
public
:
ScInputOptions
();
...
...
@@ -47,26 +47,26 @@ public:
void
SetMoveDir
(
sal_uInt16
nNew
)
{
nMoveDir
=
nNew
;
}
sal_uInt16
GetMoveDir
()
const
{
return
nMoveDir
;
}
void
SetMoveSelection
(
sal_B
ool
bSet
)
{
bMoveSelection
=
bSet
;
}
sal_B
ool
GetMoveSelection
()
const
{
return
bMoveSelection
;
}
void
SetEnterEdit
(
sal_B
ool
bSet
)
{
bEnterEdit
=
bSet
;
}
sal_B
ool
GetEnterEdit
()
const
{
return
bEnterEdit
;
}
void
SetExtendFormat
(
sal_B
ool
bSet
)
{
bExtendFormat
=
bSet
;
}
sal_B
ool
GetExtendFormat
()
const
{
return
bExtendFormat
;
}
void
SetRangeFinder
(
sal_B
ool
bSet
)
{
bRangeFinder
=
bSet
;
}
sal_B
ool
GetRangeFinder
()
const
{
return
bRangeFinder
;
}
void
SetExpandRefs
(
sal_B
ool
bSet
)
{
bExpandRefs
=
bSet
;
}
sal_B
ool
GetExpandRefs
()
const
{
return
bExpandRefs
;
}
void
SetMarkHeader
(
sal_B
ool
bSet
)
{
bMarkHeader
=
bSet
;
}
sal_B
ool
GetMarkHeader
()
const
{
return
bMarkHeader
;
}
void
SetUseTabCol
(
sal_B
ool
bSet
)
{
bUseTabCol
=
bSet
;
}
sal_B
ool
GetUseTabCol
()
const
{
return
bUseTabCol
;
}
void
SetTextWysiwyg
(
sal_B
ool
bSet
)
{
bTextWysiwyg
=
bSet
;
}
sal_B
ool
GetTextWysiwyg
()
const
{
return
bTextWysiwyg
;
}
void
SetReplaceCellsWarn
(
sal_B
ool
bSet
)
{
bReplCellsWarn
=
bSet
;
}
sal_B
ool
GetReplaceCellsWarn
()
const
{
return
bReplCellsWarn
;
}
void
SetLegacyCellSelection
(
sal_B
ool
bSet
)
{
bLegacyCellSelection
=
bSet
;
}
sal_B
ool
GetLegacyCellSelection
()
const
{
return
bLegacyCellSelection
;
}
void
SetMoveSelection
(
b
ool
bSet
)
{
bMoveSelection
=
bSet
;
}
b
ool
GetMoveSelection
()
const
{
return
bMoveSelection
;
}
void
SetEnterEdit
(
b
ool
bSet
)
{
bEnterEdit
=
bSet
;
}
b
ool
GetEnterEdit
()
const
{
return
bEnterEdit
;
}
void
SetExtendFormat
(
b
ool
bSet
)
{
bExtendFormat
=
bSet
;
}
b
ool
GetExtendFormat
()
const
{
return
bExtendFormat
;
}
void
SetRangeFinder
(
b
ool
bSet
)
{
bRangeFinder
=
bSet
;
}
b
ool
GetRangeFinder
()
const
{
return
bRangeFinder
;
}
void
SetExpandRefs
(
b
ool
bSet
)
{
bExpandRefs
=
bSet
;
}
b
ool
GetExpandRefs
()
const
{
return
bExpandRefs
;
}
void
SetMarkHeader
(
b
ool
bSet
)
{
bMarkHeader
=
bSet
;
}
b
ool
GetMarkHeader
()
const
{
return
bMarkHeader
;
}
void
SetUseTabCol
(
b
ool
bSet
)
{
bUseTabCol
=
bSet
;
}
b
ool
GetUseTabCol
()
const
{
return
bUseTabCol
;
}
void
SetTextWysiwyg
(
b
ool
bSet
)
{
bTextWysiwyg
=
bSet
;
}
b
ool
GetTextWysiwyg
()
const
{
return
bTextWysiwyg
;
}
void
SetReplaceCellsWarn
(
b
ool
bSet
)
{
bReplCellsWarn
=
bSet
;
}
b
ool
GetReplaceCellsWarn
()
const
{
return
bReplCellsWarn
;
}
void
SetLegacyCellSelection
(
b
ool
bSet
)
{
bLegacyCellSelection
=
bSet
;
}
b
ool
GetLegacyCellSelection
()
const
{
return
bLegacyCellSelection
;
}
const
ScInputOptions
&
operator
=
(
const
ScInputOptions
&
rOpt
);
};
...
...
sc/source/core/tool/inputopt.cxx
Dosyayı görüntüle @
7574a78b
...
...
@@ -50,15 +50,15 @@ ScInputOptions::~ScInputOptions()
void
ScInputOptions
::
SetDefaults
()
{
nMoveDir
=
DIR_BOTTOM
;
bMoveSelection
=
sal_T
rue
;
bMoveSelection
=
t
rue
;
bEnterEdit
=
false
;
bExtendFormat
=
false
;
bRangeFinder
=
sal_T
rue
;
bRangeFinder
=
t
rue
;
bExpandRefs
=
false
;
bMarkHeader
=
sal_T
rue
;
bMarkHeader
=
t
rue
;
bUseTabCol
=
false
;
bTextWysiwyg
=
false
;
bReplCellsWarn
=
sal_T
rue
;
bReplCellsWarn
=
t
rue
;
bLegacyCellSelection
=
false
;
}
...
...
sc/source/ui/app/scmod.cxx
Dosyayı görüntüle @
7574a78b
...
...
@@ -1288,7 +1288,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
if
(
rOptSet
.
HasItem
(
SID_SC_INPUT_TEXTWYSIWYG
,
&
pItem
)
)
{
sal_Bool
bNew
=
((
const
SfxBoolItem
*
)
pItem
)
->
GetValue
();
if
(
bNew
!=
pInputCfg
->
GetTextWysiwyg
(
)
)
if
(
bNew
!=
(
pInputCfg
->
GetTextWysiwyg
()
?
1
:
0
)
)
{
pInputCfg
->
SetTextWysiwyg
(
bNew
);
bSaveInputOptions
=
true
;
...
...
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