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
771d9ef3
Kaydet (Commit)
771d9ef3
authored
Tem 17, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedmethods forms
Change-Id: I6b7938e948fb1422f83e2175fee5fcabe0a0b83f
üst
64cc2d77
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
2 additions
and
114 deletions
+2
-114
CheckBox.hxx
forms/source/component/CheckBox.hxx
+0
-1
DatabaseForm.hxx
forms/source/component/DatabaseForm.hxx
+0
-7
Date.hxx
forms/source/component/Date.hxx
+0
-7
GroupManager.hxx
forms/source/component/GroupManager.hxx
+0
-1
RadioButton.hxx
forms/source/component/RadioButton.hxx
+0
-6
Time.hxx
forms/source/component/Time.hxx
+0
-7
entrylisthelper.hxx
forms/source/component/entrylisthelper.hxx
+0
-2
imgprod.hxx
forms/source/component/imgprod.hxx
+0
-1
FormComponent.hxx
forms/source/inc/FormComponent.hxx
+2
-3
formnavigation.hxx
forms/source/inc/formnavigation.hxx
+0
-4
property.hxx
forms/source/inc/property.hxx
+0
-2
propertybaghelper.hxx
forms/source/inc/propertybaghelper.hxx
+0
-8
attributedispatcher.hxx
forms/source/richtext/attributedispatcher.hxx
+0
-11
binding.hxx
forms/source/xforms/binding.hxx
+0
-15
computedexpression.hxx
forms/source/xforms/computedexpression.hxx
+0
-6
datatypes.hxx
forms/source/xforms/datatypes.hxx
+0
-4
submission.hxx
forms/source/xforms/submission.hxx
+0
-11
serialization.hxx
forms/source/xforms/submission/serialization.hxx
+0
-16
serialization_app_xml.hxx
forms/source/xforms/submission/serialization_app_xml.hxx
+0
-1
serialization_urlencoded.hxx
forms/source/xforms/submission/serialization_urlencoded.hxx
+0
-1
No files found.
forms/source/component/CheckBox.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -29,7 +29,6 @@ namespace frm
class
OCheckBoxModel
:
public
OReferenceValueComponent
{
protected
:
sal_Int16
getState
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
bool
DbUseBool
();
public
:
...
...
forms/source/component/DatabaseForm.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -436,8 +436,6 @@ public:
// XCloneable
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XCloneable
>
SAL_CALL
createClone
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
inline
void
submitNBC
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XControl
>&
Control
,
const
::
com
::
sun
::
star
::
awt
::
MouseEvent
&
MouseEvt
);
protected
:
// OPropertySetAggregationHelper overridables
virtual
void
forwardingPropertyValue
(
sal_Int32
_nHandle
)
SAL_OVERRIDE
;
...
...
@@ -542,11 +540,6 @@ protected:
using
OPropertySetHelper
::
getPropertyValues
;
};
inline
void
ODatabaseForm
::
submitNBC
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XControl
>&
Control
,
const
::
com
::
sun
::
star
::
awt
::
MouseEvent
&
MouseEvt
)
{
submit_impl
(
Control
,
MouseEvt
,
false
);
}
}
// namespace frm
...
...
forms/source/component/Date.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -90,13 +90,6 @@ protected:
protected
:
virtual
css
::
uno
::
Reference
<
css
::
util
::
XCloneable
>
SAL_CALL
createClone
(
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
/** translates the control value (the VCL-internal integer representation of a date) into
a UNO-Date.
*/
void
impl_translateControlValueToUNODate
(
::
com
::
sun
::
star
::
uno
::
Any
&
_rUNOValue
)
const
;
};
class
ODateControl
:
public
OBoundControl
...
...
forms/source/component/GroupManager.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -108,7 +108,6 @@ public:
sal_Int32
GetPos
()
const
{
return
m_nPos
;
}
sal_Int16
GetTabIndex
()
const
{
return
m_nTabIndex
;
}
OUString
GetName
()
const
{
return
m_aName
;
}
};
typedef
std
::
vector
<
OGroupComp
>
OGroupCompArr
;
...
...
forms/source/component/RadioButton.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -71,12 +71,6 @@ protected:
virtual
css
::
uno
::
Reference
<
css
::
util
::
XCloneable
>
SAL_CALL
createClone
(
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
/** sets the given value as new State at the aggregate
@precond
our mutex is acquired exactly once
*/
void
setNewAggregateState
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
_rValue
);
void
setControlSource
();
};
...
...
forms/source/component/Time.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -90,13 +90,6 @@ protected:
protected
:
virtual
css
::
uno
::
Reference
<
css
::
util
::
XCloneable
>
SAL_CALL
createClone
(
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
/** translates the control value (the VCL-internal integer representation of a date) into
a UNO-Date.
*/
void
impl_translateControlValueToUNOTime
(
::
com
::
sun
::
star
::
uno
::
Any
&
_rUNOValue
)
const
;
};
class
OTimeControl
:
public
OBoundControl
...
...
forms/source/component/entrylisthelper.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -65,8 +65,6 @@ namespace frm
/// returns the current string item list
inline
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
getStringItemList
()
const
{
return
m_aStringItems
;
}
inline
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
form
::
binding
::
XListEntrySource
>&
getExternalListEntrySource
()
const
{
return
m_xListSource
;
}
/// determines whether we actually have an external list source
inline
bool
hasExternalListSource
(
)
const
{
return
m_xListSource
.
is
();
}
...
...
forms/source/component/imgprod.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -76,7 +76,6 @@ public:
void
NewDataAvailable
();
void
SetDoneHdl
(
const
Link
<>&
i_rHdl
)
{
maDoneHdl
=
i_rHdl
;
}
const
Link
<>&
GetDoneHdl
()
const
{
return
maDoneHdl
;
}
// ::com::sun::star::uno::XInterface
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
forms/source/inc/FormComponent.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -664,9 +664,8 @@ protected:
m_xColumn
;
protected
:
inline
const
OUString
&
getValuePropertyName
(
)
const
{
return
m_sValuePropertyName
;
}
inline
sal_Int32
getValuePropertyAggHandle
(
)
const
{
return
m_nValuePropertyAggregateHandle
;
}
inline
const
OUString
&
getControlSource
(
)
const
{
return
m_aControlSource
;
}
inline
sal_Int32
getValuePropertyAggHandle
(
)
const
{
return
m_nValuePropertyAggregateHandle
;
}
inline
const
OUString
&
getControlSource
(
)
const
{
return
m_aControlSource
;
}
inline
bool
isRequired
()
const
{
return
m_bRequired
;
}
inline
bool
isLoaded
()
const
{
return
m_bLoaded
;
}
...
...
forms/source/inc/formnavigation.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -74,10 +74,6 @@ namespace frm
// all features which we have an external dispatcher for
sal_Int32
m_nConnectedFeatures
;
protected
:
inline
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
getORB
(
)
const
{
return
m_xORB
;
}
protected
:
OFormNavigationHelper
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
_rxORB
);
virtual
~
OFormNavigationHelper
();
...
...
forms/source/inc/property.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -83,9 +83,7 @@ private:
public
:
PropertyInfoService
()
{
}
public
:
static
sal_Int32
getPropertyId
(
const
OUString
&
_rName
);
static
OUString
getPropertyName
(
sal_Int32
_nHandle
);
private
:
static
void
initialize
();
...
...
forms/source/inc/propertybaghelper.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -83,7 +83,6 @@ namespace frm
inline
bool
convertDynamicFastPropertyValue
(
sal_Int32
_nHandle
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
_rNewValue
,
::
com
::
sun
::
star
::
uno
::
Any
&
_out_rConvertedValue
,
::
com
::
sun
::
star
::
uno
::
Any
&
_out_rCurrentValue
)
const
;
inline
void
setDynamicFastPropertyValue
(
sal_Int32
_nHandle
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
_rValue
);
inline
void
getDynamicPropertyDefaultByHandle
(
sal_Int32
_nHandle
,
::
com
::
sun
::
star
::
uno
::
Any
&
_out_rValue
)
const
;
inline
bool
hasDynamicPropertyByName
(
const
OUString
&
_rName
)
const
;
inline
bool
hasDynamicPropertyByHandle
(
sal_Int32
_nHandle
)
const
;
private
:
...
...
@@ -136,13 +135,6 @@ namespace frm
m_aDynamicProperties
.
getPropertyDefaultByHandle
(
_nHandle
,
_out_rValue
);
}
inline
bool
PropertyBagHelper
::
hasDynamicPropertyByName
(
const
OUString
&
_rName
)
const
{
return
m_aDynamicProperties
.
hasPropertyByName
(
_rName
);
}
inline
bool
PropertyBagHelper
::
hasDynamicPropertyByHandle
(
sal_Int32
_nHandle
)
const
{
return
m_aDynamicProperties
.
hasPropertyByHandle
(
_nHandle
);
...
...
forms/source/richtext/attributedispatcher.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -54,13 +54,9 @@ namespace frm
IMultiAttributeDispatcher
*
_pMasterDispatcher
);
/// notifies a new attribute state
void
notifyAttributeState
(
const
AttributeState
&
_rState
);
protected
:
virtual
~
OAttributeDispatcher
(
);
protected
:
// XDispatch
virtual
void
SAL_CALL
dispatch
(
const
::
com
::
sun
::
star
::
util
::
URL
&
URL
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
Arguments
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
@@ -75,13 +71,6 @@ namespace frm
// own overridables
virtual
void
fillFeatureEventFromAttributeState
(
::
com
::
sun
::
star
::
frame
::
FeatureStateEvent
&
_rEvent
,
const
AttributeState
&
_rState
)
const
;
protected
:
/// notifies our feature state to one particular listener
void
notifyState
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XStatusListener
>&
_rxControl
,
const
AttributeState
&
_rState
);
};
...
...
forms/source/xforms/binding.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -298,9 +298,6 @@ private:
void
bindingModified
();
/// register the event listeners for
void
registerListeners
();
/// set MIPs defined by this binding on MIP item
MIP
getLocalMIP
()
const
;
...
...
@@ -328,18 +325,6 @@ private:
/// set a useful default binding ID (if none is set)
void
_checkBindingID
();
public
:
/// for debugging purposes only: get the MIPs defined by this binding
const
MIP
*
_getMIP
();
// XValueBinding:
public
:
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Type
>
SAL_CALL
getSupportedValueTypes
()
...
...
forms/source/xforms/computedexpression.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -88,12 +88,6 @@ public:
/// set a new expression string
void
setExpression
(
const
OUString
&
rExpression
);
/// get the namespaces that are used to interpret the expression string
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XNameContainer
>
getNamespaces
()
const
;
/// set the namespaces that are used to interpret the expression string
void
setNamespaces
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XNameContainer
>&
);
/// do we have an actual expression?
bool
isEmptyExpression
()
const
{
return
mbIsEmpty
;}
...
...
forms/source/xforms/datatypes.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -67,11 +67,7 @@ namespace xforms
bool
m_bPatternMatcherDirty
;
protected
:
bool
isBasic
()
const
{
return
m_bIsBasic
;
}
sal_Int16
getTypeClass
()
const
{
return
m_nTypeClass
;
}
const
OUString
&
getName
()
const
{
return
m_sName
;
}
private
:
OXSDDataType
(
const
OXSDDataType
&
)
SAL_DELETED_FUNCTION
;
...
...
forms/source/xforms/submission.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -153,22 +153,14 @@ public:
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getIncludeNamespacePrefixes
()
const
{
return
msIncludeNamespacePrefixes
;}
void
setIncludeNamespacePrefixes
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
);
/** perform the submission
* @returns if submission was successful */
bool
doSubmit
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XInteractionHandler
>&
aHandler
);
/// release the model (note: Binding is unusable without model)
void
releaseModel
();
// helpers for UNO tunnel
static
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
getUnoTunnelID
();
static
Submission
*
getSubmission
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySet
>&
);
private
:
/// check whether object is live, and throw suitable exception if not
...
...
@@ -178,9 +170,6 @@ private:
/// get the model implementation
xforms
::
Model
*
getModelImpl
()
const
;
xforms
::
Model
*
getModelImpl
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
xforms
::
XModel
>&
xModel
)
const
;
protected
:
...
...
forms/source/xforms/submission/serialization.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -54,22 +54,6 @@ public:
m_aFragment
=
aFragment
;
}
/**
set the properties from the submission element
that control aspects of the serialization
each serialization may support individual properties
*/
void
setProperties
(
const
css
::
uno
::
Sequence
<
css
::
beans
::
NamedValue
>&
props
)
{
m_properties
.
clear
();
OUString
aValue
;
for
(
sal_Int32
i
=
0
;
i
<
props
.
getLength
();
i
++
)
{
if
(
props
[
i
].
Value
>>=
aValue
)
m_properties
.
insert
(
PropMap
::
value_type
(
props
[
i
].
Name
,
aValue
));
}
}
/**
start the serialization process
*/
...
...
forms/source/xforms/submission/serialization_app_xml.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -30,7 +30,6 @@ private:
css
::
uno
::
Reference
<
css
::
io
::
XPipe
>
m_xBuffer
;
void
serialize_node
(
const
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XNode
>&
aNode
);
void
serialize_nodeset
();
public
:
CSerializationAppXML
();
...
...
forms/source/xforms/submission/serialization_urlencoded.hxx
Dosyayı görüntüle @
771d9ef3
...
...
@@ -34,7 +34,6 @@ private:
static
bool
is_unreserved
(
sal_Char
);
static
void
encode_and_append
(
const
OUString
&
aString
,
OStringBuffer
&
aBuffer
);
void
serialize_node
(
const
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XNode
>&
aNode
);
void
serialize_nodeset
();
public
:
CSerializationURLEncoded
();
...
...
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