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
53600134
Kaydet (Commit)
53600134
authored
Nis 05, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
no use is made of FmFormObj::m_nType
üst
5688b51b
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
9 additions
and
129 deletions
+9
-129
MPreparedStatement.cxx
connectivity/source/drivers/mozab/MPreparedStatement.cxx
+1
-6
MPreparedStatement.hxx
connectivity/source/drivers/mozab/MPreparedStatement.hxx
+0
-3
editdoc.cxx
editeng/source/editeng/editdoc.cxx
+0
-10
editdoc.hxx
editeng/source/editeng/editdoc.hxx
+0
-3
fmdmod.cxx
svx/source/form/fmdmod.cxx
+1
-1
fmdpage.cxx
svx/source/form/fmdpage.cxx
+1
-1
fmobj.cxx
svx/source/form/fmobj.cxx
+2
-10
fmobjfac.cxx
svx/source/form/fmobjfac.cxx
+2
-2
fmobj.hxx
svx/source/inc/fmobj.hxx
+2
-7
unusedcode.easy
unusedcode.easy
+0
-9
txtflde.hxx
xmloff/inc/txtflde.hxx
+0
-6
XMLPropertyBackpatcher.cxx
xmloff/source/text/XMLPropertyBackpatcher.cxx
+0
-41
XMLPropertyBackpatcher.hxx
xmloff/source/text/XMLPropertyBackpatcher.hxx
+0
-15
txtflde.cxx
xmloff/source/text/txtflde.cxx
+0
-15
No files found.
connectivity/source/drivers/mozab/MPreparedStatement.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -382,12 +382,7 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons
OCommonStatement
::
setFastPropertyValue_NoBroadcast
(
nHandle
,
rValue
);
}
}
// -----------------------------------------------------------------------------
void
OPreparedStatement
::
checkParameterIndex
(
sal_Int32
_parameterIndex
)
{
if
(
!
_parameterIndex
||
_parameterIndex
>
m_nNumParams
)
::
dbtools
::
throwInvalidIndexException
(
*
this
);
}
// -----------------------------------------------------------------------------
void
OPreparedStatement
::
checkAndResizeParameters
(
sal_Int32
parameterIndex
)
{
...
...
connectivity/source/drivers/mozab/MPreparedStatement.hxx
Dosyayı görüntüle @
53600134
...
...
@@ -78,9 +78,6 @@ namespace connectivity
::
rtl
::
Reference
<
connectivity
::
OSQLColumns
>
m_xParamColumns
;
// the parameter columns
OValueRow
m_aParameterRow
;
void
checkParameterIndex
(
sal_Int32
_parameterIndex
);
protected
:
virtual
void
SAL_CALL
setFastPropertyValue_NoBroadcast
(
sal_Int32
nHandle
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
)
...
...
editeng/source/editeng/editdoc.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -1154,16 +1154,6 @@ void EditPaM::SetNode(ContentNode* p)
pNode
=
p
;
}
bool
EditPaM
::
IsParaStart
()
const
{
return
nIndex
==
0
;
}
bool
EditPaM
::
IsParaEnd
()
const
{
return
nIndex
==
pNode
->
Len
();
}
sal_Bool
EditPaM
::
DbgIsBuggy
(
EditDoc
&
rDoc
)
{
if
(
!
pNode
)
...
...
editeng/source/editeng/editdoc.hxx
Dosyayı görüntüle @
53600134
...
...
@@ -337,9 +337,6 @@ public:
sal_uInt16
&
GetIndex
()
{
return
nIndex
;
}
void
SetIndex
(
sal_uInt16
n
)
{
nIndex
=
n
;
}
bool
IsParaStart
()
const
;
bool
IsParaEnd
()
const
;
sal_Bool
DbgIsBuggy
(
EditDoc
&
rDoc
);
EditPaM
&
operator
=
(
const
EditPaM
&
rPaM
);
...
...
svx/source/form/fmdmod.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -46,7 +46,7 @@ using namespace ::svxform;
}
else
if
(
ServiceSpecifier
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.drawing.ControlShape"
))
)
{
SdrObject
*
pObj
=
new
FmFormObj
(
OBJ_FM_CONTROL
);
SdrObject
*
pObj
=
new
FmFormObj
();
xRet
=
static_cast
<
cppu
::
OWeakObject
*>
(
static_cast
<
SvxShape_UnoImplHelper
*>
(
new
SvxShapeControl
(
pObj
)));
}
if
(
!
xRet
.
is
())
...
...
svx/source/form/fmdpage.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -97,7 +97,7 @@ SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Referen
if
(
aShapeType
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.drawing.ShapeControl"
)
)
// compatibility
||
aShapeType
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.drawing.ControlShape"
)
)
)
return
new
FmFormObj
(
OBJ_FM_CONTROL
);
return
new
FmFormObj
();
else
return
SvxDrawPage
::
_CreateSdrObject
(
xDescr
);
...
...
svx/source/form/fmobj.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -69,10 +69,9 @@ using namespace ::svxform;
TYPEINIT1
(
FmFormObj
,
SdrUnoObj
);
DBG_NAME
(
FmFormObj
);
//------------------------------------------------------------------
FmFormObj
::
FmFormObj
(
const
::
rtl
::
OUString
&
rModelName
,
sal_Int32
_nType
)
FmFormObj
::
FmFormObj
(
const
::
rtl
::
OUString
&
rModelName
)
:
SdrUnoObj
(
rModelName
)
,
m_nPos
(
-
1
)
,
m_nType
(
_nType
)
,
m_pLastKnownRefDevice
(
NULL
)
{
DBG_CTOR
(
FmFormObj
,
NULL
);
...
...
@@ -83,10 +82,9 @@ FmFormObj::FmFormObj(const ::rtl::OUString& rModelName,sal_Int32 _nType)
}
//------------------------------------------------------------------
FmFormObj
::
FmFormObj
(
sal_Int32
_nType
)
FmFormObj
::
FmFormObj
()
:
SdrUnoObj
(
String
()
)
,
m_nPos
(
-
1
)
,
m_nType
(
_nType
)
,
m_pLastKnownRefDevice
(
NULL
)
{
DBG_CTOR
(
FmFormObj
,
NULL
);
...
...
@@ -705,12 +703,6 @@ void FmFormObj::BrkCreate( SdrDragStat& rStat )
impl_isolateControlModel_nothrow
();
}
// -----------------------------------------------------------------------------
sal_Int32
FmFormObj
::
getType
()
const
{
return
m_nType
;
}
// -----------------------------------------------------------------------------
// #i70852# overload Layer interface to force to FormColtrol layer
...
...
svx/source/form/fmobjfac.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -237,9 +237,9 @@ IMPL_LINK(FmFormObjFactory, MakeObject, SdrObjFactory*, pObjFactory)
// create the actual object
if
(
!
sServiceSpecifier
.
isEmpty
()
)
pObjFactory
->
pNewObj
=
new
FmFormObj
(
sServiceSpecifier
,
pObjFactory
->
nIdentifier
);
pObjFactory
->
pNewObj
=
new
FmFormObj
(
sServiceSpecifier
);
else
pObjFactory
->
pNewObj
=
new
FmFormObj
(
pObjFactory
->
nIdentifier
);
pObjFactory
->
pNewObj
=
new
FmFormObj
();
// initialize some properties which we want to differ from the defaults
for
(
PropertyValueArray
::
const_iterator
aInitProp
=
aInitialProperties
.
begin
();
...
...
svx/source/inc/fmobj.hxx
Dosyayı görüntüle @
53600134
...
...
@@ -53,15 +53,14 @@ class FmFormObj: public SdrUnoObj
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>
m_xParent
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>
m_xEnvironmentHistory
;
sal_Int32
m_nPos
;
sal_Int32
m_nType
;
OutputDevice
*
m_pLastKnownRefDevice
;
// the last ref device we know, as set at the model
// only to be used for comparison with the current ref device!
public
:
SVX_DLLPUBLIC
FmFormObj
(
const
::
rtl
::
OUString
&
rModelName
,
sal_Int32
_nType
);
SVX_DLLPUBLIC
FmFormObj
(
sal_Int32
_nType
);
SVX_DLLPUBLIC
FmFormObj
(
const
::
rtl
::
OUString
&
rModelName
);
SVX_DLLPUBLIC
FmFormObj
();
TYPEINFO
();
...
...
@@ -105,10 +104,6 @@ public:
static
FmFormObj
*
GetFormObject
(
SdrObject
*
_pSdrObject
);
static
const
FmFormObj
*
GetFormObject
(
const
SdrObject
*
_pSdrObject
);
/** returns the type of this form object. See fmglob.hxx
*/
sal_Int32
getType
()
const
;
virtual
void
SetUnoControlModel
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
awt
::
XControlModel
>&
_rxModel
);
protected
:
...
...
unusedcode.easy
Dosyayı görüntüle @
53600134
...
...
@@ -7,7 +7,6 @@ FmEntryDataArray::Insert(FmEntryData* const*, unsigned short)
FmEntryDataArray::Insert(FmEntryDataArray const*, unsigned short, unsigned short)
FmEntryDataArray::Remove(FmEntryData* const&, unsigned short)
FmFieldWinMgr::GetChildWindowId()
FmFormObj::getType() const
FmPropBrwMgr::GetChildWindowId()
FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, int, bool)
FontStyleBox::FontStyleBox(Window*, long)
...
...
@@ -326,13 +325,6 @@ XMLFontAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLFontAutoStylePool_Impl::GetPos(XMLFontAutoStylePoolEntry_Impl const*) const
XMLFontAutoStylePool_Impl::Remove(XMLFontAutoStylePoolEntry_Impl*)
XMLParentNode::AddChild(XMLChildNode*, unsigned long)
XMLPropertyBackpatcher<rtl::OUString>::XMLPropertyBackpatcher(char const*)
XMLPropertyBackpatcher<rtl::OUString>::XMLPropertyBackpatcher(char const*, char const*, unsigned char, rtl::OUString)
XMLPropertyBackpatcher<rtl::OUString>::XMLPropertyBackpatcher(rtl::OUString const&, rtl::OUString const&, unsigned char, rtl::OUString)
XMLPropertyBackpatcher<short>::XMLPropertyBackpatcher(char const*)
XMLPropertyBackpatcher<short>::XMLPropertyBackpatcher(char const*, char const*, unsigned char, short)
XMLPropertyBackpatcher<short>::XMLPropertyBackpatcher(rtl::OUString const&, rtl::OUString const&, unsigned char, short)
XMLTextFieldExport::ProcessDate(xmloff::token::XMLTokenEnum, com::sun::star::util::Date const&, unsigned short)
XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const
...
...
@@ -768,7 +760,6 @@ connectivity::mozab::MQueryHelper::hasMore() const
connectivity::mozab::MQueryHelper::next()
connectivity::mozab::MQueryHelper::rewind()
connectivity::mozab::OCatalog::getDot()
connectivity::mozab::OPreparedStatement::checkParameterIndex(int)
connectivity::mozab::OResultSet::initializeRow(rtl::Reference<connectivity::ODeleteVector<connectivity::ORowSetValue> >&, int)
connectivity::mozab::OTable::OTable(connectivity::sdbcx::OCollection*, connectivity::mozab::OConnection*)
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
...
...
xmloff/inc/txtflde.hxx
Dosyayı görüntüle @
53600134
...
...
@@ -377,12 +377,6 @@ protected:
sal_Bool
bIsDate
,
/// export as date (rather than date/time)?
sal_uInt16
nPrefix
=
XML_NAMESPACE_TEXT
);
/// attribute name prefix
/// export date according to ISO 8601
void
ProcessDate
(
enum
::
xmloff
::
token
::
XMLTokenEnum
eXMLName
,
/// attribute token
const
::
com
::
sun
::
star
::
util
::
Date
&
rTime
,
/// date value
sal_uInt16
nPrefix
=
XML_NAMESPACE_TEXT
);
/// attribute name prefix
/// export all attributes for bibliography data fields
void
ProcessBibliographyData
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
xmloff/source/text/XMLPropertyBackpatcher.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -53,47 +53,6 @@ XMLPropertyBackpatcher<A>::XMLPropertyBackpatcher(
{
}
template
<
class
A
>
XMLPropertyBackpatcher
<
A
>::
XMLPropertyBackpatcher
(
const
OUString
&
sPropName
,
const
OUString
&
sPreserveName
,
sal_Bool
bDefault
,
A
aDef
)
:
sPropertyName
(
sPropName
)
,
bDefaultHandling
(
bDefault
)
,
bPreserveProperty
(
!
sPreserveName
.
isEmpty
())
,
sPreservePropertyName
(
sPreserveName
)
,
aDefault
(
aDef
)
{
}
template
<
class
A
>
XMLPropertyBackpatcher
<
A
>::
XMLPropertyBackpatcher
(
const
sal_Char
*
pPropName
)
:
bDefaultHandling
(
sal_False
)
,
bPreserveProperty
(
sal_False
)
{
DBG_ASSERT
(
pPropName
!=
NULL
,
"need property name"
);
sPropertyName
=
OUString
::
createFromAscii
(
pPropName
);
}
template
<
class
A
>
XMLPropertyBackpatcher
<
A
>::
XMLPropertyBackpatcher
(
const
sal_Char
*
pPropName
,
const
sal_Char
*
pPreservePropName
,
sal_Bool
bDefault
,
A
aDef
)
:
bDefaultHandling
(
bDefault
)
,
bPreserveProperty
(
pPreservePropName
!=
NULL
)
,
aDefault
(
aDef
)
{
DBG_ASSERT
(
pPropName
!=
NULL
,
"need property name"
);
sPropertyName
=
OUString
::
createFromAscii
(
pPropName
);
if
(
pPreservePropName
!=
NULL
)
{
sPreservePropertyName
=
OUString
::
createFromAscii
(
pPreservePropName
);
}
}
template
<
class
A
>
XMLPropertyBackpatcher
<
A
>::~
XMLPropertyBackpatcher
()
...
...
xmloff/source/text/XMLPropertyBackpatcher.hxx
Dosyayı görüntüle @
53600134
...
...
@@ -105,21 +105,6 @@ public:
XMLPropertyBackpatcher
(
const
::
rtl
::
OUString
&
sPropertyName
);
XMLPropertyBackpatcher
(
const
::
rtl
::
OUString
&
sPropertyName
,
const
::
rtl
::
OUString
&
sPreservePropertyName
,
sal_Bool
bDefault
,
A
aDef
);
XMLPropertyBackpatcher
(
const
sal_Char
*
pPropertyName
);
XMLPropertyBackpatcher
(
const
sal_Char
*
pPropertyName
,
const
sal_Char
*
pPreservePropertyName
,
sal_Bool
bDefault
,
A
aDef
);
~
XMLPropertyBackpatcher
();
/// resolve a known ID.
...
...
xmloff/source/text/txtflde.cxx
Dosyayı görüntüle @
53600134
...
...
@@ -2656,21 +2656,6 @@ void XMLTextFieldExport::ProcessDateTime(enum XMLTokenEnum eName,
ProcessString
(
eName
,
aBuffer
.
makeStringAndClear
(),
sal_True
,
nPrefix
);
}
/// export date according to ISO 8601
void
XMLTextFieldExport
::
ProcessDate
(
enum
XMLTokenEnum
eName
,
const
::
com
::
sun
::
star
::
util
::
Date
&
rDate
,
sal_uInt16
nPrefix
)
{
// the easiest way: delegate to ProcessDateTime (as date)
DateTime
aDateTime
;
aDateTime
.
Day
=
rDate
.
Day
;
aDateTime
.
Month
=
rDate
.
Month
;
aDateTime
.
Year
=
rDate
.
Year
;
ProcessDateTime
(
eName
,
aDateTime
,
sal_True
,
nPrefix
);
}
/// export a date, time, or duration
void
XMLTextFieldExport
::
ProcessDateTime
(
enum
XMLTokenEnum
eName
,
sal_Int32
nMinutes
,
...
...
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