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
53516e9c
Kaydet (Commit)
53516e9c
authored
Şub 18, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: I857b81ea1eea27554980ca7c7a9f771d6aa7db61
üst
9d03b8e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
servobj.cxx
sc/source/ui/docshell/servobj.cxx
+10
-10
servobj.hxx
sc/source/ui/inc/servobj.hxx
+1
-1
No files found.
sc/source/ui/docshell/servobj.cxx
Dosyayı görüntüle @
53516e9c
...
...
@@ -31,7 +31,7 @@ using namespace formula;
// -----------------------------------------------------------------------
static
sal_B
ool
lcl_FillRangeFromName
(
ScRange
&
rRange
,
ScDocShell
*
pDocSh
,
const
OUString
&
rName
)
static
b
ool
lcl_FillRangeFromName
(
ScRange
&
rRange
,
ScDocShell
*
pDocSh
,
const
OUString
&
rName
)
{
if
(
pDocSh
)
{
...
...
@@ -43,7 +43,7 @@ static sal_Bool lcl_FillRangeFromName( ScRange& rRange, ScDocShell* pDocSh, cons
if
(
pData
)
{
if
(
pData
->
IsValidReference
(
rRange
)
)
return
sal_T
rue
;
return
t
rue
;
}
}
}
...
...
@@ -147,7 +147,7 @@ sal_Bool ScServerObject::GetData(
if
(
lcl_FillRangeFromName
(
aNew
,
pDocSh
,
aItemStr
)
&&
aNew
!=
aRange
)
{
aRange
=
aNew
;
bRefreshListener
=
sal_T
rue
;
bRefreshListener
=
t
rue
;
}
}
...
...
@@ -199,7 +199,7 @@ sal_Bool ScServerObject::GetData(
void
ScServerObject
::
Notify
(
SfxBroadcaster
&
rBC
,
const
SfxHint
&
rHint
)
{
sal_B
ool
bDataChanged
=
false
;
b
ool
bDataChanged
=
false
;
// DocShell can't be tested via type info, because SFX_HINT_DYING comes from the dtor
if
(
&
rBC
==
pDocSh
)
...
...
@@ -220,7 +220,7 @@ void ScServerObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
// check if named range was modified
ScRange
aNew
;
if
(
lcl_FillRangeFromName
(
aNew
,
pDocSh
,
aItemStr
)
&&
aNew
!=
aRange
)
bDataChanged
=
sal_T
rue
;
bDataChanged
=
t
rue
;
}
}
else
...
...
@@ -229,14 +229,14 @@ void ScServerObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
const
ScHint
*
pScHint
=
PTR_CAST
(
ScHint
,
&
rHint
);
if
(
pScHint
&&
(
pScHint
->
GetId
()
&
SC_HINT_DATACHANGED
))
bDataChanged
=
sal_T
rue
;
bDataChanged
=
t
rue
;
else
if
(
rHint
.
ISA
(
ScAreaChangedHint
))
// position of broadcaster changed
{
ScRange
aNewRange
=
((
const
ScAreaChangedHint
&
)
rHint
).
GetRange
();
if
(
aRange
!=
aNewRange
)
{
bRefreshListener
=
sal_T
rue
;
bDataChanged
=
sal_T
rue
;
bRefreshListener
=
t
rue
;
bDataChanged
=
t
rue
;
}
}
else
if
(
rHint
.
ISA
(
SfxSimpleHint
))
...
...
@@ -246,8 +246,8 @@ void ScServerObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
// If the range is being deleted, listening must be restarted
// after the deletion is complete (done in GetData)
bRefreshListener
=
sal_T
rue
;
bDataChanged
=
sal_T
rue
;
bRefreshListener
=
t
rue
;
bDataChanged
=
t
rue
;
}
}
}
...
...
sc/source/ui/inc/servobj.hxx
Dosyayı görüntüle @
53516e9c
...
...
@@ -46,7 +46,7 @@ private:
ScDocShell
*
pDocSh
;
ScRange
aRange
;
OUString
aItemStr
;
sal_B
ool
bRefreshListener
;
b
ool
bRefreshListener
;
void
Clear
();
...
...
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