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
4f9ce93e
Kaydet (Commit)
4f9ce93e
authored
Mar 14, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sfx2: sal_Bool->bool
Change-Id: I125e09933be2841315252fbc3fc021c195f255f8
üst
85341374
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
evntconf.hxx
include/sfx2/evntconf.hxx
+1
-1
genlink.hxx
include/sfx2/genlink.hxx
+2
-2
ipclient.hxx
include/sfx2/ipclient.hxx
+5
-5
evntconf.cxx
sfx2/source/config/evntconf.cxx
+1
-1
ipclient.cxx
sfx2/source/view/ipclient.cxx
+11
-11
No files found.
include/sfx2/evntconf.hxx
Dosyayı görüntüle @
4f9ce93e
...
...
@@ -106,7 +106,7 @@ class SFX2_DLLPUBLIC SfxEventConfiguration
{
public
:
static
void
ConfigureEvent
(
const
OUString
&
aName
,
const
SvxMacro
&
,
SfxObjectShell
*
pObjSh
);
static
SvxMacro
*
ConvertToMacro
(
const
com
::
sun
::
star
::
uno
::
Any
&
rElement
,
SfxObjectShell
*
pDoc
,
sal_B
ool
bBlowUp
);
static
SvxMacro
*
ConvertToMacro
(
const
com
::
sun
::
star
::
uno
::
Any
&
rElement
,
SfxObjectShell
*
pDoc
,
b
ool
bBlowUp
);
};
#endif
...
...
include/sfx2/genlink.hxx
Dosyayı görüntüle @
4f9ce93e
...
...
@@ -38,8 +38,8 @@ public:
GenLink
&
operator
=
(
const
GenLink
&
rOrig
)
{
pFunc
=
rOrig
.
pFunc
;
aLink
=
rOrig
.
aLink
;
return
*
this
;
}
sal_B
ool
operator
!
()
const
{
return
!
aLink
&&
!
pFunc
;
}
sal_B
ool
IsSet
()
const
{
return
aLink
.
IsSet
()
||
pFunc
;
}
b
ool
operator
!
()
const
{
return
!
aLink
&&
!
pFunc
;
}
b
ool
IsSet
()
const
{
return
aLink
.
IsSet
()
||
pFunc
;
}
long
Call
(
void
*
pCaller
)
{
return
pFunc
?
(
*
pFunc
)(
pCaller
)
:
aLink
.
Call
(
pCaller
);
}
...
...
include/sfx2/ipclient.hxx
Dosyayı görüntüle @
4f9ce93e
...
...
@@ -68,14 +68,14 @@ public:
void
SetObject
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XEmbeddedObject
>&
rObject
);
void
SetObjectState
(
sal_Int32
);
Size
GetObjectVisAreaSize
()
const
;
sal_Bool
IsObjectUIActive
()
const
;
sal_Bool
IsObjectInPlaceActive
()
const
;
bool
IsObjectUIActive
()
const
;
bool
IsObjectInPlaceActive
()
const
;
void
DeactivateObject
();
sal_B
ool
SetObjArea
(
const
Rectangle
&
);
b
ool
SetObjArea
(
const
Rectangle
&
);
Rectangle
GetObjArea
()
const
;
Rectangle
GetScaledObjArea
()
const
;
void
SetSizeScale
(
const
Fraction
&
rScaleWidth
,
const
Fraction
&
rScaleHeight
);
sal_Bool
SetObjAreaAndScale
(
const
Rectangle
&
,
const
Fraction
&
,
const
Fraction
&
);
bool
SetObjAreaAndScale
(
const
Rectangle
&
,
const
Fraction
&
,
const
Fraction
&
);
const
Fraction
&
GetScaleWidth
()
const
;
const
Fraction
&
GetScaleHeight
()
const
;
void
Invalidate
();
...
...
@@ -85,7 +85,7 @@ public:
ErrCode
DoVerb
(
long
nVerb
);
void
VisAreaChanged
();
void
ResetObject
();
sal_B
ool
IsUIActive
();
b
ool
IsUIActive
();
virtual
void
FormatChanged
();
// object format was changed (used for StarMath formulas aligning)
};
...
...
sfx2/source/config/evntconf.cxx
Dosyayı görüntüle @
4f9ce93e
...
...
@@ -272,7 +272,7 @@ void SfxEventConfiguration::ConfigureEvent( const OUString& aName, const SvxMacr
}
SvxMacro
*
SfxEventConfiguration
::
ConvertToMacro
(
const
com
::
sun
::
star
::
uno
::
Any
&
rElement
,
SfxObjectShell
*
pDoc
,
sal_B
ool
bBlowUp
)
SvxMacro
*
SfxEventConfiguration
::
ConvertToMacro
(
const
com
::
sun
::
star
::
uno
::
Any
&
rElement
,
SfxObjectShell
*
pDoc
,
b
ool
bBlowUp
)
{
return
SfxEvents_Impl
::
ConvertToMacro
(
rElement
,
pDoc
,
bBlowUp
);
}
...
...
sfx2/source/view/ipclient.cxx
Dosyayı görüntüle @
4f9ce93e
...
...
@@ -731,7 +731,7 @@ void SfxInPlaceClient::SetObject( const uno::Reference < embed::XEmbeddedObject
}
sal_B
ool
SfxInPlaceClient
::
SetObjArea
(
const
Rectangle
&
rArea
)
b
ool
SfxInPlaceClient
::
SetObjArea
(
const
Rectangle
&
rArea
)
{
if
(
rArea
!=
m_pImp
->
m_aObjArea
)
{
...
...
@@ -739,10 +739,10 @@ sal_Bool SfxInPlaceClient::SetObjArea( const Rectangle& rArea )
m_pImp
->
SizeHasChanged
();
Invalidate
();
return
sal_T
rue
;
return
t
rue
;
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -776,7 +776,7 @@ void SfxInPlaceClient::SetSizeScale( const Fraction & rScaleWidth, const Fractio
}
sal_B
ool
SfxInPlaceClient
::
SetObjAreaAndScale
(
const
Rectangle
&
rArea
,
const
Fraction
&
rScaleWidth
,
const
Fraction
&
rScaleHeight
)
b
ool
SfxInPlaceClient
::
SetObjAreaAndScale
(
const
Rectangle
&
rArea
,
const
Fraction
&
rScaleWidth
,
const
Fraction
&
rScaleHeight
)
{
if
(
rArea
!=
m_pImp
->
m_aObjArea
||
m_pImp
->
m_aScaleWidth
!=
rScaleWidth
||
m_pImp
->
m_aScaleHeight
!=
rScaleHeight
)
{
...
...
@@ -787,10 +787,10 @@ sal_Bool SfxInPlaceClient::SetObjAreaAndScale( const Rectangle& rArea, const Fra
m_pImp
->
SizeHasChanged
();
Invalidate
();
return
sal_T
rue
;
return
t
rue
;
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -820,7 +820,7 @@ void SfxInPlaceClient::Invalidate()
}
sal_B
ool
SfxInPlaceClient
::
IsObjectUIActive
()
const
b
ool
SfxInPlaceClient
::
IsObjectUIActive
()
const
{
try
{
return
(
m_pImp
->
m_xObject
.
is
()
&&
(
m_pImp
->
m_xObject
->
getCurrentState
()
==
embed
::
EmbedStates
::
UI_ACTIVE
)
);
...
...
@@ -828,11 +828,11 @@ sal_Bool SfxInPlaceClient::IsObjectUIActive() const
catch
(
uno
::
Exception
&
)
{}
return
sal_F
alse
;
return
f
alse
;
}
sal_B
ool
SfxInPlaceClient
::
IsObjectInPlaceActive
()
const
b
ool
SfxInPlaceClient
::
IsObjectInPlaceActive
()
const
{
try
{
return
(
...
...
@@ -849,7 +849,7 @@ sal_Bool SfxInPlaceClient::IsObjectInPlaceActive() const
catch
(
uno
::
Exception
&
)
{}
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -1106,7 +1106,7 @@ void SfxInPlaceClient::ResetObject()
}
}
sal_B
ool
SfxInPlaceClient
::
IsUIActive
()
b
ool
SfxInPlaceClient
::
IsUIActive
()
{
return
m_pImp
->
m_bUIActive
;
}
...
...
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