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
2e8f2716
Kaydet (Commit)
2e8f2716
authored
Kas 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: I48e80668c76b7fb94dfa2876ae8ca5e895cea3be
üst
63aec6c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
macreg.mm
lingucomponent/source/spellcheck/macosxspell/macreg.mm
+1
-1
macspellimp.mm
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+13
-13
No files found.
lingucomponent/source/spellcheck/macosxspell/macreg.mm
Dosyayı görüntüle @
2e8f2716
...
...
@@ -35,7 +35,7 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void * SAL_CALL MacOSXSpell_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
void * pRet =
NULL
;
void * pRet =
nullptr
;
pRet = MacSpellChecker_getFactory(
pImplName,
static_cast< XMultiServiceFactory * >( pServiceManager ),
...
...
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
Dosyayı görüntüle @
2e8f2716
...
...
@@ -52,11 +52,11 @@ using ::rtl::OUStringToOString;
MacSpellChecker::MacSpellChecker() :
aEvtListeners( GetLinguMutex() )
{
aDEncs =
NULL
;
aDLocs =
NULL
;
aDNames =
NULL
;
aDEncs =
nullptr
;
aDLocs =
nullptr
;
aDNames =
nullptr
;
bDisposing = false;
pPropHelper =
NULL
;
pPropHelper =
nullptr
;
numdict = 0;
NSApplicationLoad();
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
...
...
@@ -70,11 +70,11 @@ MacSpellChecker::~MacSpellChecker()
{
numdict = 0;
if (aDEncs) delete[] aDEncs;
aDEncs =
NULL
;
aDEncs =
nullptr
;
if (aDLocs) delete[] aDLocs;
aDLocs =
NULL
;
aDLocs =
nullptr
;
if (aDNames) delete[] aDNames;
aDNames =
NULL
;
aDNames =
nullptr
;
if (pPropHelper)
pPropHelper->RemoveAsPropListener();
}
...
...
@@ -176,9 +176,9 @@ Sequence< Locale > SAL_CALL MacSpellChecker::getLocales()
} else {
/* no dictionary.lst found so register no dictionaries */
numdict = 0;
aDEncs =
NULL
;
aDLocs =
NULL
;
aDNames =
NULL
;
aDEncs =
nullptr
;
aDLocs =
nullptr
;
aDNames =
nullptr
;
aSuppLocales.realloc(0);
}
}
...
...
@@ -388,10 +388,10 @@ Reference< XSpellAlternatives > SAL_CALL
MutexGuard aGuard( GetLinguMutex() );
if (rLocale == Locale() || !rWord.getLength())
return
NULL
;
return
nullptr
;
if (!hasLocale( rLocale ))
return
NULL
;
return
nullptr
;
Reference< XSpellAlternatives > xAlt;
if (!isValid( rWord, rLocale, rProperties ))
...
...
@@ -556,7 +556,7 @@ Sequence< OUString > MacSpellChecker::getSupportedServiceNames_Static()
void * SAL_CALL MacSpellChecker_getFactory( const sal_Char * pImplName,
XMultiServiceFactory * pServiceManager, void * )
{
void * pRet =
0
;
void * pRet =
nullptr
;
if ( MacSpellChecker::getImplementationName_Static().equalsAscii( pImplName ) )
{
Reference< XSingleServiceFactory > xFactory =
...
...
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