Kaydet (Commit) 9d17726d authored tarafından Thomas Arnhold's avatar Thomas Arnhold

staruno -> css::uno

Change-Id: Ic82bbe5797d4f3c16096598cd566b917ee335a10
üst ab9e2ed4
...@@ -126,9 +126,9 @@ const SQLExceptionInfo& SQLExceptionInfo::operator=(const ::com::sun::star::uno: ...@@ -126,9 +126,9 @@ const SQLExceptionInfo& SQLExceptionInfo::operator=(const ::com::sun::star::uno:
} }
SQLExceptionInfo::SQLExceptionInfo(const staruno::Any& _rError) SQLExceptionInfo::SQLExceptionInfo(const css::uno::Any& _rError)
{ {
const staruno::Type& aSQLExceptionType = cppu::UnoType<com::sun::star::sdbc::SQLException>::get(); const css::uno::Type& aSQLExceptionType = cppu::UnoType<com::sun::star::sdbc::SQLException>::get();
bool bValid = isAssignableFrom(aSQLExceptionType, _rError.getValueType()); bool bValid = isAssignableFrom(aSQLExceptionType, _rError.getValueType());
if (bValid) if (bValid)
m_aContent = _rError; m_aContent = _rError;
......
...@@ -33,23 +33,23 @@ using namespace ::osl; ...@@ -33,23 +33,23 @@ using namespace ::osl;
//= OOutputStreamWrapper //= OOutputStreamWrapper
void SAL_CALL OOutputStreamWrapper::writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw( stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException, std::exception ) void SAL_CALL OOutputStreamWrapper::writeBytes(const css::uno::Sequence< sal_Int8 >& aData) throw( stario::NotConnectedException, stario::BufferSizeExceededException, css::uno::RuntimeException, std::exception )
{ {
sal_uInt64 nWritten = 0; sal_uInt64 nWritten = 0;
rStream.write(aData.getConstArray(),aData.getLength(),nWritten); rStream.write(aData.getConstArray(),aData.getLength(),nWritten);
if (nWritten != (sal_uInt64)aData.getLength()) if (nWritten != (sal_uInt64)aData.getLength())
{ {
throw stario::BufferSizeExceededException(OUString(),static_cast<staruno::XWeak*>(this)); throw stario::BufferSizeExceededException(OUString(),static_cast<css::uno::XWeak*>(this));
} }
} }
void SAL_CALL OOutputStreamWrapper::flush() throw( stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException, std::exception ) void SAL_CALL OOutputStreamWrapper::flush() throw( stario::NotConnectedException, stario::BufferSizeExceededException, css::uno::RuntimeException, std::exception )
{ {
} }
void SAL_CALL OOutputStreamWrapper::closeOutput() throw( stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException, std::exception ) void SAL_CALL OOutputStreamWrapper::closeOutput() throw( stario::NotConnectedException, stario::BufferSizeExceededException, css::uno::RuntimeException, std::exception )
{ {
} }
......
...@@ -468,7 +468,7 @@ Any SAL_CALL OControlModel::queryAggregation(const Type& _rType) throw (RuntimeE ...@@ -468,7 +468,7 @@ Any SAL_CALL OControlModel::queryAggregation(const Type& _rType) throw (RuntimeE
return aReturn; return aReturn;
} }
void OControlModel::readHelpTextCompatibly(const staruno::Reference< stario::XObjectInputStream >& _rxInStream) void OControlModel::readHelpTextCompatibly(const css::uno::Reference< stario::XObjectInputStream >& _rxInStream)
{ {
OUString sHelpText; OUString sHelpText;
::comphelper::operator>>( _rxInStream, sHelpText); ::comphelper::operator>>( _rxInStream, sHelpText);
...@@ -484,7 +484,7 @@ void OControlModel::readHelpTextCompatibly(const staruno::Reference< stario::XOb ...@@ -484,7 +484,7 @@ void OControlModel::readHelpTextCompatibly(const staruno::Reference< stario::XOb
} }
} }
void OControlModel::writeHelpTextCompatibly(const staruno::Reference< stario::XObjectOutputStream >& _rxOutStream) void OControlModel::writeHelpTextCompatibly(const css::uno::Reference< stario::XObjectOutputStream >& _rxOutStream)
{ {
OUString sHelpText; OUString sHelpText;
try try
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment