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
08fd513e
Kaydet (Commit)
08fd513e
authored
Mar 20, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: update list
üst
144f554d
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
5 additions
and
134 deletions
+5
-134
NStatement.cxx
connectivity/source/drivers/evoab2/NStatement.cxx
+0
-16
NStatement.hxx
connectivity/source/drivers/evoab2/NStatement.hxx
+0
-1
FDriver.cxx
connectivity/source/drivers/file/FDriver.cxx
+0
-24
fcode.hxx
connectivity/source/inc/file/fcode.hxx
+0
-2
chartexport.cxx
oox/source/export/chartexport.cxx
+0
-14
biffhelper.cxx
sc/source/filter/oox/biffhelper.cxx
+0
-39
PresenterSprite.cxx
sdext/source/presenter/PresenterSprite.cxx
+0
-7
PresenterSprite.hxx
sdext/source/presenter/PresenterSprite.hxx
+0
-1
PresenterWindowManager.cxx
sdext/source/presenter/PresenterWindowManager.cxx
+0
-30
unusedcode.easy
unusedcode.easy
+5
-0
No files found.
connectivity/source/drivers/evoab2/NStatement.cxx
Dosyayı görüntüle @
08fd513e
...
@@ -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 ...
...
...
connectivity/source/drivers/evoab2/NStatement.hxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
);
...
...
connectivity/source/drivers/file/FDriver.cxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
))))
...
...
connectivity/source/inc/file/fcode.hxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
();
};
};
...
...
oox/source/export/chartexport.cxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
)
...
...
sc/source/filter/oox/biffhelper.cxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
)
...
...
sdext/source/presenter/PresenterSprite.cxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
())
...
...
sdext/source/presenter/PresenterSprite.hxx
Dosyayı görüntüle @
08fd513e
...
@@ -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
);
...
...
sdext/source/presenter/PresenterWindowManager.cxx
Dosyayı görüntüle @
08fd513e
...
@@ -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: */
unusedcode.easy
Dosyayı görüntüle @
08fd513e
...
@@ -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&)
...
...
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