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
e12fa69f
Kaydet (Commit)
e12fa69f
authored
Haz 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I617d55415aee923d0734f3f3b74948b26132611b
üst
b2f490e8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
hyphenimp.cxx
lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+4
-4
macspellimp.mm
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+4
-4
sspellimp.cxx
lingucomponent/source/spellcheck/spell/sspellimp.cxx
+4
-4
nthesimp.cxx
lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+4
-4
No files found.
lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
Dosyayı görüntüle @
e12fa69f
...
@@ -101,7 +101,7 @@ PropertyHelper_Hyphenation& Hyphenator::GetPropHelper_Impl()
...
@@ -101,7 +101,7 @@ PropertyHelper_Hyphenation& Hyphenator::GetPropHelper_Impl()
{
{
Reference
<
XLinguProperties
>
xPropSet
(
GetLinguProperties
(),
UNO_QUERY
);
Reference
<
XLinguProperties
>
xPropSet
(
GetLinguProperties
(),
UNO_QUERY
);
pPropHelper
=
new
PropertyHelper_Hyphenation
(
(
XHyphenator
*
)
this
,
xPropSet
);
pPropHelper
=
new
PropertyHelper_Hyphenation
(
static_cast
<
XHyphenator
*>
(
this
)
,
xPropSet
);
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
}
}
return
*
pPropHelper
;
return
*
pPropHelper
;
...
@@ -744,7 +744,7 @@ Reference< XInterface > SAL_CALL Hyphenator_CreateInstance(
...
@@ -744,7 +744,7 @@ Reference< XInterface > SAL_CALL Hyphenator_CreateInstance(
const
Reference
<
XMultiServiceFactory
>
&
/*rSMgr*/
)
const
Reference
<
XMultiServiceFactory
>
&
/*rSMgr*/
)
throw
(
Exception
)
throw
(
Exception
)
{
{
Reference
<
XInterface
>
xService
=
(
cppu
::
OWeakObject
*
)
new
Hyphenator
;
Reference
<
XInterface
>
xService
=
static_cast
<
cppu
::
OWeakObject
*>
(
new
Hyphenator
)
;
return
xService
;
return
xService
;
}
}
...
@@ -801,7 +801,7 @@ void SAL_CALL Hyphenator::initialize( const Sequence< Any >& rArguments )
...
@@ -801,7 +801,7 @@ void SAL_CALL Hyphenator::initialize( const Sequence< Any >& rArguments )
//! And the reference to the UNO-functions while increasing
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is not longer used.
pPropHelper
=
new
PropertyHelper_Hyphenation
(
(
XHyphenator
*
)
this
,
xPropSet
);
pPropHelper
=
new
PropertyHelper_Hyphenation
(
static_cast
<
XHyphenator
*>
(
this
)
,
xPropSet
);
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
}
}
else
{
else
{
...
@@ -818,7 +818,7 @@ void SAL_CALL Hyphenator::dispose()
...
@@ -818,7 +818,7 @@ void SAL_CALL Hyphenator::dispose()
if
(
!
bDisposing
)
if
(
!
bDisposing
)
{
{
bDisposing
=
true
;
bDisposing
=
true
;
EventObject
aEvtObj
(
(
XHyphenator
*
)
this
);
EventObject
aEvtObj
(
static_cast
<
XHyphenator
*>
(
this
)
);
aEvtListeners
.
disposeAndClear
(
aEvtObj
);
aEvtListeners
.
disposeAndClear
(
aEvtObj
);
if
(
pPropHelper
)
if
(
pPropHelper
)
{
{
...
...
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
Dosyayı görüntüle @
e12fa69f
...
@@ -86,7 +86,7 @@ PropertyHelper_Spell & MacSpellChecker::GetPropHelper_Impl()
...
@@ -86,7 +86,7 @@ PropertyHelper_Spell & MacSpellChecker::GetPropHelper_Impl()
{
{
Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY );
Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY );
pPropHelper = new PropertyHelper_Spell(
(XSpellChecker *) this
, xPropSet );
pPropHelper = new PropertyHelper_Spell(
static_cast<XSpellChecker *>(this)
, xPropSet );
xPropHelper = pPropHelper;
xPropHelper = pPropHelper;
pPropHelper->AddAsPropListener(); //! after a reference is established
pPropHelper->AddAsPropListener(); //! after a reference is established
}
}
...
@@ -407,7 +407,7 @@ Reference< XInterface > SAL_CALL MacSpellChecker_CreateInstance(
...
@@ -407,7 +407,7 @@ Reference< XInterface > SAL_CALL MacSpellChecker_CreateInstance(
throw(Exception)
throw(Exception)
{
{
Reference< XInterface > xService =
(cppu::OWeakObject*) new MacSpellChecker
;
Reference< XInterface > xService =
static_cast<cppu::OWeakObject*>(new MacSpellChecker)
;
return xService;
return xService;
}
}
...
@@ -473,7 +473,7 @@ void SAL_CALL
...
@@ -473,7 +473,7 @@ void SAL_CALL
//! And the reference to the UNO-functions while increasing
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is not longer used.
pPropHelper = new PropertyHelper_Spell(
(XSpellChecker *) this
, xPropSet );
pPropHelper = new PropertyHelper_Spell(
static_cast<XSpellChecker *>(this)
, xPropSet );
xPropHelper = pPropHelper;
xPropHelper = pPropHelper;
pPropHelper->AddAsPropListener(); //! after a reference is established
pPropHelper->AddAsPropListener(); //! after a reference is established
}
}
...
@@ -493,7 +493,7 @@ void SAL_CALL
...
@@ -493,7 +493,7 @@ void SAL_CALL
if (!bDisposing)
if (!bDisposing)
{
{
bDisposing = true;
bDisposing = true;
EventObject aEvtObj(
(XSpellChecker *) this
);
EventObject aEvtObj(
static_cast<XSpellChecker *>(this)
);
aEvtListeners.disposeAndClear( aEvtObj );
aEvtListeners.disposeAndClear( aEvtObj );
}
}
}
}
...
...
lingucomponent/source/spellcheck/spell/sspellimp.cxx
Dosyayı görüntüle @
e12fa69f
...
@@ -96,7 +96,7 @@ PropertyHelper_Spelling & SpellChecker::GetPropHelper_Impl()
...
@@ -96,7 +96,7 @@ PropertyHelper_Spelling & SpellChecker::GetPropHelper_Impl()
{
{
Reference
<
XLinguProperties
>
xPropSet
(
GetLinguProperties
(),
UNO_QUERY
);
Reference
<
XLinguProperties
>
xPropSet
(
GetLinguProperties
(),
UNO_QUERY
);
pPropHelper
=
new
PropertyHelper_Spelling
(
(
XSpellChecker
*
)
this
,
xPropSet
);
pPropHelper
=
new
PropertyHelper_Spelling
(
static_cast
<
XSpellChecker
*>
(
this
)
,
xPropSet
);
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
}
}
return
*
pPropHelper
;
return
*
pPropHelper
;
...
@@ -506,7 +506,7 @@ Reference< XInterface > SAL_CALL SpellChecker_CreateInstance(
...
@@ -506,7 +506,7 @@ Reference< XInterface > SAL_CALL SpellChecker_CreateInstance(
throw
(
Exception
)
throw
(
Exception
)
{
{
Reference
<
XInterface
>
xService
=
(
cppu
::
OWeakObject
*
)
new
SpellChecker
;
Reference
<
XInterface
>
xService
=
static_cast
<
cppu
::
OWeakObject
*>
(
new
SpellChecker
)
;
return
xService
;
return
xService
;
}
}
...
@@ -563,7 +563,7 @@ void SAL_CALL SpellChecker::initialize( const Sequence< Any >& rArguments )
...
@@ -563,7 +563,7 @@ void SAL_CALL SpellChecker::initialize( const Sequence< Any >& rArguments )
//! And the reference to the UNO-functions while increasing
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is not longer used.
pPropHelper
=
new
PropertyHelper_Spelling
(
(
XSpellChecker
*
)
this
,
xPropSet
);
pPropHelper
=
new
PropertyHelper_Spelling
(
static_cast
<
XSpellChecker
*>
(
this
)
,
xPropSet
);
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
}
}
else
{
else
{
...
@@ -580,7 +580,7 @@ void SAL_CALL SpellChecker::dispose()
...
@@ -580,7 +580,7 @@ void SAL_CALL SpellChecker::dispose()
if
(
!
bDisposing
)
if
(
!
bDisposing
)
{
{
bDisposing
=
true
;
bDisposing
=
true
;
EventObject
aEvtObj
(
(
XSpellChecker
*
)
this
);
EventObject
aEvtObj
(
static_cast
<
XSpellChecker
*>
(
this
)
);
aEvtListeners
.
disposeAndClear
(
aEvtObj
);
aEvtListeners
.
disposeAndClear
(
aEvtObj
);
if
(
pPropHelper
)
if
(
pPropHelper
)
{
{
...
...
lingucomponent/source/thesaurus/libnth/nthesimp.cxx
Dosyayı görüntüle @
e12fa69f
...
@@ -118,7 +118,7 @@ PropertyHelper_Thesaurus& Thesaurus::GetPropHelper_Impl()
...
@@ -118,7 +118,7 @@ PropertyHelper_Thesaurus& Thesaurus::GetPropHelper_Impl()
{
{
Reference
<
XLinguProperties
>
xPropSet
(
GetLinguProperties
(),
UNO_QUERY
);
Reference
<
XLinguProperties
>
xPropSet
(
GetLinguProperties
(),
UNO_QUERY
);
pPropHelper
=
new
PropertyHelper_Thesaurus
(
(
XThesaurus
*
)
this
,
xPropSet
);
pPropHelper
=
new
PropertyHelper_Thesaurus
(
static_cast
<
XThesaurus
*>
(
this
)
,
xPropSet
);
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
}
}
return
*
pPropHelper
;
return
*
pPropHelper
;
...
@@ -515,7 +515,7 @@ Reference< XInterface > SAL_CALL Thesaurus_CreateInstance(
...
@@ -515,7 +515,7 @@ Reference< XInterface > SAL_CALL Thesaurus_CreateInstance(
const
Reference
<
XMultiServiceFactory
>
&
/*rSMgr*/
)
const
Reference
<
XMultiServiceFactory
>
&
/*rSMgr*/
)
throw
(
Exception
)
throw
(
Exception
)
{
{
Reference
<
XInterface
>
xService
=
(
cppu
::
OWeakObject
*
)
new
Thesaurus
;
Reference
<
XInterface
>
xService
=
static_cast
<
cppu
::
OWeakObject
*>
(
new
Thesaurus
)
;
return
xService
;
return
xService
;
}
}
...
@@ -543,7 +543,7 @@ void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments )
...
@@ -543,7 +543,7 @@ void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments )
//! And the reference to the UNO-functions while increasing
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is not longer used.
pPropHelper
=
new
PropertyHelper_Thesaurus
(
(
XThesaurus
*
)
this
,
xPropSet
);
pPropHelper
=
new
PropertyHelper_Thesaurus
(
static_cast
<
XThesaurus
*>
(
this
)
,
xPropSet
);
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
pPropHelper
->
AddAsPropListener
();
//! after a reference is established
}
}
else
else
...
@@ -590,7 +590,7 @@ void SAL_CALL Thesaurus::dispose()
...
@@ -590,7 +590,7 @@ void SAL_CALL Thesaurus::dispose()
if
(
!
bDisposing
)
if
(
!
bDisposing
)
{
{
bDisposing
=
true
;
bDisposing
=
true
;
EventObject
aEvtObj
(
(
XThesaurus
*
)
this
);
EventObject
aEvtObj
(
static_cast
<
XThesaurus
*>
(
this
)
);
aEvtListeners
.
disposeAndClear
(
aEvtObj
);
aEvtListeners
.
disposeAndClear
(
aEvtObj
);
if
(
pPropHelper
)
if
(
pPropHelper
)
{
{
...
...
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