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
20223e23
Kaydet (Commit)
20223e23
authored
Ock 17, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bool improvements
Change-Id: I9f5564100aa64ff4940dd93a81ff5a8d8edc7a07
üst
5169abba
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
bindings.hxx
include/sfx2/bindings.hxx
+2
-2
frmdescr.hxx
include/sfx2/frmdescr.hxx
+1
-1
objface.hxx
include/sfx2/objface.hxx
+1
-1
bindings.cxx
sfx2/source/control/bindings.cxx
+2
-2
templatelocalview.cxx
sfx2/source/control/templatelocalview.cxx
+1
-1
securitypage.cxx
sfx2/source/dialog/securitypage.cxx
+1
-1
frmdescr.cxx
sfx2/source/doc/frmdescr.cxx
+1
-1
eventsupplier.cxx
sfx2/source/notify/eventsupplier.cxx
+1
-1
frame.cxx
sfx2/source/view/frame.cxx
+1
-1
viewfrm2.cxx
sfx2/source/view/viewfrm2.cxx
+1
-1
No files found.
include/sfx2/bindings.hxx
Dosyayı görüntüle @
20223e23
...
@@ -171,7 +171,7 @@ public:
...
@@ -171,7 +171,7 @@ public:
void
SetActiveFrame
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
&
rFrame
);
void
SetActiveFrame
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
&
rFrame
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
GetActiveFrame
()
const
;
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
GetActiveFrame
()
const
;
// Reconfig
// Reconfig
int
IsInRegistrations
()
const
;
bool
IsInRegistrations
()
const
;
sal_uInt16
EnterRegistrations
(
const
char
*
pFile
=
0
,
int
nLine
=
0
);
sal_uInt16
EnterRegistrations
(
const
char
*
pFile
=
0
,
int
nLine
=
0
);
void
LeaveRegistrations
(
sal_uInt16
nLevel
=
USHRT_MAX
,
const
char
*
pFile
=
0
,
int
nLine
=
0
);
void
LeaveRegistrations
(
sal_uInt16
nLevel
=
USHRT_MAX
,
const
char
*
pFile
=
0
,
int
nLine
=
0
);
void
Register
(
SfxControllerItem
&
rBinding
);
void
Register
(
SfxControllerItem
&
rBinding
);
...
@@ -218,7 +218,7 @@ public:
...
@@ -218,7 +218,7 @@ public:
//--------------------------------------------------------------------
//--------------------------------------------------------------------
inline
int
SfxBindings
::
IsInRegistrations
()
const
inline
bool
SfxBindings
::
IsInRegistrations
()
const
/* [Description]
/* [Description]
...
...
include/sfx2/frmdescr.hxx
Dosyayı görüntüle @
20223e23
...
@@ -215,7 +215,7 @@ public:
...
@@ -215,7 +215,7 @@ public:
~
SfxFrameProperties
()
{
delete
pFrame
;
}
~
SfxFrameProperties
()
{
delete
pFrame
;
}
int
operator
==
(
const
SfxFrameProperties
&
)
const
;
bool
operator
==
(
const
SfxFrameProperties
&
)
const
;
SfxFrameProperties
&
operator
=
(
const
SfxFrameProperties
&
rProp
);
SfxFrameProperties
&
operator
=
(
const
SfxFrameProperties
&
rProp
);
};
};
...
...
include/sfx2/objface.hxx
Dosyayı görüntüle @
20223e23
...
@@ -92,7 +92,7 @@ public:
...
@@ -92,7 +92,7 @@ public:
void
Register
(
SfxModule
*
);
void
Register
(
SfxModule
*
);
SAL_DLLPRIVATE
int
ContainsSlot_Impl
(
const
SfxSlot
*
pSlot
)
const
SAL_DLLPRIVATE
bool
ContainsSlot_Impl
(
const
SfxSlot
*
pSlot
)
const
{
return
pSlot
>=
pSlots
&&
pSlot
<
pSlots
+
Count
();
}
{
return
pSlot
>=
pSlots
&&
pSlot
<
pSlots
+
Count
();
}
SAL_DLLPRIVATE
ResMgr
*
GetResManager_Impl
()
const
SAL_DLLPRIVATE
ResMgr
*
GetResManager_Impl
()
const
{
return
aNameResId
.
GetResMgr
();
}
{
return
aNameResId
.
GetResMgr
();
}
...
...
sfx2/source/control/bindings.cxx
Dosyayı görüntüle @
20223e23
...
@@ -188,10 +188,10 @@ struct SfxFoundCache_Impl
...
@@ -188,10 +188,10 @@ struct SfxFoundCache_Impl
pCache
(
pC
)
pCache
(
pC
)
{}
{}
int
operator
<
(
const
SfxFoundCache_Impl
&
r
)
const
bool
operator
<
(
const
SfxFoundCache_Impl
&
r
)
const
{
return
nWhichId
<
r
.
nWhichId
;
}
{
return
nWhichId
<
r
.
nWhichId
;
}
int
operator
==
(
const
SfxFoundCache_Impl
&
r
)
const
bool
operator
==
(
const
SfxFoundCache_Impl
&
r
)
const
{
return
nWhichId
==
r
.
nWhichId
;
}
{
return
nWhichId
==
r
.
nWhichId
;
}
};
};
...
...
sfx2/source/control/templatelocalview.cxx
Dosyayı görüntüle @
20223e23
...
@@ -281,7 +281,7 @@ sal_uInt16 TemplateLocalView::createRegion(const OUString &rName)
...
@@ -281,7 +281,7 @@ sal_uInt16 TemplateLocalView::createRegion(const OUString &rName)
sal_uInt16
nItemId
=
getNextItemId
();
sal_uInt16
nItemId
=
getNextItemId
();
if
(
!
mpDocTemplates
->
InsertDir
(
rName
,
nRegionId
))
if
(
!
mpDocTemplates
->
InsertDir
(
rName
,
nRegionId
))
return
false
;
return
0
;
OUString
aRegionName
=
rName
;
OUString
aRegionName
=
rName
;
...
...
sfx2/source/dialog/securitypage.cxx
Dosyayı görüntüle @
20223e23
...
@@ -93,7 +93,7 @@ namespace
...
@@ -93,7 +93,7 @@ namespace
}
}
static
short
lcl_GetPassword
(
static
bool
lcl_GetPassword
(
Window
*
pParent
,
Window
*
pParent
,
bool
bProtect
,
bool
bProtect
,
/*out*/
OUString
&
rPassword
)
/*out*/
OUString
&
rPassword
)
...
...
sfx2/source/doc/frmdescr.cxx
Dosyayı görüntüle @
20223e23
...
@@ -172,7 +172,7 @@ SfxFrameProperties& SfxFrameProperties::operator =(
...
@@ -172,7 +172,7 @@ SfxFrameProperties& SfxFrameProperties::operator =(
return
*
this
;
return
*
this
;
}
}
int
SfxFrameProperties
::
operator
==
(
const
SfxFrameProperties
&
rProp
)
const
bool
SfxFrameProperties
::
operator
==
(
const
SfxFrameProperties
&
rProp
)
const
{
{
return
aURL
==
rProp
.
aURL
&&
aName
==
rProp
.
aName
&&
lMarginWidth
==
rProp
.
lMarginWidth
&&
lMarginHeight
==
rProp
.
lMarginHeight
&&
return
aURL
==
rProp
.
aURL
&&
aName
==
rProp
.
aName
&&
lMarginWidth
==
rProp
.
lMarginWidth
&&
lMarginHeight
==
rProp
.
lMarginHeight
&&
lSize
==
rProp
.
lSize
&&
eScroll
==
rProp
.
eScroll
&&
eSizeSelector
==
rProp
.
eSizeSelector
&&
lSize
==
rProp
.
lSize
&&
eScroll
==
rProp
.
eScroll
&&
eSizeSelector
==
rProp
.
eSizeSelector
&&
...
...
sfx2/source/notify/eventsupplier.cxx
Dosyayı görüntüle @
20223e23
...
@@ -85,7 +85,7 @@ void SAL_CALL SfxEvents_Impl::replaceByName( const OUString & aName, const uno::
...
@@ -85,7 +85,7 @@ void SAL_CALL SfxEvents_Impl::replaceByName( const OUString & aName, const uno::
OUString
sType
;
OUString
sType
;
if
(
(
aNormalizedDescriptor
.
size
()
==
1
)
if
(
(
aNormalizedDescriptor
.
size
()
==
1
)
&&
(
aNormalizedDescriptor
.
has
(
PROP_EVENT_TYPE
)
==
0
)
&&
!
aNormalizedDescriptor
.
has
(
PROP_EVENT_TYPE
)
//TODO
&&
(
aNormalizedDescriptor
.
get
(
PROP_EVENT_TYPE
)
>>=
sType
)
&&
(
aNormalizedDescriptor
.
get
(
PROP_EVENT_TYPE
)
>>=
sType
)
&&
(
sType
.
isEmpty
()
)
&&
(
sType
.
isEmpty
()
)
)
)
...
...
sfx2/source/view/frame.cxx
Dosyayı görüntüle @
20223e23
...
@@ -206,7 +206,7 @@ bool SfxFrame::PrepareClose_Impl( sal_Bool bUI )
...
@@ -206,7 +206,7 @@ bool SfxFrame::PrepareClose_Impl( sal_Bool bUI )
{
{
// SFX components have a known behaviour
// SFX components have a known behaviour
// First check if this frame is the only view to its current document
// First check if this frame is the only view to its current document
int
bOther
=
sal_F
alse
;
bool
bOther
=
f
alse
;
for
(
const
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
GetFirst
(
pCur
);
for
(
const
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
GetFirst
(
pCur
);
!
bOther
&&
pFrame
;
pFrame
=
SfxViewFrame
::
GetNext
(
*
pFrame
,
pCur
)
)
!
bOther
&&
pFrame
;
pFrame
=
SfxViewFrame
::
GetNext
(
*
pFrame
,
pCur
)
)
{
{
...
...
sfx2/source/view/viewfrm2.cxx
Dosyayı görüntüle @
20223e23
...
@@ -243,7 +243,7 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq )
...
@@ -243,7 +243,7 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq )
{
{
// More Views on the same Document?
// More Views on the same Document?
SfxObjectShell
*
pDocSh
=
GetObjectShell
();
SfxObjectShell
*
pDocSh
=
GetObjectShell
();
int
bOther
=
sal_F
alse
;
bool
bOther
=
f
alse
;
for
(
const
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
GetFirst
(
pDocSh
);
for
(
const
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
GetFirst
(
pDocSh
);
!
bOther
&&
pFrame
;
!
bOther
&&
pFrame
;
pFrame
=
SfxViewFrame
::
GetNext
(
*
pFrame
,
pDocSh
)
)
pFrame
=
SfxViewFrame
::
GetNext
(
*
pFrame
,
pDocSh
)
)
...
...
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