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
f3010323
Kaydet (Commit)
f3010323
authored
Eyl 30, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
IllegalArgumentException is a RuntimeException now
Change-Id: I929da9300cc02da114907841ad8805d1227f3f79
üst
c91f5851
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
20 deletions
+3
-20
dllcomponentloader.cxx
stoc/source/loader/dllcomponentloader.cxx
+3
-20
No files found.
stoc/source/loader/dllcomponentloader.cxx
Dosyayı görüntüle @
f3010323
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <com/sun/star/loader/XImplementationLoader.hpp>
#include <com/sun/star/loader/XImplementationLoader.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
...
@@ -96,9 +95,6 @@ public:
...
@@ -96,9 +95,6 @@ public:
virtual
sal_Bool
SAL_CALL
writeRegistryInfo
(
const
Reference
<
XRegistryKey
>&
xKey
,
const
OUString
&
implementationLoaderUrl
,
const
OUString
&
locationUrl
)
throw
(
CannotRegisterImplementationException
,
RuntimeException
);
virtual
sal_Bool
SAL_CALL
writeRegistryInfo
(
const
Reference
<
XRegistryKey
>&
xKey
,
const
OUString
&
implementationLoaderUrl
,
const
OUString
&
locationUrl
)
throw
(
CannotRegisterImplementationException
,
RuntimeException
);
private
:
private
:
OUString
expand_url
(
OUString
const
&
url
)
SAL_THROW
(
(
RuntimeException
)
);
Reference
<
XMultiServiceFactory
>
m_xSMgr
;
Reference
<
XMultiServiceFactory
>
m_xSMgr
;
};
};
...
@@ -162,20 +158,6 @@ void DllComponentLoader::initialize( const ::com::sun::star::uno::Sequence< ::co
...
@@ -162,20 +158,6 @@ void DllComponentLoader::initialize( const ::com::sun::star::uno::Sequence< ::co
// m_xSMgr = rServiceManager;
// m_xSMgr = rServiceManager;
}
}
//==================================================================================================
OUString
DllComponentLoader
::
expand_url
(
OUString
const
&
url
)
SAL_THROW
(
(
RuntimeException
)
)
{
try
{
return
cppu
::
bootstrap_expandUri
(
url
);
}
catch
(
const
IllegalArgumentException
&
e
)
{
throw
RuntimeException
(
e
.
Message
,
e
.
Context
);
}
}
//*************************************************************************
//*************************************************************************
Reference
<
XInterface
>
SAL_CALL
DllComponentLoader
::
activate
(
Reference
<
XInterface
>
SAL_CALL
DllComponentLoader
::
activate
(
const
OUString
&
rImplName
,
const
OUString
&
,
const
OUString
&
rLibName
,
const
OUString
&
rImplName
,
const
OUString
&
,
const
OUString
&
rLibName
,
...
@@ -202,7 +184,8 @@ Reference<XInterface> SAL_CALL DllComponentLoader::activate(
...
@@ -202,7 +184,8 @@ Reference<XInterface> SAL_CALL DllComponentLoader::activate(
}
}
return
loadSharedLibComponentFactory
(
return
loadSharedLibComponentFactory
(
expand_url
(
rLibName
),
OUString
(),
rImplName
,
m_xSMgr
,
xKey
,
aPrefix
);
cppu
::
bootstrap_expandUri
(
rLibName
),
OUString
(),
rImplName
,
m_xSMgr
,
xKey
,
aPrefix
);
}
}
...
@@ -219,7 +202,7 @@ sal_Bool SAL_CALL DllComponentLoader::writeRegistryInfo(
...
@@ -219,7 +202,7 @@ sal_Bool SAL_CALL DllComponentLoader::writeRegistryInfo(
return
sal_False
;
return
sal_False
;
#else
#else
writeSharedLibComponentInfo
(
writeSharedLibComponentInfo
(
expand_url
(
rLibName
),
OUString
(),
m_xSMgr
,
xKey
);
cppu
::
bootstrap_expandUri
(
rLibName
),
OUString
(),
m_xSMgr
,
xKey
);
return
sal_True
;
return
sal_True
;
#endif
#endif
}
}
...
...
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