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
150df3c0
Kaydet (Commit)
150df3c0
authored
Agu 20, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
star* -> css::*
Change-Id: I156d40badb1a11727d1320600a9d3af2b8b24e4a
üst
123c64ab
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
26 deletions
+26
-26
Button.cxx
forms/source/component/Button.cxx
+1
-1
GroupBox.cxx
forms/source/component/GroupBox.cxx
+2
-2
RadioButton.cxx
forms/source/component/RadioButton.cxx
+1
-1
RadioButton.hxx
forms/source/component/RadioButton.hxx
+1
-1
FormComponent.hxx
forms/source/inc/FormComponent.hxx
+5
-5
property.hxx
forms/source/inc/property.hxx
+3
-3
genericunodialog.cxx
svtools/source/uno/genericunodialog.cxx
+1
-1
datetime.cxx
unotools/source/misc/datetime.cxx
+12
-12
No files found.
forms/source/component/Button.cxx
Dosyayı görüntüle @
150df3c0
...
@@ -425,7 +425,7 @@ void SAL_CALL OButtonControl::disposing( const EventObject& _rSource ) throw( Ru
...
@@ -425,7 +425,7 @@ void SAL_CALL OButtonControl::disposing( const EventObject& _rSource ) throw( Ru
void
OButtonControl
::
actionPerformed
(
const
ActionEvent
&
/*rEvent*/
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
void
OButtonControl
::
actionPerformed
(
const
ActionEvent
&
/*rEvent*/
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
{
// Asynchronous for
star
util::URL-Button
// Asynchronous for
css::
util::URL-Button
ImplSVEvent
*
n
=
Application
::
PostUserEvent
(
LINK
(
this
,
OButtonControl
,
OnClick
)
);
ImplSVEvent
*
n
=
Application
::
PostUserEvent
(
LINK
(
this
,
OButtonControl
,
OnClick
)
);
{
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
...
forms/source/component/GroupBox.cxx
Dosyayı görüntüle @
150df3c0
...
@@ -44,7 +44,7 @@ using namespace ::com::sun::star::util;
...
@@ -44,7 +44,7 @@ using namespace ::com::sun::star::util;
InterfaceRef
SAL_CALL
OGroupBoxModel_CreateInstance
(
const
Reference
<
star
lang
::
XMultiServiceFactory
>&
_rxFactory
)
InterfaceRef
SAL_CALL
OGroupBoxModel_CreateInstance
(
const
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
_rxFactory
)
{
{
return
*
(
new
OGroupBoxModel
(
comphelper
::
getComponentContext
(
_rxFactory
)
));
return
*
(
new
OGroupBoxModel
(
comphelper
::
getComponentContext
(
_rxFactory
)
));
}
}
...
@@ -132,7 +132,7 @@ void SAL_CALL OGroupBoxModel::read(const Reference< XObjectInputStream>& _rxInSt
...
@@ -132,7 +132,7 @@ void SAL_CALL OGroupBoxModel::read(const Reference< XObjectInputStream>& _rxInSt
InterfaceRef
SAL_CALL
OGroupBoxControl_CreateInstance
(
const
Reference
<
star
lang
::
XMultiServiceFactory
>&
_rxFactory
)
InterfaceRef
SAL_CALL
OGroupBoxControl_CreateInstance
(
const
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
_rxFactory
)
{
{
return
*
(
new
OGroupBoxControl
(
comphelper
::
getComponentContext
(
_rxFactory
)
));
return
*
(
new
OGroupBoxControl
(
comphelper
::
getComponentContext
(
_rxFactory
)
));
}
}
...
...
forms/source/component/RadioButton.cxx
Dosyayı görüntüle @
150df3c0
...
@@ -70,7 +70,7 @@ ORadioButtonControl::ORadioButtonControl(const Reference<XComponentContext>& _rx
...
@@ -70,7 +70,7 @@ ORadioButtonControl::ORadioButtonControl(const Reference<XComponentContext>& _rx
}
}
void
SAL_CALL
ORadioButtonControl
::
createPeer
(
const
Reference
<
starawt
::
XToolkit
>&
_rxToolkit
,
const
Reference
<
star
awt
::
XWindowPeer
>&
_rxParent
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
ORadioButtonControl
::
createPeer
(
const
Reference
<
css
::
awt
::
XToolkit
>&
_rxToolkit
,
const
Reference
<
css
::
awt
::
XWindowPeer
>&
_rxParent
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
OBoundControl
::
createPeer
(
_rxToolkit
,
_rxParent
);
OBoundControl
::
createPeer
(
_rxToolkit
,
_rxParent
);
...
...
forms/source/component/RadioButton.hxx
Dosyayı görüntüle @
150df3c0
...
@@ -88,7 +88,7 @@ public:
...
@@ -88,7 +88,7 @@ public:
protected
:
protected
:
// XControl
// XControl
virtual
void
SAL_CALL
createPeer
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
starawt
::
XToolkit
>&
Toolkit
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
star
awt
::
XWindowPeer
>&
Parent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
createPeer
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XToolkit
>&
Toolkit
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XWindowPeer
>&
Parent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
};
};
...
...
forms/source/inc/FormComponent.hxx
Dosyayı görüntüle @
150df3c0
...
@@ -253,11 +253,11 @@ protected:
...
@@ -253,11 +253,11 @@ protected:
// XControl
// XControl
virtual
void
SAL_CALL
setContext
(
const
InterfaceRef
&
Context
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
setContext
(
const
InterfaceRef
&
Context
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
InterfaceRef
SAL_CALL
getContext
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
InterfaceRef
SAL_CALL
getContext
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
createPeer
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
starawt
::
XToolkit
>&
Toolkit
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
star
awt
::
XWindowPeer
>&
Parent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
createPeer
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XToolkit
>&
Toolkit
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XWindowPeer
>&
Parent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
star
awt
::
XWindowPeer
>
SAL_CALL
getPeer
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XWindowPeer
>
SAL_CALL
getPeer
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
setModel
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
star
awt
::
XControlModel
>&
Model
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
setModel
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XControlModel
>&
Model
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
star
awt
::
XControlModel
>
SAL_CALL
getModel
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XControlModel
>
SAL_CALL
getModel
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
star
awt
::
XView
>
SAL_CALL
getView
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
awt
::
XView
>
SAL_CALL
getView
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
setDesignMode
(
sal_Bool
bOn
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
setDesignMode
(
sal_Bool
bOn
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
isDesignMode
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
isDesignMode
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
isTransparent
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
isTransparent
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
forms/source/inc/property.hxx
Dosyayı görüntüle @
150df3c0
...
@@ -162,7 +162,7 @@ public:
...
@@ -162,7 +162,7 @@ public:
#define DECL_IFACE_PROP1(varname, type, attrib1) \
#define DECL_IFACE_PROP1(varname, type, attrib1) \
DECL_IFACE_PROP_IMPL(varname, type)
star
beans::PropertyAttribute::attrib1)
DECL_IFACE_PROP_IMPL(varname, type)
css::
beans::PropertyAttribute::attrib1)
#define DECL_IFACE_PROP2(varname, type, attrib1, attrib2) \
#define DECL_IFACE_PROP2(varname, type, attrib1, attrib2) \
...
@@ -170,11 +170,11 @@ public:
...
@@ -170,11 +170,11 @@ public:
#define DECL_IFACE_PROP3(varname, type, attrib1, attrib2, attrib3) \
#define DECL_IFACE_PROP3(varname, type, attrib1, attrib2, attrib3) \
DECL_IFACE_PROP_IMPL(varname, type)
starbeans::PropertyAttribute::attrib1 | starbeans::PropertyAttribute::attrib2 | star
beans::PropertyAttribute::attrib3)
DECL_IFACE_PROP_IMPL(varname, type)
css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::
beans::PropertyAttribute::attrib3)
#define DECL_IFACE_PROP4(varname, type, attrib1, attrib2, attrib3, attrib4) \
#define DECL_IFACE_PROP4(varname, type, attrib1, attrib2, attrib3, attrib4) \
DECL_IFACE_PROP_IMPL(varname, type)
starbeans::PropertyAttribute::attrib1 | starbeans::PropertyAttribute::attrib2 | star
beans::PropertyAttribute::attrib3 | PropertyAttribute::attrib4)
DECL_IFACE_PROP_IMPL(varname, type)
css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::
beans::PropertyAttribute::attrib3 | PropertyAttribute::attrib4)
// === or Boolean properties
// === or Boolean properties
...
...
svtools/source/uno/genericunodialog.cxx
Dosyayı görüntüle @
150df3c0
...
@@ -126,7 +126,7 @@ sal_Bool OGenericUnoDialog::convertFastPropertyValue( Any& rConvertedValue, Any&
...
@@ -126,7 +126,7 @@ sal_Bool OGenericUnoDialog::convertFastPropertyValue( Any& rConvertedValue, Any&
{
{
case
UNODIALOG_PROPERTY_ID_PARENT
:
case
UNODIALOG_PROPERTY_ID_PARENT
:
{
{
Reference
<
star
awt
::
XWindow
>
xNew
(
rValue
,
css
::
uno
::
UNO_QUERY
);
Reference
<
css
::
awt
::
XWindow
>
xNew
(
rValue
,
css
::
uno
::
UNO_QUERY
);
if
(
xNew
!=
m_xParent
)
if
(
xNew
!=
m_xParent
)
{
{
rConvertedValue
<<=
xNew
;
rConvertedValue
<<=
xNew
;
...
...
unotools/source/misc/datetime.cxx
Dosyayı görüntüle @
150df3c0
...
@@ -179,19 +179,19 @@ namespace
...
@@ -179,19 +179,19 @@ namespace
namespace
utl
namespace
utl
{
{
void
typeConvert
(
const
Date
&
_rDate
,
star
util
::
Date
&
_rOut
)
void
typeConvert
(
const
Date
&
_rDate
,
css
::
util
::
Date
&
_rOut
)
{
{
_rOut
.
Day
=
_rDate
.
GetDay
();
_rOut
.
Day
=
_rDate
.
GetDay
();
_rOut
.
Month
=
_rDate
.
GetMonth
();
_rOut
.
Month
=
_rDate
.
GetMonth
();
_rOut
.
Year
=
_rDate
.
GetYear
();
_rOut
.
Year
=
_rDate
.
GetYear
();
}
}
void
typeConvert
(
const
star
util
::
Date
&
_rDate
,
Date
&
_rOut
)
void
typeConvert
(
const
css
::
util
::
Date
&
_rDate
,
Date
&
_rOut
)
{
{
_rOut
=
Date
(
_rDate
.
Day
,
_rDate
.
Month
,
_rDate
.
Year
);
_rOut
=
Date
(
_rDate
.
Day
,
_rDate
.
Month
,
_rDate
.
Year
);
}
}
void
typeConvert
(
const
DateTime
&
_rDateTime
,
star
util
::
DateTime
&
_rOut
)
void
typeConvert
(
const
DateTime
&
_rDateTime
,
css
::
util
::
DateTime
&
_rOut
)
{
{
_rOut
.
Year
=
_rDateTime
.
GetYear
();
_rOut
.
Year
=
_rDateTime
.
GetYear
();
_rOut
.
Month
=
_rDateTime
.
GetMonth
();
_rOut
.
Month
=
_rDateTime
.
GetMonth
();
...
@@ -202,21 +202,21 @@ void typeConvert(const DateTime& _rDateTime, starutil::DateTime& _rOut)
...
@@ -202,21 +202,21 @@ void typeConvert(const DateTime& _rDateTime, starutil::DateTime& _rOut)
_rOut
.
NanoSeconds
=
_rDateTime
.
GetNanoSec
();
_rOut
.
NanoSeconds
=
_rDateTime
.
GetNanoSec
();
}
}
void
typeConvert
(
const
star
util
::
DateTime
&
_rDateTime
,
DateTime
&
_rOut
)
void
typeConvert
(
const
css
::
util
::
DateTime
&
_rDateTime
,
DateTime
&
_rOut
)
{
{
Date
aDate
(
_rDateTime
.
Day
,
_rDateTime
.
Month
,
_rDateTime
.
Year
);
Date
aDate
(
_rDateTime
.
Day
,
_rDateTime
.
Month
,
_rDateTime
.
Year
);
Time
aTime
(
_rDateTime
.
Hours
,
_rDateTime
.
Minutes
,
_rDateTime
.
Seconds
,
_rDateTime
.
NanoSeconds
);
Time
aTime
(
_rDateTime
.
Hours
,
_rDateTime
.
Minutes
,
_rDateTime
.
Seconds
,
_rDateTime
.
NanoSeconds
);
_rOut
=
DateTime
(
aDate
,
aTime
);
_rOut
=
DateTime
(
aDate
,
aTime
);
}
}
void
extractDate
(
const
starutil
::
DateTime
&
_rDateTime
,
star
util
::
Date
&
_rOut
)
void
extractDate
(
const
css
::
util
::
DateTime
&
_rDateTime
,
css
::
util
::
Date
&
_rOut
)
{
{
_rOut
.
Day
=
_rDateTime
.
Day
;
_rOut
.
Day
=
_rDateTime
.
Day
;
_rOut
.
Month
=
_rDateTime
.
Month
;
_rOut
.
Month
=
_rDateTime
.
Month
;
_rOut
.
Year
=
_rDateTime
.
Year
;
_rOut
.
Year
=
_rDateTime
.
Year
;
}
}
OUString
toISO8601
(
const
star
util
::
DateTime
&
rDateTime
)
OUString
toISO8601
(
const
css
::
util
::
DateTime
&
rDateTime
)
{
{
OUStringBuffer
rBuffer
;
OUStringBuffer
rBuffer
;
rBuffer
.
append
((
sal_Int32
)
rDateTime
.
Year
);
rBuffer
.
append
((
sal_Int32
)
rDateTime
.
Year
);
...
@@ -261,13 +261,13 @@ OUString toISO8601(const starutil::DateTime& rDateTime)
...
@@ -261,13 +261,13 @@ OUString toISO8601(const starutil::DateTime& rDateTime)
}
}
/** convert ISO8601 DateTime String to util::DateTime */
/** convert ISO8601 DateTime String to util::DateTime */
bool
ISO8601parseDateTime
(
const
OUString
&
rString
,
star
util
::
DateTime
&
rDateTime
)
bool
ISO8601parseDateTime
(
const
OUString
&
rString
,
css
::
util
::
DateTime
&
rDateTime
)
{
{
bool
bSuccess
=
true
;
bool
bSuccess
=
true
;
rtl
::
OUString
aDateStr
,
aTimeStr
;
rtl
::
OUString
aDateStr
,
aTimeStr
;
star
util
::
Date
aDate
;
css
::
util
::
Date
aDate
;
star
util
::
Time
aTime
;
css
::
util
::
Time
aTime
;
sal_Int32
nPos
=
rString
.
indexOf
(
'T'
);
sal_Int32
nPos
=
rString
.
indexOf
(
'T'
);
if
(
nPos
>=
0
)
if
(
nPos
>=
0
)
{
{
...
@@ -286,7 +286,7 @@ bool ISO8601parseDateTime(const OUString &rString, starutil::DateTime& rDateTime
...
@@ -286,7 +286,7 @@ bool ISO8601parseDateTime(const OUString &rString, starutil::DateTime& rDateTime
if
(
bSuccess
)
if
(
bSuccess
)
{
{
rDateTime
=
star
util
::
DateTime
(
aTime
.
NanoSeconds
,
aTime
.
Seconds
,
aTime
.
Minutes
,
aTime
.
Hours
,
rDateTime
=
css
::
util
::
DateTime
(
aTime
.
NanoSeconds
,
aTime
.
Seconds
,
aTime
.
Minutes
,
aTime
.
Hours
,
aDate
.
Day
,
aDate
.
Month
,
aDate
.
Year
,
false
);
aDate
.
Day
,
aDate
.
Month
,
aDate
.
Year
,
false
);
}
}
...
@@ -297,7 +297,7 @@ bool ISO8601parseDateTime(const OUString &rString, starutil::DateTime& rDateTime
...
@@ -297,7 +297,7 @@ bool ISO8601parseDateTime(const OUString &rString, starutil::DateTime& rDateTime
// TODO: supports only calendar dates YYYY-MM-DD
// TODO: supports only calendar dates YYYY-MM-DD
// MISSING: calendar dates YYYYMMDD YYYY-MM
// MISSING: calendar dates YYYYMMDD YYYY-MM
// year, week date, ordinal date
// year, week date, ordinal date
bool
ISO8601parseDate
(
const
OUString
&
aDateStr
,
star
util
::
Date
&
rDate
)
bool
ISO8601parseDate
(
const
OUString
&
aDateStr
,
css
::
util
::
Date
&
rDate
)
{
{
bool
bSuccess
=
true
;
bool
bSuccess
=
true
;
...
@@ -339,7 +339,7 @@ bool ISO8601parseDate(const OUString &aDateStr, starutil::Date& rDate)
...
@@ -339,7 +339,7 @@ bool ISO8601parseDate(const OUString &aDateStr, starutil::Date& rDate)
}
}
/** convert ISO8601 Time String to util::Time */
/** convert ISO8601 Time String to util::Time */
bool
ISO8601parseTime
(
const
OUString
&
aTimeStr
,
star
util
::
Time
&
rTime
)
bool
ISO8601parseTime
(
const
OUString
&
aTimeStr
,
css
::
util
::
Time
&
rTime
)
{
{
bool
bSuccess
=
true
;
bool
bSuccess
=
true
;
...
...
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