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
753d9ac1
Kaydet (Commit)
753d9ac1
authored
Şub 19, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: Ib38c27c67000bba676d36e7c17e6ebcac21e91b4
üst
dee3ec7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
viewutil.hxx
sc/source/ui/inc/viewutil.hxx
+3
-3
viewutil.cxx
sc/source/ui/view/viewutil.cxx
+7
-8
No files found.
sc/source/ui/inc/viewutil.hxx
Dosyayı görüntüle @
753d9ac1
...
@@ -40,12 +40,12 @@ enum ScUpdateMode { SC_UPDATE_ALL, SC_UPDATE_CHANGED, SC_UPDATE_MARKS };
...
@@ -40,12 +40,12 @@ enum ScUpdateMode { SC_UPDATE_ALL, SC_UPDATE_CHANGED, SC_UPDATE_MARKS };
class
SC_DLLPUBLIC
ScViewUtil
class
SC_DLLPUBLIC
ScViewUtil
{
{
public
:
public
:
static
sal_B
ool
ExecuteCharMap
(
const
SvxFontItem
&
rOldFont
,
static
b
ool
ExecuteCharMap
(
const
SvxFontItem
&
rOldFont
,
SfxViewFrame
&
rFrame
,
SfxViewFrame
&
rFrame
,
SvxFontItem
&
rNewFont
,
SvxFontItem
&
rNewFont
,
OUString
&
rString
);
OUString
&
rString
);
static
sal_B
ool
IsActionShown
(
const
ScChangeAction
&
rAction
,
static
b
ool
IsActionShown
(
const
ScChangeAction
&
rAction
,
const
ScChangeViewSettings
&
rSettings
,
const
ScChangeViewSettings
&
rSettings
,
ScDocument
&
rDocument
);
ScDocument
&
rDocument
);
...
@@ -84,7 +84,7 @@ private:
...
@@ -84,7 +84,7 @@ private:
public
:
public
:
ScUpdateRect
(
SCCOL
nX1
,
SCROW
nY1
,
SCCOL
nX2
,
SCROW
nY2
);
ScUpdateRect
(
SCCOL
nX1
,
SCROW
nY1
,
SCCOL
nX2
,
SCROW
nY2
);
void
SetNew
(
SCCOL
nX1
,
SCROW
nY1
,
SCCOL
nX2
,
SCROW
nY2
);
void
SetNew
(
SCCOL
nX1
,
SCROW
nY1
,
SCCOL
nX2
,
SCROW
nY2
);
sal_B
ool
GetDiff
(
SCCOL
&
rX1
,
SCROW
&
rY1
,
SCCOL
&
rX2
,
SCROW
&
rY2
);
b
ool
GetDiff
(
SCCOL
&
rX1
,
SCROW
&
rY1
,
SCCOL
&
rX2
,
SCROW
&
rY2
);
};
};
#endif
#endif
...
...
sc/source/ui/view/viewutil.cxx
Dosyayı görüntüle @
753d9ac1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
/*
* This file is part of the LibreOffice project.
* This file is part of the LibreOffice project.
*
*
...
@@ -133,7 +132,7 @@ sal_Int32 ScViewUtil::GetTransliterationType( sal_uInt16 nSlotID )
...
@@ -133,7 +132,7 @@ sal_Int32 ScViewUtil::GetTransliterationType( sal_uInt16 nSlotID )
return
nType
;
return
nType
;
}
}
sal_B
ool
ScViewUtil
::
IsActionShown
(
const
ScChangeAction
&
rAction
,
b
ool
ScViewUtil
::
IsActionShown
(
const
ScChangeAction
&
rAction
,
const
ScChangeViewSettings
&
rSettings
,
const
ScChangeViewSettings
&
rSettings
,
ScDocument
&
rDocument
)
ScDocument
&
rDocument
)
{
{
...
@@ -233,7 +232,7 @@ sal_Bool ScViewUtil::IsActionShown( const ScChangeAction& rAction,
...
@@ -233,7 +232,7 @@ sal_Bool ScViewUtil::IsActionShown( const ScChangeAction& rAction,
}
}
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
void
ScViewUtil
::
UnmarkFiltered
(
ScMarkData
&
rMark
,
ScDocument
*
pDoc
)
void
ScViewUtil
::
UnmarkFiltered
(
ScMarkData
&
rMark
,
ScDocument
*
pDoc
)
...
@@ -339,12 +338,12 @@ void ScViewUtil::HideDisabledSlot( SfxItemSet& rSet, SfxBindings& rBindings, sal
...
@@ -339,12 +338,12 @@ void ScViewUtil::HideDisabledSlot( SfxItemSet& rSet, SfxBindings& rBindings, sal
}
}
sal_B
ool
ScViewUtil
::
ExecuteCharMap
(
const
SvxFontItem
&
rOldFont
,
b
ool
ScViewUtil
::
ExecuteCharMap
(
const
SvxFontItem
&
rOldFont
,
SfxViewFrame
&
rFrame
,
SfxViewFrame
&
rFrame
,
SvxFontItem
&
rNewFont
,
SvxFontItem
&
rNewFont
,
OUString
&
rString
)
OUString
&
rString
)
{
{
sal_B
ool
bRet
=
false
;
b
ool
bRet
=
false
;
SvxAbstractDialogFactory
*
pFact
=
SvxAbstractDialogFactory
::
Create
();
SvxAbstractDialogFactory
*
pFact
=
SvxAbstractDialogFactory
::
Create
();
if
(
pFact
)
if
(
pFact
)
{
{
...
@@ -360,7 +359,7 @@ sal_Bool ScViewUtil::ExecuteCharMap( const SvxFontItem& rOldFont,
...
@@ -360,7 +359,7 @@ sal_Bool ScViewUtil::ExecuteCharMap( const SvxFontItem& rOldFont,
rString
=
pItem
->
GetValue
();
rString
=
pItem
->
GetValue
();
if
(
pFontItem
)
if
(
pFontItem
)
rNewFont
=
SvxFontItem
(
pFontItem
->
GetFamily
(),
pFontItem
->
GetFamilyName
(),
pFontItem
->
GetStyleName
(),
pFontItem
->
GetPitch
(),
pFontItem
->
GetCharSet
(),
rNewFont
.
Which
()
);
rNewFont
=
SvxFontItem
(
pFontItem
->
GetFamily
(),
pFontItem
->
GetFamilyName
(),
pFontItem
->
GetStyleName
(),
pFontItem
->
GetPitch
(),
pFontItem
->
GetCharSet
(),
rNewFont
.
Which
()
);
bRet
=
sal_T
rue
;
bRet
=
t
rue
;
}
}
delete
pDlg
;
delete
pDlg
;
}
}
...
@@ -412,7 +411,7 @@ void ScUpdateRect::SetNew( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 )
...
@@ -412,7 +411,7 @@ void ScUpdateRect::SetNew( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 )
nNewEndY
=
nY2
;
nNewEndY
=
nY2
;
}
}
sal_B
ool
ScUpdateRect
::
GetDiff
(
SCCOL
&
rX1
,
SCROW
&
rY1
,
SCCOL
&
rX2
,
SCROW
&
rY2
)
b
ool
ScUpdateRect
::
GetDiff
(
SCCOL
&
rX1
,
SCROW
&
rY1
,
SCCOL
&
rX2
,
SCROW
&
rY2
)
{
{
if
(
nNewStartX
==
nOldStartX
&&
nNewEndX
==
nOldEndX
&&
if
(
nNewStartX
==
nOldStartX
&&
nNewEndX
==
nOldEndX
&&
nNewStartY
==
nOldStartY
&&
nNewEndY
==
nOldEndY
)
nNewStartY
==
nOldStartY
&&
nNewEndY
==
nOldEndY
)
...
@@ -456,7 +455,7 @@ sal_Bool ScUpdateRect::GetDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 )
...
@@ -456,7 +455,7 @@ sal_Bool ScUpdateRect::GetDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 )
}
}
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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