Kaydet (Commit) 08fd513e authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update list

üst 144f554d
...@@ -163,22 +163,6 @@ void SAL_CALL OCommonStatement::close( ) throw(SQLException, RuntimeException) ...@@ -163,22 +163,6 @@ void SAL_CALL OCommonStatement::close( ) throw(SQLException, RuntimeException)
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
void OCommonStatement::clearMyResultSet () throw (SQLException)
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OCommonStatement_IBase::rBHelper.bDisposed);
try
{
Reference<XCloseable> xCloseable;
if ( ::comphelper::query_interface( m_xResultSet.get(), xCloseable ) )
xCloseable->close();
}
catch( const DisposedException& ) { }
m_xResultSet = Reference< XResultSet >();
}
EBookQuery * EBookQuery *
OCommonStatement::createTrue() OCommonStatement::createTrue()
{ // Not the world's most efficient unconditional true but ... { // Not the world's most efficient unconditional true but ...
......
...@@ -190,7 +190,6 @@ namespace connectivity ...@@ -190,7 +190,6 @@ namespace connectivity
virtual ~OCommonStatement(); virtual ~OCommonStatement();
protected: protected:
void clearMyResultSet () throw( ::com::sun::star::sdbc::SQLException);
void parseSql( const ::rtl::OUString& sql, QueryData& _out_rQueryData ); void parseSql( const ::rtl::OUString& sql, QueryData& _out_rQueryData );
EBookQuery *whereAnalysis( const OSQLParseNode* parseTree ); EBookQuery *whereAnalysis( const OSQLParseNode* parseTree );
void orderByAnalysis( const OSQLParseNode* _pOrderByClause, SortDescriptor& _out_rSort ); void orderByAnalysis( const OSQLParseNode* _pOrderByClause, SortDescriptor& _out_rSort );
......
...@@ -246,31 +246,7 @@ Reference< XTablesSupplier > SAL_CALL OFileDriver::getDataDefinitionByURL( const ...@@ -246,31 +246,7 @@ Reference< XTablesSupplier > SAL_CALL OFileDriver::getDataDefinitionByURL( const
} }
return getDataDefinitionByConnection(connect(url,info)); return getDataDefinitionByConnection(connect(url,info));
} }
// -----------------------------------------------------------------------------
void OOperandParam::describe(const Reference< XPropertySet>& rColumn, ::rtl::Reference<connectivity::OSQLColumns> rParameterColumns)
{
// den alten namen beibehalten
OSL_ENSURE(getRowPos() < rParameterColumns->get().size(),"Invalid index for orderkey values!");
Reference< XPropertySet> xColumn = (rParameterColumns->get())[getRowPos()];
try
{
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPENAME),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPENAME)));
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_DEFAULTVALUE),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_DEFAULTVALUE)));
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PRECISION),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PRECISION)));
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)));
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE)));
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISNULLABLE),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISNULLABLE)));
xColumn->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISAUTOINCREMENT),rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISAUTOINCREMENT)));
}
catch(const Exception&)
{
}
m_eDBType = ::comphelper::getINT32(rColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)));
}
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
OOperandAttr::OOperandAttr(sal_uInt16 _nPos,const Reference< XPropertySet>& _xColumn) OOperandAttr::OOperandAttr(sal_uInt16 _nPos,const Reference< XPropertySet>& _xColumn)
: OOperandRow(_nPos,::comphelper::getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))) : OOperandRow(_nPos,::comphelper::getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE))))
......
...@@ -131,8 +131,6 @@ namespace connectivity ...@@ -131,8 +131,6 @@ namespace connectivity
{ {
public: public:
OOperandParam(connectivity::OSQLParseNode* pNode, sal_Int32 _nPos); OOperandParam(connectivity::OSQLParseNode* pNode, sal_Int32 _nPos);
void describe(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _xColumn, ::rtl::Reference<connectivity::OSQLColumns> _xParamColumns);
TYPEINFO(); TYPEINFO();
}; };
......
...@@ -341,20 +341,6 @@ bool lcl_isSeriesAttachedToFirstAxis( ...@@ -341,20 +341,6 @@ bool lcl_isSeriesAttachedToFirstAxis(
return bResult; return bResult;
} }
OUString lcl_ConvertRange( const ::rtl::OUString & rRange, const Reference< chart2::XChartDocument > & xDoc )
{
OUString aResult = rRange;
if( !xDoc.is() )
return aResult;
Reference< chart2::data::XRangeXMLConversion > xConversion(
xDoc->getDataProvider(), uno::UNO_QUERY );
if( xConversion.is())
aResult = xConversion->convertRangeToXML( rRange );
OSL_TRACE("lcl_ConvertRange, the originla formula is %s, the new formula is %s ", rtl::OUStringToOString( rRange, RTL_TEXTENCODING_UTF8 ).getStr(), rtl::OUStringToOString( aResult, RTL_TEXTENCODING_UTF8 ).getStr());
return aResult;
}
typedef ::std::pair< OUString, OUString > tLabelAndValueRange; typedef ::std::pair< OUString, OUString > tLabelAndValueRange;
OUString lcl_flattenStringSequence( const Sequence< OUString > & rSequence ) OUString lcl_flattenStringSequence( const Sequence< OUString > & rSequence )
......
...@@ -69,45 +69,6 @@ union DecodedDouble ...@@ -69,45 +69,6 @@ union DecodedDouble
inline explicit DecodedDouble( double fValue ) : mfValue( fValue ) {} inline explicit DecodedDouble( double fValue ) : mfValue( fValue ) {}
}; };
bool lclCalcRkFromDouble( sal_Int32& ornRkValue, const DecodedDouble& rDecDbl )
{
// double
if( (rDecDbl.maStruct.w32_parts.lsw == 0) && ((rDecDbl.maStruct.w32_parts.msw & 0x3) == 0) )
{
ornRkValue = static_cast< sal_Int32 >( rDecDbl.maStruct.w32_parts.msw );
return true;
}
// integer
double fInt = 0.0;
double fFrac = modf( rDecDbl.mfValue, &fInt );
if( (fFrac == 0.0) && (-536870912.0 <= fInt) && (fInt <= 536870911.0) ) // 2^29
{
ornRkValue = static_cast< sal_Int32 >( fInt );
ornRkValue <<= 2;
ornRkValue |= BIFF_RK_INTFLAG;
return true;
}
return false;
}
bool lclCalcRkFromDouble( sal_Int32& ornRkValue, double fValue )
{
DecodedDouble aDecDbl( fValue );
if( lclCalcRkFromDouble( ornRkValue, aDecDbl ) )
return true;
aDecDbl.mfValue *= 100.0;
if( lclCalcRkFromDouble( ornRkValue, aDecDbl ) )
{
ornRkValue |= BIFF_RK_100FLAG;
return true;
}
return false;
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
void lclImportImgDataDib( StreamDataSequence& orDataSeq, BiffInputStream& rStrm, sal_Int32 nBytes, BiffType eBiff ) void lclImportImgDataDib( StreamDataSequence& orDataSeq, BiffInputStream& rStrm, sal_Int32 nBytes, BiffType eBiff )
......
...@@ -126,13 +126,6 @@ void PresenterSprite::MoveTo (const css::geometry::RealPoint2D& rLocation) ...@@ -126,13 +126,6 @@ void PresenterSprite::MoveTo (const css::geometry::RealPoint2D& rLocation)
); );
} }
void PresenterSprite::SetAlpha (const double nAlpha)
{
mnAlpha = nAlpha;
if (mxSprite.is())
mxSprite->setAlpha(mnAlpha);
}
void PresenterSprite::Update (void) void PresenterSprite::Update (void)
{ {
if (mxSpriteFactory.is()) if (mxSpriteFactory.is())
......
...@@ -65,7 +65,6 @@ public: ...@@ -65,7 +65,6 @@ public:
void Resize (const css::geometry::RealSize2D& rSize); void Resize (const css::geometry::RealSize2D& rSize);
void MoveTo (const css::geometry::RealPoint2D& rLocation); void MoveTo (const css::geometry::RealPoint2D& rLocation);
void SetAlpha (const double nAlpha);
void Update (void); void Update (void);
......
...@@ -1189,36 +1189,6 @@ void PresenterWindowManager::ThrowIfDisposed (void) const ...@@ -1189,36 +1189,6 @@ void PresenterWindowManager::ThrowIfDisposed (void) const
} }
} }
namespace {
//===== ModeChangeAnimation ===================================================
class ModeChangeAnimation : public PresenterAnimation
{
public:
ModeChangeAnimation (
const ::boost::shared_ptr<PresenterSprite>& rpSprite,
const Reference<rendering::XSpriteCanvas>& rxCanvas)
: PresenterAnimation (0, 1000, 20),
mpSprite(rpSprite),
mxCanvas(rxCanvas)
{
}
virtual void Run (const double nProgress, const sal_uInt64 nCurrentTime)
{
(void)nCurrentTime;
mpSprite->SetAlpha(1.0 - nProgress);
mxCanvas->updateScreen(sal_False);
}
private:
::boost::shared_ptr<PresenterSprite> mpSprite;
Reference<rendering::XSpriteCanvas> mxCanvas;
};
} // end of anonymous namespace
} } // end of namespace ::sdext::presenter } } // end of namespace ::sdext::presenter
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -866,6 +866,7 @@ nullcanvas::SpriteCanvasHelper::opaqueUpdate(basegfx::B2DConnectedRanges<canvas: ...@@ -866,6 +866,7 @@ nullcanvas::SpriteCanvasHelper::opaqueUpdate(basegfx::B2DConnectedRanges<canvas:
nullcanvas::SpriteCanvasHelper::scrollUpdate(basegfx::B2DRange const&, basegfx::B2DRange const&, basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&) nullcanvas::SpriteCanvasHelper::scrollUpdate(basegfx::B2DRange const&, basegfx::B2DRange const&, basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&)
ooo::vba::extractIntFromAny(com::sun::star::uno::Any const&) ooo::vba::extractIntFromAny(com::sun::star::uno::Any const&)
oox::core::PowerPointExport::WriteTextStyleLevel(boost::shared_ptr<sax_fastparser::FastSerializerHelper>, int, int) oox::core::PowerPointExport::WriteTextStyleLevel(boost::shared_ptr<sax_fastparser::FastSerializerHelper>, int, int)
oox::drawingml::TextParagraphProperties::dump() const
oox::dump::Config::requestEncryptionData(comphelper::IDocPasswordVerifier&) oox::dump::Config::requestEncryptionData(comphelper::IDocPasswordVerifier&)
oox::dump::ConfigItemBase::readConfigLine(oox::TextInputStream&) const oox::dump::ConfigItemBase::readConfigLine(oox::TextInputStream&) const
oox::dump::DffStreamObject::construct(oox::dump::ObjectBase const&, oox::dump::BinaryInputStreamRef const&, rtl::OUString const&) oox::dump::DffStreamObject::construct(oox::dump::ObjectBase const&, oox::dump::BinaryInputStreamRef const&, rtl::OUString const&)
...@@ -912,7 +913,10 @@ oox::formulaimport::XmlStream::AttributeList::hasAttribute(int) const ...@@ -912,7 +913,10 @@ oox::formulaimport::XmlStream::AttributeList::hasAttribute(int) const
oox::formulaimport::XmlStream::skipElement(int) oox::formulaimport::XmlStream::skipElement(int)
oox::ole::WordVbaProjectFilter_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) oox::ole::WordVbaProjectFilter_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::ole::WordVbaProjectFilter_getSupportedServiceNames() oox::ole::WordVbaProjectFilter_getSupportedServiceNames()
oox::ppt::PPTShape::findPlaceholder(int, int, std::__debug::vector<boost::shared_ptr<oox::drawingml::Shape>, std::allocator<boost::shared_ptr<oox::drawingml::Shape> > >&)
oox::xls::BiffDetector_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) oox::xls::BiffDetector_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::xls::BiffDrawingObjectBase::importObjBiff8(oox::xls::BiffInputStream&)
oox::xls::BiffDrawingObjectContainer::append(boost::shared_ptr<oox::xls::BiffDrawingObjectBase> const&)
oox::xls::BiffInputStream::resetRecord(bool, unsigned short) oox::xls::BiffInputStream::resetRecord(bool, unsigned short)
oox::xls::BiffOutputStream::fill(unsigned char, int, unsigned long) oox::xls::BiffOutputStream::fill(unsigned char, int, unsigned long)
oox::xls::BiffOutputStream::sizeBase() const oox::xls::BiffOutputStream::sizeBase() const
...@@ -930,6 +934,7 @@ oox::xls::ExcelBiffFilter_getSupportedServiceNames() ...@@ -930,6 +934,7 @@ oox::xls::ExcelBiffFilter_getSupportedServiceNames()
oox::xls::ExcelVbaProjectFilter_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) oox::xls::ExcelVbaProjectFilter_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::xls::ExcelVbaProjectFilter_getSupportedServiceNames() oox::xls::ExcelVbaProjectFilter_getSupportedServiceNames()
oox::xls::OOXMLFormulaParser_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) oox::xls::OOXMLFormulaParser_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::xls::prv::BiffOutputRecordBuffer::BiffOutputRecordBuffer(oox::BinaryOutputStream&, unsigned short)
psp::PrinterGfx::DrawBitmap(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterBmp const&) psp::PrinterGfx::DrawBitmap(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterBmp const&)
psp::PrinterGfx::DrawMask(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterColor&) psp::PrinterGfx::DrawMask(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterColor&)
psp::PrinterGfx::GetGlyphBoundRect(unsigned short, Rectangle&) psp::PrinterGfx::GetGlyphBoundRect(unsigned short, Rectangle&)
......
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