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
e81a7fd0
Kaydet (Commit)
e81a7fd0
authored
Nis 01, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I1693826962a0551396fd5691dc4a98f0646bade3
üst
a55166cc
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
18 deletions
+18
-18
apearcfg.cxx
svtools/source/config/apearcfg.cxx
+1
-1
colorcfg.cxx
svtools/source/config/colorcfg.cxx
+1
-1
fontsubstconfig.cxx
svtools/source/config/fontsubstconfig.cxx
+2
-2
htmlcfg.cxx
svtools/source/config/htmlcfg.cxx
+1
-1
addrtempuno.cxx
svtools/source/uno/addrtempuno.cxx
+1
-1
genericunodialog.cxx
svtools/source/uno/genericunodialog.cxx
+2
-2
popupmenucontrollerbase.cxx
svtools/source/uno/popupmenucontrollerbase.cxx
+2
-2
toolboxcontroller.cxx
svtools/source/uno/toolboxcontroller.cxx
+2
-2
treecontrolpeer.cxx
svtools/source/uno/treecontrolpeer.cxx
+1
-1
unoevent.cxx
svtools/source/uno/unoevent.cxx
+1
-1
unoimap.cxx
svtools/source/uno/unoimap.cxx
+4
-4
No files found.
svtools/source/config/apearcfg.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -117,7 +117,7 @@ void SvtTabAppearanceCfg::ImplCommit()
Sequence
<
Any
>
aValues
(
rNames
.
getLength
());
Any
*
pValues
=
aValues
.
getArray
();
const
Type
&
rType
=
::
getBooleanCppuType
();
const
Type
&
rType
=
cppu
::
UnoType
<
bool
>::
get
();
for
(
int
nProp
=
0
;
nProp
<
rNames
.
getLength
();
nProp
++
)
{
switch
(
nProp
)
...
...
svtools/source/config/colorcfg.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -270,7 +270,7 @@ void ColorConfig_Impl::ImplCommit()
beans
::
PropertyValue
*
pPropValues
=
aPropValues
.
getArray
();
const
OUString
*
pColorNames
=
aColorNames
.
getConstArray
();
sal_Int32
nIndex
=
0
;
const
uno
::
Type
&
rBoolType
=
::
getBooleanCppuType
();
const
uno
::
Type
&
rBoolType
=
cppu
::
UnoType
<
bool
>::
get
();
for
(
int
i
=
0
;
i
<
2
*
ColorConfigEntryCount
&&
aColorNames
.
getLength
()
>
nIndex
;
i
+=
2
)
{
pPropValues
[
nIndex
].
Name
=
pColorNames
[
nIndex
];
...
...
svtools/source/config/fontsubstconfig.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -103,7 +103,7 @@ void SvtFontSubstConfig::ImplCommit()
Sequence
<
OUString
>
aNames
(
1
);
aNames
.
getArray
()[
0
]
=
cReplacement
;
Sequence
<
Any
>
aValues
(
1
);
aValues
.
getArray
()[
0
].
setValue
(
&
bIsEnabled
,
::
getBooleanCppuType
());
aValues
.
getArray
()[
0
].
setValue
(
&
bIsEnabled
,
cppu
::
UnoType
<
bool
>::
get
());
PutProperties
(
aNames
,
aValues
);
OUString
sNode
(
cFontPairs
);
...
...
@@ -120,7 +120,7 @@ void SvtFontSubstConfig::ImplCommit()
const
OUString
sAlways
(
cAlways
);
const
OUString
sOnScreenOnly
(
cOnScreenOnly
);
const
uno
::
Type
&
rBoolType
=
::
getBooleanCppuType
();
const
uno
::
Type
&
rBoolType
=
cppu
::
UnoType
<
bool
>::
get
();
for
(
size_t
i
=
0
;
i
<
pImpl
->
aSubstArr
.
size
();
i
++
)
{
OUString
sPrefix
=
sNode
+
"/_"
+
OUString
::
number
(
i
)
+
"/"
;
...
...
svtools/source/config/htmlcfg.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -237,7 +237,7 @@ void SvxHtmlOptions::ImplCommit()
case
15
:
bSet
=
0
!=
(
pImp
->
nFlags
&
HTMLCFG_NUMBERS_ENGLISH_US
);
break
;
//"Import/NumbersEnglishUS"
}
if
(
nProp
<
2
||
(
nProp
>
9
&&
nProp
<
14
)
||
nProp
==
15
)
pValues
[
nProp
].
setValue
(
&
bSet
,
::
getCppuBooleanType
());
pValues
[
nProp
].
setValue
(
&
bSet
,
cppu
::
UnoType
<
bool
>::
get
());
}
PutProperties
(
aNames
,
aValues
);
}
...
...
svtools/source/uno/addrtempuno.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -83,7 +83,7 @@ namespace {
:
OGenericUnoDialog
(
_rxORB
)
{
registerProperty
(
OUString
(
UNODIALOG_PROPERTY_ALIASES
),
UNODIALOG_PROPERTY_ID_ALIASES
,
PropertyAttribute
::
READONLY
,
&
m_aAliases
,
getCppuType
(
&
m_aAliases
));
&
m_aAliases
,
cppu
::
UnoType
<
decltype
(
m_aAliases
)
>::
get
(
));
}
...
...
svtools/source/uno/genericunodialog.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -57,9 +57,9 @@ OGenericUnoDialog::OGenericUnoDialog(const Reference< XComponentContext >& _rxCo
,
m_aContext
(
_rxContext
)
{
registerProperty
(
OUString
(
UNODIALOG_PROPERTY_TITLE
),
UNODIALOG_PROPERTY_ID_TITLE
,
PropertyAttribute
::
TRANSIENT
,
&
m_sTitle
,
getCppuType
(
&
m_sTitle
));
&
m_sTitle
,
cppu
::
UnoType
<
decltype
(
m_sTitle
)
>::
get
(
));
registerProperty
(
OUString
(
UNODIALOG_PROPERTY_PARENT
),
UNODIALOG_PROPERTY_ID_PARENT
,
PropertyAttribute
::
TRANSIENT
,
&
m_xParent
,
getCppuType
(
&
m_xParent
));
&
m_xParent
,
cppu
::
UnoType
<
decltype
(
m_xParent
)
>::
get
(
));
}
...
...
svtools/source/uno/popupmenucontrollerbase.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -259,7 +259,7 @@ throw( ::com::sun::star::uno::RuntimeException, std::exception )
aLock
.
clear
();
bool
bStatusUpdate
(
false
);
rBHelper
.
addListener
(
::
getCppuType
(
&
xControl
),
xControl
);
rBHelper
.
addListener
(
cppu
::
UnoType
<
decltype
(
xControl
)
>::
get
(
),
xControl
);
aLock
.
reset
();
if
(
aURL
.
Complete
.
startsWith
(
m_aBaseURL
)
)
...
...
@@ -283,7 +283,7 @@ void SAL_CALL PopupMenuControllerBase::removeStatusListener(
const
URL
&
/*aURL*/
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
rBHelper
.
removeListener
(
::
getCppuType
(
&
xControl
),
xControl
);
rBHelper
.
removeListener
(
cppu
::
UnoType
<
decltype
(
xControl
)
>::
get
(
),
xControl
);
}
OUString
PopupMenuControllerBase
::
determineBaseURL
(
const
OUString
&
aURL
)
...
...
svtools/source/uno/toolboxcontroller.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -67,7 +67,7 @@ ToolboxController::ToolboxController(
registerProperty
(
OUString
(
TOOLBARCONTROLLER_PROPNAME_SUPPORTSVISIBLE
),
TOOLBARCONTROLLER_PROPHANDLE_SUPPORTSVISIBLE
,
css
::
beans
::
PropertyAttribute
::
TRANSIENT
|
css
::
beans
::
PropertyAttribute
::
READONLY
,
&
m_bSupportVisible
,
getCppuType
(
&
m_bSupportVisible
));
&
m_bSupportVisible
,
cppu
::
UnoType
<
decltype
(
m_bSupportVisible
)
>::
get
(
));
try
{
...
...
@@ -89,7 +89,7 @@ ToolboxController::ToolboxController() :
registerProperty
(
OUString
(
TOOLBARCONTROLLER_PROPNAME_SUPPORTSVISIBLE
),
TOOLBARCONTROLLER_PROPHANDLE_SUPPORTSVISIBLE
,
css
::
beans
::
PropertyAttribute
::
TRANSIENT
|
css
::
beans
::
PropertyAttribute
::
READONLY
,
&
m_bSupportVisible
,
getCppuType
(
&
m_bSupportVisible
));
&
m_bSupportVisible
,
cppu
::
UnoType
<
decltype
(
m_bSupportVisible
)
>::
get
(
));
}
ToolboxController
::~
ToolboxController
()
...
...
svtools/source/uno/treecontrolpeer.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -481,7 +481,7 @@ void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect,
}
case
TypeClass_SEQUENCE
:
{
if
(
rSelection
.
getValueType
()
==
::
getCppuType
(
(
const
Sequence
<
Reference
<
XTreeNode
>
>
*
)
0
)
)
if
(
rSelection
.
getValueType
()
==
cppu
::
UnoType
<
Sequence
<
Reference
<
XTreeNode
>
>>::
get
(
)
)
{
const
Sequence
<
Reference
<
XTreeNode
>
>&
rSeq
(
*
static_cast
<
const
Sequence
<
Reference
<
XTreeNode
>
>
*>
(
rSelection
.
getValue
())
);
nCount
=
rSeq
.
getLength
();
...
...
svtools/source/uno/unoevent.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -136,7 +136,7 @@ sal_Bool SvBaseEventDescriptor::hasByName(
Type
SvBaseEventDescriptor
::
getElementType
()
throw
(
RuntimeException
,
std
::
exception
)
{
return
::
getCppuType
((
Sequence
<
PropertyValue
>
*
)
0
);
return
cppu
::
UnoType
<
Sequence
<
PropertyValue
>>::
get
(
);
}
sal_Bool
SvBaseEventDescriptor
::
hasElements
()
...
...
svtools/source/uno/unoimap.cxx
Dosyayı görüntüle @
e81a7fd0
...
...
@@ -136,8 +136,8 @@ PropertySetInfo * SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
::
getBooleanCppuType
(),
0
,
0
},
{
OUString
(
"Polygon"
),
HANDLE_POLYGON
,
::
getCppuType
((
const
PointSequence
*
)
0
),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
cppu
::
UnoType
<
bool
>::
get
(),
0
,
0
},
{
OUString
(
"Polygon"
),
HANDLE_POLYGON
,
cppu
::
UnoType
<
PointSequence
>::
get
(
),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
...
...
@@ -152,7 +152,7 @@ PropertySetInfo * SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
::
getBooleanCppuType
(),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
cppu
::
UnoType
<
bool
>::
get
(),
0
,
0
},
{
OUString
(
"Center"
),
HANDLE_CENTER
,
cppu
::
UnoType
<
awt
::
Point
>::
get
(),
0
,
0
},
{
OUString
(
"Radius"
),
HANDLE_RADIUS
,
cppu
::
UnoType
<
sal_Int32
>::
get
(),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
...
...
@@ -170,7 +170,7 @@ PropertySetInfo * SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
cppu
::
UnoType
<
OUString
>::
get
(),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
::
getBooleanCppuType
(),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
cppu
::
UnoType
<
bool
>::
get
(),
0
,
0
},
{
OUString
(
"Boundary"
),
HANDLE_BOUNDARY
,
cppu
::
UnoType
<
awt
::
Rectangle
>::
get
(),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
...
...
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