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
6de82da0
Kaydet (Commit)
6de82da0
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)
Change-Id: Ie91fbfc9369fe9f2de1cf12c746598a80c2233c1
üst
1e661634
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
21 deletions
+21
-21
xmllib_imexp.hxx
include/xmlscript/xmllib_imexp.hxx
+1
-1
unoservices.cxx
xmlscript/source/misc/unoservices.cxx
+6
-6
xml_impctx.cxx
xmlscript/source/xml_helper/xml_impctx.cxx
+2
-2
xmldlg_expmodels.cxx
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
+3
-3
xmldlg_import.cxx
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+3
-3
xmlbas_import.cxx
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+1
-1
imp_share.hxx
xmlscript/source/xmllib_imexp/imp_share.hxx
+2
-2
xmllib_import.cxx
xmlscript/source/xmllib_imexp/xmllib_import.cxx
+2
-2
xmlmod_import.cxx
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
+1
-1
No files found.
include/xmlscript/xmllib_imexp.hxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -49,7 +49,7 @@ struct XMLSCRIPT_DLLPUBLIC LibDescriptorArray
LibDescriptor
*
mpLibs
;
sal_Int32
mnLibCount
;
LibDescriptorArray
()
{
mpLibs
=
NULL
;
mnLibCount
=
0
;
}
LibDescriptorArray
()
{
mpLibs
=
nullptr
;
mnLibCount
=
0
;
}
LibDescriptorArray
(
sal_Int32
nLibCount
);
~
LibDescriptorArray
();
...
...
xmlscript/source/misc/unoservices.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -30,29 +30,29 @@ namespace xmlscript
{
create_DocumentHandlerImpl
,
getImplementationName_DocumentHandlerImpl
,
getSupportedServiceNames_DocumentHandlerImpl
,
::
cppu
::
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
create_XMLBasicExporter
,
getImplementationName_XMLBasicExporter
,
getSupportedServiceNames_XMLBasicExporter
,
::
cppu
::
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
create_XMLOasisBasicExporter
,
getImplementationName_XMLOasisBasicExporter
,
getSupportedServiceNames_XMLOasisBasicExporter
,
::
cppu
::
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
create_XMLBasicImporter
,
getImplementationName_XMLBasicImporter
,
getSupportedServiceNames_XMLBasicImporter
,
::
cppu
::
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
create_XMLOasisBasicImporter
,
getImplementationName_XMLOasisBasicImporter
,
getSupportedServiceNames_XMLOasisBasicImporter
,
::
cppu
::
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
0
,
0
,
0
,
0
,
0
,
0
}
{
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
0
}
};
}
...
...
xmlscript/source/xml_helper/xml_impctx.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -193,7 +193,7 @@ DocumentHandlerImpl::DocumentHandlerImpl(
m_nLastPrefix_lookup
(
UID_UNKNOWN
),
m_aLastPrefix_lookup
(
"<<< unknown URI >>>"
),
m_nSkipElements
(
0
),
m_pMutex
(
0
)
m_pMutex
(
nullptr
)
{
m_elements
.
reserve
(
10
);
...
...
@@ -203,7 +203,7 @@ DocumentHandlerImpl::DocumentHandlerImpl(
DocumentHandlerImpl
::~
DocumentHandlerImpl
()
throw
()
{
if
(
m_pMutex
!=
0
)
if
(
m_pMutex
!=
nullptr
)
{
delete
m_pMutex
;
#if OSL_DEBUG_LEVEL == 0
...
...
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -1053,7 +1053,7 @@ void ElementDescriptor::readBullitinBoard( StyleBag * all_styles )
Sequence
<
OUString
>
aElements
(
xDialogModel
->
getElementNames
()
);
OUString
const
*
pElements
=
aElements
.
getConstArray
();
ElementDescriptor
*
pRadioGroup
=
0
;
ElementDescriptor
*
pRadioGroup
=
nullptr
;
sal_Int32
nPos
;
for
(
nPos
=
0
;
nPos
<
aElements
.
getLength
();
++
nPos
)
...
...
@@ -1072,7 +1072,7 @@ void ElementDescriptor::readBullitinBoard( StyleBag * all_styles )
if
(
!
xServiceInfo
.
is
())
continue
;
ElementDescriptor
*
pElem
=
0
;
ElementDescriptor
*
pElem
=
nullptr
;
// group up radio buttons
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.awt.UnoControlRadioButtonModel"
)
)
...
...
@@ -1089,7 +1089,7 @@ void ElementDescriptor::readBullitinBoard( StyleBag * all_styles )
}
else
// no radio
{
pRadioGroup
=
0
;
// close radiogroup
pRadioGroup
=
nullptr
;
// close radiogroup
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.awt.UnoControlButtonModel"
)
)
{
...
...
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -1444,7 +1444,7 @@ static StringTriple const s_aEventTranslations[] =
{
"com.sun.star.form.XDatabaseParameterListener"
,
"approveParameter"
,
"on-supplyparameter"
},
{
"com.sun.star.sdb.XSQLErrorListener"
,
"errorOccured"
,
"on-error"
},
{
"com.sun.star.awt.XAdjustmentListener"
,
"adjustmentValueChanged"
,
"on-adjustmentvaluechange"
},
{
0
,
0
,
0
}
{
nullptr
,
nullptr
,
nullptr
}
};
extern
StringTriple
const
*
const
g_pEventTranslations
;
StringTriple
const
*
const
g_pEventTranslations
=
s_aEventTranslations
;
...
...
@@ -1769,7 +1769,7 @@ Reference< xml::input::XElement > DialogImport::startRootElement(
// window
else
if
(
rLocalName
==
"window"
)
{
return
new
WindowElement
(
rLocalName
,
xAttributes
,
0
,
this
);
return
new
WindowElement
(
rLocalName
,
xAttributes
,
nullptr
,
this
);
}
else
{
...
...
@@ -1817,7 +1817,7 @@ Reference< xml::input::XElement > DialogImport::getStyle(
return
(
*
_pStyles
)[
nPos
];
}
}
return
0
;
return
nullptr
;
}
Reference
<
xml
::
sax
::
XDocumentHandler
>
SAL_CALL
importDialogModel
(
...
...
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -486,7 +486,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x
if
(
xLibContainer
.
is
()
)
{
xElement
.
set
(
new
BasicLibrariesElement
(
rLocalName
,
xAttributes
,
0
,
this
,
xLibContainer
)
);
xElement
.
set
(
new
BasicLibrariesElement
(
rLocalName
,
xAttributes
,
nullptr
,
this
,
xLibContainer
)
);
}
}
else
...
...
xmlscript/source/xmllib_imexp/imp_share.hxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -116,7 +116,7 @@ struct LibraryImport
public
:
explicit
LibraryImport
(
LibDescriptorArray
*
pLibArray
)
:
mpLibArray
(
pLibArray
)
,
mpLibDesc
(
NULL
)
,
mpLibDesc
(
nullptr
)
,
XMLNS_LIBRARY_UID
(
0
)
,
XMLNS_XLINK_UID
(
0
)
{
...
...
@@ -124,7 +124,7 @@ public:
// Single library mode
explicit
LibraryImport
(
LibDescriptor
*
pLibDesc
)
:
mpLibArray
(
NULL
)
:
mpLibArray
(
nullptr
)
,
mpLibDesc
(
pLibDesc
)
,
XMLNS_LIBRARY_UID
(
0
)
,
XMLNS_XLINK_UID
(
0
)
...
...
xmlscript/source/xmllib_imexp/xmllib_import.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -154,7 +154,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement(
}
else
if
(
mpLibArray
&&
rLocalName
==
"libraries"
)
{
return
new
LibrariesElement
(
rLocalName
,
xAttributes
,
0
,
this
);
return
new
LibrariesElement
(
rLocalName
,
xAttributes
,
nullptr
,
this
);
}
else
if
(
mpLibDesc
&&
rLocalName
==
"library"
)
{
...
...
@@ -166,7 +166,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement(
getBoolAttr
(
&
aDesc
.
bPasswordProtected
,
"passwordprotected"
,
xAttributes
,
XMLNS_LIBRARY_UID
);
getBoolAttr
(
&
aDesc
.
bPreload
,
"preload"
,
xAttributes
,
XMLNS_LIBRARY_UID
);
return
new
LibraryElement
(
rLocalName
,
xAttributes
,
0
,
this
);
return
new
LibraryElement
(
rLocalName
,
xAttributes
,
nullptr
,
this
);
}
else
{
...
...
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
Dosyayı görüntüle @
6de82da0
...
...
@@ -161,7 +161,7 @@ Reference< xml::input::XElement > ModuleImport::startRootElement(
mrModuleDesc
.
aLanguage
=
xAttributes
->
getValueByUidName
(
XMLNS_SCRIPT_UID
,
"language"
);
mrModuleDesc
.
aModuleType
=
xAttributes
->
getValueByUidName
(
XMLNS_SCRIPT_UID
,
"moduleType"
);
return
new
ModuleElement
(
rLocalName
,
xAttributes
,
0
,
this
);
return
new
ModuleElement
(
rLocalName
,
xAttributes
,
nullptr
,
this
);
}
else
{
...
...
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