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
cc1743fe
Kaydet (Commit)
cc1743fe
authored
May 30, 2012
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
targeted string re-work
Change-Id: Ibc811f2ef501a91172e096a700821ab6bd9406ea
üst
212d2341
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
45 deletions
+45
-45
MDriver.cxx
connectivity/source/drivers/mozab/MDriver.cxx
+11
-11
MServices.cxx
connectivity/source/drivers/mozab/MServices.cxx
+3
-3
SchXMLImport.cxx
xmloff/source/chart/SchXMLImport.cxx
+18
-18
MetaExportComponent.cxx
xmloff/source/meta/MetaExportComponent.cxx
+6
-6
prstylei.cxx
xmloff/source/style/prstylei.cxx
+7
-7
No files found.
connectivity/source/drivers/mozab/MDriver.cxx
Dosyayı görüntüle @
cc1743fe
...
...
@@ -91,7 +91,7 @@ void MozabDriver::disposing()
//------------------------------------------------------------------------------
rtl
::
OUString
MozabDriver
::
getImplementationName_Static
(
)
throw
(
RuntimeException
)
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MOZAB_DRIVER_IMPL_NAME
)
);
return
rtl
::
OUString
(
MOZAB_DRIVER_IMPL_NAME
);
// this name is referenced in the configuration and in the mozab.xml
// Please take care when changing it.
}
...
...
@@ -101,7 +101,7 @@ Sequence< ::rtl::OUString > MozabDriver::getSupportedServiceNames_Static( ) thr
// which service is supported
// for more information @see com.sun.star.sdbc.Driver
Sequence
<
::
rtl
::
OUString
>
aSNS
(
1
);
aSNS
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.sdbc.Driver"
)
);
aSNS
[
0
]
=
::
rtl
::
OUString
(
"com.sun.star.sdbc.Driver"
);
return
aSNS
;
}
...
...
@@ -143,7 +143,7 @@ Reference< XConnection > SAL_CALL MozabDriver::connect( const ::rtl::OUString& u
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
//We must make sure we create an com.sun.star.mozilla.MozillaBootstrap brfore call any mozilla codes
Reference
<
XInterface
>
xInstance
=
m_xMSFactory
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.mozilla.MozillaBootstrap"
)
)
);
Reference
<
XInterface
>
xInstance
=
m_xMSFactory
->
createInstance
(
::
rtl
::
OUString
(
"com.sun.star.mozilla.MozillaBootstrap"
)
);
OSL_ENSURE
(
xInstance
.
is
(),
"failed to create instance"
);
OConnection
*
pCon
=
reinterpret_cast
<
OConnection
*>
((
*
m_pCreationFunc
)(
this
));
...
...
@@ -157,7 +157,7 @@ Reference< XConnection > SAL_CALL MozabDriver::connect( const ::rtl::OUString& u
::
connectivity
::
SharedResources
aResources
;
const
::
rtl
::
OUString
sError
(
aResources
.
getResourceStringWithSubstitution
(
STR_COULD_NOT_LOAD_LIB
,
"$libname$"
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SVLIBRARY
(
"mozabdrv"
)
)
)
"$libname$"
,
::
rtl
::
OUString
(
SVLIBRARY
(
"mozabdrv"
)
)
)
);
::
dbtools
::
throwGenericSQLException
(
sError
,
*
this
);
...
...
@@ -188,17 +188,17 @@ Sequence< DriverPropertyInfo > SAL_CALL MozabDriver::getPropertyInfo( const ::rt
::
std
::
vector
<
DriverPropertyInfo
>
aDriverInfo
;
aDriverInfo
.
push_back
(
DriverPropertyInfo
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BaseDN"
)
)
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Base DN."
)
)
::
rtl
::
OUString
(
"BaseDN"
)
,
::
rtl
::
OUString
(
"Base DN."
)
,
sal_False
,
::
rtl
::
OUString
()
,
Sequence
<
::
rtl
::
OUString
>
())
);
aDriverInfo
.
push_back
(
DriverPropertyInfo
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"MaxRowCount"
)
)
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Records (max.)
"
))
::
rtl
::
OUString
(
"MaxRowCount"
)
,
::
rtl
::
OUString
(
"Records (max.
"
))
,
sal_False
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"100"
)
)
,
::
rtl
::
OUString
(
"100"
)
,
Sequence
<
::
rtl
::
OUString
>
())
);
return
Sequence
<
DriverPropertyInfo
>
(
&
aDriverInfo
[
0
],
aDriverInfo
.
size
());
...
...
@@ -235,7 +235,7 @@ EDriverType MozabDriver::impl_classifyURL( const ::rtl::OUString& url )
// There isn't any subschema: - but could be just subschema
if
(
!
aAddrbookURI
.
isEmpty
()
)
aAddrbookScheme
=
aAddrbookURI
;
else
if
(
url
==
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"sdbc:address:"
)
)
)
else
if
(
url
==
::
rtl
::
OUString
(
"sdbc:address:"
)
)
return
Unknown
;
// TODO check
else
return
Unknown
;
...
...
@@ -299,7 +299,7 @@ bool MozabDriver::ensureInit()
OSL_ENSURE
(
NULL
==
m_pCreationFunc
,
"MozabDriver::ensureInit: inconsistence: already have a factory function!"
);
const
::
rtl
::
OUString
sModuleName
(
RTL_CONSTASCII_USTRINGPARAM
(
SVLIBRARY
(
"mozabdrv"
)
));
const
::
rtl
::
OUString
sModuleName
(
SVLIBRARY
(
"mozabdrv"
));
// load the mozabdrv library
m_hModule
=
osl_loadModuleRelative
(
&
thisModule
,
sModuleName
.
pData
,
0
);
...
...
connectivity/source/drivers/mozab/MServices.cxx
Dosyayı görüntüle @
cc1743fe
...
...
@@ -93,7 +93,7 @@ struct ProviderRequest
typedef
void
*
(
SAL_CALL
*
OMozillaBootstrap_CreateInstanceFunction
)(
const
Reference
<
XMultiServiceFactory
>&
_rxFactory
);
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
createMozillaBootstrap
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
_rxFactory
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
)
{
const
::
rtl
::
OUString
sModuleName
(
RTL_CONSTASCII_USTRINGPARAM
(
SVLIBRARY
(
"mozabdrv"
)
));
const
::
rtl
::
OUString
sModuleName
(
SVLIBRARY
(
"mozabdrv"
));
// load the dbtools library
oslModule
s_hModule
=
osl_loadModuleRelative
(
...
...
@@ -104,7 +104,7 @@ typedef void* (SAL_CALL * OMozillaBootstrap_CreateInstanceFunction)(const Refere
{
// get the symbol for the method creating the factory
const
::
rtl
::
OUString
sFactoryCreationFunc
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"OMozillaBootstrap_CreateInstance"
)
);
const
::
rtl
::
OUString
sFactoryCreationFunc
=
::
rtl
::
OUString
(
"OMozillaBootstrap_CreateInstance"
);
// reinterpret_cast<OMozabConnection_CreateInstanceFunction> removed GNU C
OMozillaBootstrap_CreateInstanceFunction
s_pCreationFunc
=
(
OMozillaBootstrap_CreateInstanceFunction
)
osl_getFunctionSymbol
(
s_hModule
,
sFactoryCreationFunc
.
pData
);
...
...
@@ -140,7 +140,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
else
if
(
aImplName
==
"com.sun.star.comp.mozilla.MozillaBootstrap"
)
{
Sequence
<
::
rtl
::
OUString
>
aSNS
(
1
);
aSNS
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.mozilla.MozillaBootstrap"
)
);
aSNS
[
0
]
=
::
rtl
::
OUString
(
"com.sun.star.mozilla.MozillaBootstrap"
);
aReq
.
CREATE_PROVIDER
(
aImplName
,
aSNS
,
...
...
xmloff/source/chart/SchXMLImport.cxx
Dosyayı görüntüle @
cc1743fe
...
...
@@ -77,7 +77,7 @@ Reference< uno::XComponentContext > lcl_getComponentContext()
{
Reference
<
beans
::
XPropertySet
>
xFactProp
(
comphelper
::
getProcessServiceFactory
(),
uno
::
UNO_QUERY
);
if
(
xFactProp
.
is
())
xFactProp
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"DefaultContext"
)
))
>>=
xContext
;
xFactProp
->
getPropertyValue
(
OUString
(
"DefaultContext"
))
>>=
xContext
;
}
catch
(
uno
::
Exception
&
)
{}
...
...
@@ -465,9 +465,9 @@ void SchXMLImportHelper::DeleteDataSeries(
{
(
void
)
ex
;
// avoid warning for pro build
OSL_FAIL
(
OUStringToOString
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Exception caught. Type: "
)
)
+
OUString
(
"Exception caught. Type: "
)
+
OUString
::
createFromAscii
(
typeid
(
ex
).
name
())
+
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
", Message: "
)
)
+
OUString
(
", Message: "
)
+
ex
.
Message
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
}
}
...
...
@@ -536,7 +536,7 @@ Reference< chart2::XDataSeries > SchXMLImportHelper::GetNewDataSeries(
{
xResult
.
set
(
xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.chart2.DataSeries"
)
),
OUString
(
"com.sun.star.chart2.DataSeries"
),
xContext
),
uno
::
UNO_QUERY_THROW
);
}
if
(
xResult
.
is
()
)
...
...
@@ -548,9 +548,9 @@ Reference< chart2::XDataSeries > SchXMLImportHelper::GetNewDataSeries(
{
(
void
)
ex
;
// avoid warning for pro build
OSL_FAIL
(
OUStringToOString
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Exception caught. Type: "
)
)
+
OUString
(
"Exception caught. Type: "
)
+
OUString
::
createFromAscii
(
typeid
(
ex
).
name
())
+
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
", Message: "
)
)
+
OUString
(
", Message: "
)
+
ex
.
Message
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
}
return
xResult
;
...
...
@@ -608,8 +608,8 @@ SvXMLImportContext *SchXMLImport::CreateContext( sal_uInt16 nPrefix, const OUStr
if
(
xDPS
.
is
())
{
uno
::
Reference
<
xml
::
sax
::
XDocumentHandler
>
xDocBuilder
(
mxServiceFactory
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.xml.dom.SAXDocumentBuilder"
))
)
,
::
rtl
::
OUString
(
"com.sun.star.xml.dom.SAXDocumentBuilder"
)),
uno
::
UNO_QUERY_THROW
);
pContext
=
(
IsXMLToken
(
rLocalName
,
XML_DOCUMENT_META
))
?
new
SvXMLMetaDocumentContext
(
*
this
,
...
...
@@ -683,7 +683,7 @@ void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComp
if
(
!
xChartDoc
->
getDataProvider
().
is
()
)
{
const
OUString
aDataProviderServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.chart2.data.DataProvider"
)
);
const
OUString
aDataProviderServiceName
(
"com.sun.star.chart2.data.DataProvider"
);
const
uno
::
Sequence
<
OUString
>
aServiceNames
(
xFact
->
getAvailableServiceNames
());
const
OUString
*
pBegin
=
aServiceNames
.
getConstArray
();
const
OUString
*
pEnd
=
pBegin
+
aServiceNames
.
getLength
();
...
...
@@ -724,14 +724,14 @@ void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComp
Sequence
<
OUString
>
SAL_CALL
SchXMLImport_getSupportedServiceNames
()
throw
()
{
const
OUString
aServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Chart.XMLOasisImporter"
)
);
const
OUString
aServiceName
(
"com.sun.star.comp.Chart.XMLOasisImporter"
);
const
Sequence
<
OUString
>
aSeq
(
&
aServiceName
,
1
);
return
aSeq
;
}
OUString
SAL_CALL
SchXMLImport_getImplementationName
()
throw
()
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SchXMLImport"
)
);
return
OUString
(
"SchXMLImport"
);
}
Reference
<
uno
::
XInterface
>
SAL_CALL
SchXMLImport_createInstance
(
const
Reference
<
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
uno
::
Exception
)
...
...
@@ -746,14 +746,14 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_createInstance(const Referenc
Sequence
<
OUString
>
SAL_CALL
SchXMLImport_Styles_getSupportedServiceNames
()
throw
()
{
const
OUString
aServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Chart.XMLOasisStylesImporter"
)
);
const
OUString
aServiceName
(
"com.sun.star.comp.Chart.XMLOasisStylesImporter"
);
const
Sequence
<
OUString
>
aSeq
(
&
aServiceName
,
1
);
return
aSeq
;
}
OUString
SAL_CALL
SchXMLImport_Styles_getImplementationName
()
throw
()
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SchXMLImport.Styles"
)
);
return
OUString
(
"SchXMLImport.Styles"
);
}
Reference
<
uno
::
XInterface
>
SAL_CALL
SchXMLImport_Styles_createInstance
(
const
Reference
<
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
uno
::
Exception
)
...
...
@@ -766,14 +766,14 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_Styles_createInstance(const R
Sequence
<
OUString
>
SAL_CALL
SchXMLImport_Content_getSupportedServiceNames
()
throw
()
{
const
OUString
aServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Chart.XMLOasisContentImporter"
)
);
const
OUString
aServiceName
(
"com.sun.star.comp.Chart.XMLOasisContentImporter"
);
const
Sequence
<
OUString
>
aSeq
(
&
aServiceName
,
1
);
return
aSeq
;
}
OUString
SAL_CALL
SchXMLImport_Content_getImplementationName
()
throw
()
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SchXMLImport.Content"
)
);
return
OUString
(
"SchXMLImport.Content"
);
}
Reference
<
uno
::
XInterface
>
SAL_CALL
SchXMLImport_Content_createInstance
(
const
Reference
<
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
uno
::
Exception
)
...
...
@@ -786,14 +786,14 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_Content_createInstance(const
Sequence
<
OUString
>
SAL_CALL
SchXMLImport_Meta_getSupportedServiceNames
()
throw
()
{
const
OUString
aServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Chart.XMLOasisMetaImporter"
)
);
const
OUString
aServiceName
(
"com.sun.star.comp.Chart.XMLOasisMetaImporter"
);
const
Sequence
<
OUString
>
aSeq
(
&
aServiceName
,
1
);
return
aSeq
;
}
OUString
SAL_CALL
SchXMLImport_Meta_getImplementationName
()
throw
()
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SchXMLImport.Meta"
)
);
return
OUString
(
"SchXMLImport.Meta"
);
}
Reference
<
uno
::
XInterface
>
SAL_CALL
SchXMLImport_Meta_createInstance
(
const
Reference
<
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
uno
::
Exception
)
...
...
@@ -819,7 +819,7 @@ OUString SAL_CALL SchXMLImport::getImplementationName() throw( uno::RuntimeExcep
case
IMPORT_SETTINGS
:
// there is no settings component in chart
default
:
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SchXMLImport"
)
);
return
OUString
(
"SchXMLImport"
);
}
}
...
...
xmloff/source/meta/MetaExportComponent.cxx
Dosyayı görüntüle @
cc1743fe
...
...
@@ -102,7 +102,7 @@ sal_uInt32 XMLMetaExportComponent::exportDoc( enum XMLTokenEnum )
uno
::
Any
aAny
;
aAny
<<=
GetXMLToken
(
XML_TEXT
);
xConvPropSet
->
setPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Class"
)
),
aAny
);
::
rtl
::
OUString
(
"Class"
),
aAny
);
uno
::
Reference
<
beans
::
XPropertySet
>
xPropSet
=
getExportInfo
().
is
()
...
...
@@ -118,7 +118,7 @@ sal_uInt32 XMLMetaExportComponent::exportDoc( enum XMLTokenEnum )
// get filter component
xDocHandler
=
uno
::
Reference
<
xml
::
sax
::
XDocumentHandler
>
(
xFactory
->
createInstanceWithArguments
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Oasis2OOoTransformer"
)
),
::
rtl
::
OUString
(
"com.sun.star.comp.Oasis2OOoTransformer"
),
aArgs
),
uno
::
UNO_QUERY_THROW
);
...
...
@@ -196,14 +196,14 @@ uno::Sequence< rtl::OUString > SAL_CALL XMLMetaExportComponent_getSupportedServi
throw
()
{
const
rtl
::
OUString
aServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.document.XMLOasisMetaExporter"
)
);
"com.sun.star.document.XMLOasisMetaExporter"
);
const
uno
::
Sequence
<
rtl
::
OUString
>
aSeq
(
&
aServiceName
,
1
);
return
aSeq
;
}
rtl
::
OUString
SAL_CALL
XMLMetaExportComponent_getImplementationName
()
throw
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"XMLMetaExportComponent"
)
);
return
rtl
::
OUString
(
"XMLMetaExportComponent"
);
}
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
XMLMetaExportComponent_createInstance
(
...
...
@@ -217,14 +217,14 @@ uno::Sequence< rtl::OUString > SAL_CALL XMLMetaExportOOO_getSupportedServiceName
throw
()
{
const
rtl
::
OUString
aServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.document.XMLMetaExporter"
)
);
"com.sun.star.document.XMLMetaExporter"
);
const
uno
::
Sequence
<
rtl
::
OUString
>
aSeq
(
&
aServiceName
,
1
);
return
aSeq
;
}
rtl
::
OUString
SAL_CALL
XMLMetaExportOOO_getImplementationName
()
throw
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"XMLMetaExportOOo"
)
);
return
rtl
::
OUString
(
"XMLMetaExportOOo"
);
}
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
XMLMetaExportOOO_createInstance
(
...
...
xmloff/source/style/prstylei.cxx
Dosyayı görüntüle @
cc1743fe
...
...
@@ -81,8 +81,8 @@ XMLPropStyleContext::XMLPropStyleContext( SvXMLImport& rImport,
SvXMLStylesContext
&
rStyles
,
sal_uInt16
nFamily
,
sal_Bool
bDefault
)
:
SvXMLStyleContext
(
rImport
,
nPrfx
,
rLName
,
xAttrList
,
nFamily
,
bDefault
)
,
msIsPhysical
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsPhysical"
)
)
,
msFollowStyle
(
RTL_CONSTASCII_USTRINGPARAM
(
"FollowStyle"
)
)
,
msIsPhysical
(
"IsPhysical"
)
,
msFollowStyle
(
"FollowStyle"
)
,
mxStyles
(
&
rStyles
)
{
}
...
...
@@ -207,15 +207,15 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite )
{
aValues
.
realloc
(
nLen
+
2
);
PropertyValue
*
pProps
=
aValues
.
getArray
()
+
nLen
;
pProps
->
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ParaStyleName"
)
);
pProps
->
Name
=
rtl
::
OUString
(
"ParaStyleName"
);
OUString
sParent
(
GetParentName
()
);
if
(
!
sParent
.
isEmpty
()
)
sParent
=
GetImport
().
GetStyleDisplayName
(
GetFamily
(),
sParent
);
else
sParent
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Standard"
)
);
sParent
=
rtl
::
OUString
(
"Standard"
);
pProps
->
Value
<<=
sParent
;
++
pProps
;
pProps
->
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ParaConditionalStyleName"
)
);
pProps
->
Name
=
rtl
::
OUString
(
"ParaConditionalStyleName"
);
pProps
->
Value
<<=
sParent
;
}
...
...
@@ -224,8 +224,8 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite )
{
Sequence
<
OUString
>
aPropNames
(
1
);
aPropNames
[
0
]
=
GetFamily
()
==
XML_STYLE_FAMILY_TEXT_PARAGRAPH
?
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ParaAutoStyleName"
)
)
:
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CharAutoStyleName"
)
);
rtl
::
OUString
(
"ParaAutoStyleName"
)
:
rtl
::
OUString
(
"CharAutoStyleName"
);
Sequence
<
Any
>
aAny
=
xAutoStyle
->
getPropertyValues
(
aPropNames
);
if
(
aAny
.
hasElements
()
)
{
...
...
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