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
b6d97514
Kaydet (Commit)
b6d97514
authored
Haz 29, 2013
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
reduce some spacing
Change-Id: I72d494b1c0ff5ed3c52ae6a078815f497e4dd647
üst
56dc7982
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
31 deletions
+15
-31
service1_impl.cxx
...DevelopersGuide/Components/CppComponent/service1_impl.cxx
+2
-4
service2_impl.cxx
...DevelopersGuide/Components/CppComponent/service2_impl.cxx
+2
-4
pyuno_adapter.cxx
pyuno/source/module/pyuno_adapter.cxx
+2
-6
txtparai.cxx
xmloff/source/text/txtparai.cxx
+2
-4
documentsignaturehelper.cxx
xmlsecurity/source/helper/documentsignaturehelper.cxx
+1
-2
xmlsignaturehelper2.cxx
xmlsecurity/source/helper/xmlsignaturehelper2.cxx
+2
-5
xsecparser.cxx
xmlsecurity/source/helper/xsecparser.cxx
+4
-6
No files found.
odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -60,8 +60,7 @@ Sequence< OUString > SAL_CALL getSupportedServiceNames_MyService1Impl()
...
@@ -60,8 +60,7 @@ Sequence< OUString > SAL_CALL getSupportedServiceNames_MyService1Impl()
OUString
SAL_CALL
getImplementationName_MyService1Impl
()
OUString
SAL_CALL
getImplementationName_MyService1Impl
()
{
{
return
OUString
(
return
OUString
(
"my_module.my_sc_implementation.MyService1"
);
"my_module.my_sc_implementation.MyService1"
);
}
}
...
@@ -222,8 +221,7 @@ OUString MyService1Impl::getImplementationName()
...
@@ -222,8 +221,7 @@ OUString MyService1Impl::getImplementationName()
throw
(
RuntimeException
)
throw
(
RuntimeException
)
{
{
// unique implementation name
// unique implementation name
return
OUString
(
return
OUString
(
"my_module.my_sc_implementation.MyService1"
);
"my_module.my_sc_implementation.MyService1"
);
}
}
sal_Bool
MyService1Impl
::
supportsService
(
OUString
const
&
serviceName
)
sal_Bool
MyService1Impl
::
supportsService
(
OUString
const
&
serviceName
)
throw
(
RuntimeException
)
throw
(
RuntimeException
)
...
...
odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -66,8 +66,7 @@ static Sequence< OUString > getSupportedServiceNames_MyService2Impl()
...
@@ -66,8 +66,7 @@ static Sequence< OUString > getSupportedServiceNames_MyService2Impl()
static
OUString
getImplementationName_MyService2Impl
()
static
OUString
getImplementationName_MyService2Impl
()
{
{
return
OUString
(
return
OUString
(
"my_module.my_sc_implementation.MyService2"
);
"my_module.my_sc_implementation.MyService2"
);
}
}
class
MyService2Impl
:
public
::
cppu
::
WeakImplHelper3
<
class
MyService2Impl
:
public
::
cppu
::
WeakImplHelper3
<
...
@@ -148,8 +147,7 @@ OUString MyService2Impl::getImplementationName()
...
@@ -148,8 +147,7 @@ OUString MyService2Impl::getImplementationName()
throw
(
RuntimeException
)
throw
(
RuntimeException
)
{
{
// unique implementation name
// unique implementation name
return
OUString
(
return
OUString
(
"my_module.my_sc_implementation.MyService2"
);
"my_module.my_sc_implementation.MyService2"
);
}
}
sal_Bool
MyService2Impl
::
supportsService
(
OUString
const
&
serviceName
)
sal_Bool
MyService2Impl
::
supportsService
(
OUString
const
&
serviceName
)
...
...
pyuno/source/module/pyuno_adapter.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -132,9 +132,7 @@ Sequence< sal_Int16 > Adapter::getOutIndexes( const OUString & functionName )
...
@@ -132,9 +132,7 @@ Sequence< sal_Int16 > Adapter::getOutIndexes( const OUString & functionName )
if
(
!
method
.
is
(
)
)
if
(
!
method
.
is
(
)
)
{
{
throw
RuntimeException
(
throw
RuntimeException
(
(
OUString
(
"pyuno bridge: Couldn't get reflection for method "
+
functionName
,
"pyuno bridge: Couldn't get reflection for method "
)
+
functionName
),
Reference
<
XInterface
>
()
);
Reference
<
XInterface
>
()
);
}
}
...
@@ -265,9 +263,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
...
@@ -265,9 +263,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
if
(
!
(
ret
>>=
seq
)
)
if
(
!
(
ret
>>=
seq
)
)
{
{
throw
RuntimeException
(
throw
RuntimeException
(
(
OUString
(
"pyuno bridge: Couldn't extract out"
"pyuno bridge: Couldn't extract out parameters for method "
+
aFunctionName
,
" parameters for method "
)
+
aFunctionName
),
Reference
<
XInterface
>
()
);
Reference
<
XInterface
>
()
);
}
}
...
...
xmloff/source/text/txtparai.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -899,8 +899,7 @@ void XMLMetaImportContext::InsertMeta(
...
@@ -899,8 +899,7 @@ void XMLMetaImportContext::InsertMeta(
const
uno
::
Reference
<
rdf
::
XMetadatable
>
xMeta
(
const
uno
::
Reference
<
rdf
::
XMetadatable
>
xMeta
(
XMLTextMarkImportContext
::
CreateAndInsertMark
(
XMLTextMarkImportContext
::
CreateAndInsertMark
(
GetImport
(),
GetImport
(),
OUString
(
OUString
(
"com.sun.star.text.InContentMetadata"
),
"com.sun.star.text.InContentMetadata"
),
OUString
(),
OUString
(),
i_xInsertionRange
,
m_XmlId
),
i_xInsertionRange
,
m_XmlId
),
uno
::
UNO_QUERY
);
uno
::
UNO_QUERY
);
...
@@ -978,8 +977,7 @@ void XMLMetaFieldImportContext::InsertMeta(
...
@@ -978,8 +977,7 @@ void XMLMetaFieldImportContext::InsertMeta(
const
Reference
<
XPropertySet
>
xPropertySet
(
const
Reference
<
XPropertySet
>
xPropertySet
(
XMLTextMarkImportContext
::
CreateAndInsertMark
(
XMLTextMarkImportContext
::
CreateAndInsertMark
(
GetImport
(),
GetImport
(),
OUString
(
OUString
(
"com.sun.star.text.textfield.MetadataField"
),
"com.sun.star.text.textfield.MetadataField"
),
OUString
(),
OUString
(),
i_xInsertionRange
,
m_XmlId
),
i_xInsertionRange
,
m_XmlId
),
UNO_QUERY
);
UNO_QUERY
);
...
...
xmlsecurity/source/helper/documentsignaturehelper.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -102,8 +102,7 @@ void ImplFillElementList(
...
@@ -102,8 +102,7 @@ void ImplFillElementList(
pNames
[
n
],
rtl_UriCharClassRelSegment
,
pNames
[
n
],
rtl_UriCharClassRelSegment
,
rtl_UriEncodeStrict
,
RTL_TEXTENCODING_UTF8
);
rtl_UriEncodeStrict
,
RTL_TEXTENCODING_UTF8
);
if
(
sEncName
.
isEmpty
()
&&
!
pNames
[
n
].
isEmpty
())
if
(
sEncName
.
isEmpty
()
&&
!
pNames
[
n
].
isEmpty
())
throw
css
::
uno
::
Exception
(
OUString
(
throw
css
::
uno
::
Exception
(
"Failed to encode element name of XStorage"
,
0
);
"Failed to encode element name of XStorage"
),
0
);
if
(
rxStore
->
isStreamElement
(
pNames
[
n
]
)
)
if
(
rxStore
->
isStreamElement
(
pNames
[
n
]
)
)
{
{
...
...
xmlsecurity/source/helper/xmlsignaturehelper2.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -195,8 +195,7 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno
...
@@ -195,8 +195,7 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno
const
OUString
sName
=
::
rtl
::
Uri
::
decode
(
const
OUString
sName
=
::
rtl
::
Uri
::
decode
(
rURI
,
rtl_UriDecodeStrict
,
rtl_UriCharClassRelSegment
);
rURI
,
rtl_UriDecodeStrict
,
rtl_UriCharClassRelSegment
);
if
(
sName
.
isEmpty
()
&&
!
rURI
.
isEmpty
())
if
(
sName
.
isEmpty
()
&&
!
rURI
.
isEmpty
())
throw
uno
::
Exception
(
OUString
(
throw
uno
::
Exception
(
"Could not decode URI for stream element."
,
0
);
"Could not decode URI for stream element."
),
0
);
uno
::
Reference
<
io
::
XStream
>
xStream
;
uno
::
Reference
<
io
::
XStream
>
xStream
;
xStream
=
rxStore
->
cloneStreamElement
(
sName
);
xStream
=
rxStore
->
cloneStreamElement
(
sName
);
...
@@ -209,9 +208,7 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno
...
@@ -209,9 +208,7 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno
const
OUString
aStoreName
=
::
rtl
::
Uri
::
decode
(
const
OUString
aStoreName
=
::
rtl
::
Uri
::
decode
(
rURI
.
copy
(
0
,
nSepPos
),
rtl_UriDecodeStrict
,
rtl_UriCharClassRelSegment
);
rURI
.
copy
(
0
,
nSepPos
),
rtl_UriDecodeStrict
,
rtl_UriCharClassRelSegment
);
if
(
aStoreName
.
isEmpty
()
&&
!
rURI
.
isEmpty
())
if
(
aStoreName
.
isEmpty
()
&&
!
rURI
.
isEmpty
())
throw
uno
::
Exception
(
throw
uno
::
Exception
(
"Could not decode URI for stream element."
,
0
);
OUString
(
"Could not decode URI for stream element."
),
0
);
OUString
aElement
=
rURI
.
copy
(
nSepPos
+
1
);
OUString
aElement
=
rURI
.
copy
(
nSepPos
+
1
);
uno
::
Reference
<
embed
::
XStorage
>
xSubStore
=
rxStore
->
openStorageElement
(
aStoreName
,
embed
::
ElementModes
::
READ
);
uno
::
Reference
<
embed
::
XStorage
>
xSubStore
=
rxStore
->
openStorageElement
(
aStoreName
,
embed
::
ElementModes
::
READ
);
...
...
xmlsecurity/source/helper/xsecparser.cxx
Dosyayı görüntüle @
b6d97514
...
@@ -181,14 +181,13 @@ void SAL_CALL XSecParser::startElement(
...
@@ -181,14 +181,13 @@ void SAL_CALL XSecParser::startElement(
{
//getCaughtException MUST be the first line in the catch block
{
//getCaughtException MUST be the first line in the catch block
cssu
::
Any
exc
=
cppu
::
getCaughtException
();
cssu
::
Any
exc
=
cppu
::
getCaughtException
();
throw
cssxs
::
SAXException
(
throw
cssxs
::
SAXException
(
OUString
(
"xmlsecurity: Exception in XSecParser::startElement"
,
"xmlsecurity: Exception in XSecParser::startElement"
),
0
,
exc
);
0
,
exc
);
}
}
catch
(...)
catch
(...)
{
{
throw
cssxs
::
SAXException
(
throw
cssxs
::
SAXException
(
OUString
(
"xmlsecurity: unexpected exception in XSecParser::startElement"
)
,
0
,
"xmlsecurity: unexpected exception in XSecParser::startElement"
,
0
,
cssu
::
Any
());
cssu
::
Any
());
}
}
}
}
...
@@ -254,14 +253,13 @@ void SAL_CALL XSecParser::endElement( const OUString& aName )
...
@@ -254,14 +253,13 @@ void SAL_CALL XSecParser::endElement( const OUString& aName )
{
//getCaughtException MUST be the first line in the catch block
{
//getCaughtException MUST be the first line in the catch block
cssu
::
Any
exc
=
cppu
::
getCaughtException
();
cssu
::
Any
exc
=
cppu
::
getCaughtException
();
throw
cssxs
::
SAXException
(
throw
cssxs
::
SAXException
(
OUString
(
"xmlsecurity: Exception in XSecParser::endElement"
,
"xmlsecurity: Exception in XSecParser::endElement"
),
0
,
exc
);
0
,
exc
);
}
}
catch
(...)
catch
(...)
{
{
throw
cssxs
::
SAXException
(
throw
cssxs
::
SAXException
(
OUString
(
"xmlsecurity: unexpected exception in XSecParser::endElement"
)
,
0
,
"xmlsecurity: unexpected exception in XSecParser::endElement"
,
0
,
cssu
::
Any
());
cssu
::
Any
());
}
}
}
}
...
...
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