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
f4f23167
Kaydet (Commit)
f4f23167
authored
Ock 06, 2013
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I5a29ca056af443643bfef823d0a064c5d834d24f
üst
2a0e3c10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
19 deletions
+20
-19
apphdl.cxx
sw/source/ui/app/apphdl.cxx
+4
-4
appopt.cxx
sw/source/ui/app/appopt.cxx
+5
-5
docsh2.cxx
sw/source/ui/app/docsh2.cxx
+9
-8
docst.cxx
sw/source/ui/app/docst.cxx
+2
-2
docstyle.cxx
sw/source/ui/app/docstyle.cxx
+0
-0
No files found.
sw/source/ui/app/apphdl.cxx
Dosyayı görüntüle @
f4f23167
...
...
@@ -687,9 +687,9 @@ void SwModule::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
if
(
pWrtSh
)
{
SFX_ITEMSET_ARG
(
pDocSh
->
GetMedium
()
->
GetItemSet
(),
pUpdateDocItem
,
SfxUInt16Item
,
SID_UPDATEDOCMODE
,
sal_False
);
sal_Bool
bUpdateFields
=
sal_T
rue
;
bool
bUpdateFields
=
t
rue
;
if
(
pUpdateDocItem
&&
pUpdateDocItem
->
GetValue
()
==
document
::
UpdateDocMode
::
NO_UPDATE
)
bUpdateFields
=
sal_F
alse
;
bUpdateFields
=
f
alse
;
if
(
bUpdateFields
)
{
pWrtSh
->
UpdateInputFlds
();
...
...
@@ -768,11 +768,11 @@ void SwModule::ConfigurationChanged( utl::ConfigurationBroadcaster* pBrdCst, sal
}
else
if
(
pBrdCst
==
pColorConfig
||
pBrdCst
==
pAccessibilityOptions
)
{
sal_Bool
bAccessibility
=
sal_F
alse
;
bool
bAccessibility
=
f
alse
;
if
(
pBrdCst
==
pColorConfig
)
SwViewOption
::
ApplyColorConfigValues
(
*
pColorConfig
);
else
bAccessibility
=
sal_T
rue
;
bAccessibility
=
t
rue
;
//invalidate all edit windows
const
TypeId
aSwViewTypeId
=
TYPE
(
SwView
);
...
...
sw/source/ui/app/appopt.cxx
Dosyayı görüntüle @
f4f23167
...
...
@@ -74,7 +74,7 @@ using namespace ::com::sun::star::lang;
SfxItemSet
*
SwModule
::
CreateItemSet
(
sal_uInt16
nId
)
{
sal_Bool
bTextDialog
=
(
nId
==
SID_SW_EDITOPTIONS
)
?
sal_True
:
sal_False
;
bool
bTextDialog
=
(
nId
==
SID_SW_EDITOPTIONS
)
;
// the options for the Web- and Textdialog are put together here
SwViewOption
aViewOpt
=
*
GetUsrPref
(
!
bTextDialog
);
...
...
@@ -86,7 +86,7 @@ SfxItemSet* SwModule::CreateItemSet( sal_uInt16 nId )
if
(
pAppView
)
{
// if Text then no WebView and vice versa
sal_B
ool
bWebView
=
0
!=
PTR_CAST
(
SwWebView
,
pAppView
);
b
ool
bWebView
=
0
!=
PTR_CAST
(
SwWebView
,
pAppView
);
if
(
(
bWebView
&&
!
bTextDialog
)
||
(
!
bWebView
&&
bTextDialog
))
{
aViewOpt
=
*
pAppView
->
GetWrtShell
().
GetViewOptions
();
...
...
@@ -241,14 +241,14 @@ SfxItemSet* SwModule::CreateItemSet( sal_uInt16 nId )
void
SwModule
::
ApplyItemSet
(
sal_uInt16
nId
,
const
SfxItemSet
&
rSet
)
{
sal_B
ool
bTextDialog
=
nId
==
SID_SW_EDITOPTIONS
;
b
ool
bTextDialog
=
nId
==
SID_SW_EDITOPTIONS
;
SwView
*
pAppView
=
GetView
();
if
(
pAppView
&&
pAppView
->
GetViewFrame
()
!=
SfxViewFrame
::
Current
())
pAppView
=
0
;
if
(
pAppView
)
{
// the text dialog mustn't apply data to the web view and vice versa
sal_B
ool
bWebView
=
0
!=
PTR_CAST
(
SwWebView
,
pAppView
);
b
ool
bWebView
=
0
!=
PTR_CAST
(
SwWebView
,
pAppView
);
if
(
bWebView
==
bTextDialog
)
pAppView
=
0
;
}
...
...
@@ -499,7 +499,7 @@ SfxTabPage* SwModule::CreateTabPage( sal_uInt16 nId, Window* pParent, const SfxI
if
(
pCurrView
)
{
// if text then not WebView and vice versa
sal_B
ool
bWebView
=
0
!=
PTR_CAST
(
SwWebView
,
pCurrView
);
b
ool
bWebView
=
0
!=
PTR_CAST
(
SwWebView
,
pCurrView
);
if
(
(
bWebView
&&
RID_SW_TP_HTML_OPTTABLE_PAGE
==
nId
)
||
(
!
bWebView
&&
RID_SW_TP_HTML_OPTTABLE_PAGE
!=
nId
)
)
{
...
...
sw/source/ui/app/docsh2.cxx
Dosyayı görüntüle @
f4f23167
...
...
@@ -120,7 +120,7 @@ using namespace ::com::sun::star::uno;
using
namespace
::
com
::
sun
::
star
;
using
::
rtl
::
OUString
;
using
namespace
::
sfx2
;
extern
sal_B
ool
FindPhyStyle
(
SwDoc
&
,
const
String
&
,
SfxStyleFamily
);
extern
b
ool
FindPhyStyle
(
SwDoc
&
,
const
String
&
,
SfxStyleFamily
);
/*--------------------------------------------------------------------
Description: create DocInfo (virtual)
...
...
@@ -691,7 +691,8 @@ void SwDocShell::Execute(SfxRequest& rReq)
case
SID_PRINTPREVIEW
:
{
sal_Bool
bSet
=
sal_False
,
bFound
=
sal_False
,
bOnly
=
sal_True
;
sal_Bool
bSet
=
sal_False
;
bool
bFound
=
false
,
bOnly
=
true
;
SfxViewFrame
*
pTmpFrm
=
SfxViewFrame
::
GetFirst
(
this
);
SfxViewShell
*
pViewShell
=
SfxViewShell
::
Current
();
SwView
*
pCurrView
=
dynamic_cast
<
SwView
*>
(
pViewShell
);
...
...
@@ -700,11 +701,11 @@ void SwDocShell::Execute(SfxRequest& rReq)
while
(
pTmpFrm
)
// search PreView
{
if
(
IS_TYPE
(
SwView
,
pTmpFrm
->
GetViewShell
())
)
bOnly
=
sal_F
alse
;
bOnly
=
f
alse
;
else
if
(
IS_TYPE
(
SwPagePreView
,
pTmpFrm
->
GetViewShell
()))
{
pTmpFrm
->
GetFrame
().
Appear
();
bFound
=
sal_T
rue
;
bFound
=
t
rue
;
}
if
(
bFound
&&
!
bOnly
)
break
;
...
...
@@ -806,7 +807,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
}
pFlt
=
aIter
.
Next
();
}
sal_B
ool
bWeb
=
0
!=
dynamic_cast
<
SwWebDocShell
*>
(
this
);
b
ool
bWeb
=
0
!=
dynamic_cast
<
SwWebDocShell
*>
(
this
);
const
SfxFilter
*
pOwnFlt
=
SwDocShell
::
Factory
().
GetFilterContainer
()
->
GetFilter4FilterName
(
rtl
::
OUString
(
"writer8"
));
...
...
@@ -918,7 +919,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
// the SourceView is not the 1 for SwWebDocShell
sal_uInt16
nSlot
=
SID_VIEWSHELL1
;
sal_Bool
bSetModified
=
sal_F
alse
;
bool
bSetModified
=
f
alse
;
SfxPrinter
*
pSavePrinter
=
0
;
if
(
0
!=
pSrcView
)
{
...
...
@@ -1146,9 +1147,9 @@ void SwDocShell::Execute(SfxRequest& rReq)
case
FN_NEW_GLOBAL_DOC
:
{
bDone
=
sal_False
;
sal_B
ool
bCreateHtml
=
FN_NEW_HTML_DOC
==
nWhich
;
b
ool
bCreateHtml
=
FN_NEW_HTML_DOC
==
nWhich
;
sal_B
ool
bCreateByOutlineLevel
=
false
;
//#outline level,add by zhaojianwei
b
ool
bCreateByOutlineLevel
=
false
;
//#outline level,add by zhaojianwei
sal_Int32
nTemplateOutlineLevel
=
0
;
//#outline level,add by zhaojianwei
String
aFileName
,
aTemplateName
;
...
...
sw/source/ui/app/docst.cxx
Dosyayı görüntüle @
f4f23167
...
...
@@ -961,10 +961,10 @@ sal_uInt16 SwDocShell::DoWaterCan(const String &rName, sal_uInt16 nFamily)
SwEditWin
&
rEdtWin
=
pView
->
GetEditWin
();
SwApplyTemplate
*
pApply
=
rEdtWin
.
GetApplyTemplate
();
sal_B
ool
bWaterCan
=
!
(
pApply
&&
pApply
->
eType
!=
0
);
b
ool
bWaterCan
=
!
(
pApply
&&
pApply
->
eType
!=
0
);
if
(
!
rName
.
Len
()
)
bWaterCan
=
sal_F
alse
;
bWaterCan
=
f
alse
;
SwApplyTemplate
aTemplate
;
aTemplate
.
eType
=
nFamily
;
...
...
sw/source/ui/app/docstyle.cxx
Dosyayı görüntüle @
f4f23167
This diff is collapsed.
Click to expand it.
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