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
19a5374b
Kaydet (Commit)
19a5374b
authored
Mar 09, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifiers
Change-Id: I52cab3f30c5a1365dd51d7db2c2cf2b3a609fa11
üst
e4602e54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
roadmapcontrol.hxx
include/toolkit/controls/roadmapcontrol.hxx
+3
-3
roadmapcontrol.cxx
toolkit/source/controls/roadmapcontrol.cxx
+4
-4
No files found.
include/toolkit/controls/roadmapcontrol.hxx
Dosyayı görüntüle @
19a5374b
...
@@ -81,7 +81,7 @@ namespace toolkit
...
@@ -81,7 +81,7 @@ namespace toolkit
void
MakeRMItemValidation
(
sal_Int32
Index
,
css
::
uno
::
Reference
<
XInterface
>
xRoadmapItem
);
void
MakeRMItemValidation
(
sal_Int32
Index
,
css
::
uno
::
Reference
<
XInterface
>
xRoadmapItem
);
css
::
container
::
ContainerEvent
GetContainerEvent
(
sal_Int32
Index
,
css
::
uno
::
Reference
<
XInterface
>
);
css
::
container
::
ContainerEvent
GetContainerEvent
(
sal_Int32
Index
,
css
::
uno
::
Reference
<
XInterface
>
);
void
SetRMItemDefaultProperties
(
const
sal_Int32
_
Index
,
css
::
uno
::
Reference
<
XInterface
>
);
void
SetRMItemDefaultProperties
(
const
sal_Int32
Index
,
css
::
uno
::
Reference
<
XInterface
>
);
static
sal_Int16
GetCurrentItemID
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropertySet
);
static
sal_Int16
GetCurrentItemID
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropertySet
);
sal_Int32
GetUniqueID
();
sal_Int32
GetUniqueID
();
...
@@ -116,9 +116,9 @@ namespace toolkit
...
@@ -116,9 +116,9 @@ namespace toolkit
sal_Int32
SAL_CALL
getCount
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
sal_Int32
SAL_CALL
getCount
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
css
::
uno
::
Any
SAL_CALL
getByIndex
(
sal_Int32
Index
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
css
::
uno
::
Any
SAL_CALL
getByIndex
(
sal_Int32
Index
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
insertByIndex
(
sal_Int32
Index
,
const
css
::
uno
::
Any
&
_
Element
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
insertByIndex
(
sal_Int32
Index
,
const
css
::
uno
::
Any
&
Element
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
removeByIndex
(
sal_Int32
Index
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
removeByIndex
(
sal_Int32
Index
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
replaceByIndex
(
sal_Int32
Index
,
const
css
::
uno
::
Any
&
_
Element
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
replaceByIndex
(
sal_Int32
Index
,
const
css
::
uno
::
Any
&
Element
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
lang
::
IndexOutOfBoundsException
,
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
addContainerListener
(
const
css
::
uno
::
Reference
<
css
::
container
::
XContainerListener
>&
xListener
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
addContainerListener
(
const
css
::
uno
::
Reference
<
css
::
container
::
XContainerListener
>&
xListener
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
removeContainerListener
(
const
css
::
uno
::
Reference
<
css
::
container
::
XContainerListener
>&
xListener
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
removeContainerListener
(
const
css
::
uno
::
Reference
<
css
::
container
::
XContainerListener
>&
xListener
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
...
...
toolkit/source/controls/roadmapcontrol.cxx
Dosyayı görüntüle @
19a5374b
...
@@ -274,13 +274,13 @@ static void lcl_throwIndexOutOfBoundsException( )
...
@@ -274,13 +274,13 @@ static void lcl_throwIndexOutOfBoundsException( )
}
}
void
SAL_CALL
UnoControlRoadmapModel
::
insertByIndex
(
const
sal_Int32
Index
,
const
Any
&
_
Element
)
void
SAL_CALL
UnoControlRoadmapModel
::
insertByIndex
(
const
sal_Int32
Index
,
const
Any
&
Element
)
throw
(
IllegalArgumentException
,
IndexOutOfBoundsException
,
WrappedTargetException
,
RuntimeException
,
std
::
exception
)
throw
(
IllegalArgumentException
,
IndexOutOfBoundsException
,
WrappedTargetException
,
RuntimeException
,
std
::
exception
)
{
{
if
(
(
Index
>=
(
(
sal_Int32
)
maRoadmapItems
.
size
()
+
1
)
)
||
(
Index
<
0
))
if
(
(
Index
>=
(
(
sal_Int32
)
maRoadmapItems
.
size
()
+
1
)
)
||
(
Index
<
0
))
lcl_throwIndexOutOfBoundsException
(
);
lcl_throwIndexOutOfBoundsException
(
);
Reference
<
XInterface
>
xRoadmapItem
;
Reference
<
XInterface
>
xRoadmapItem
;
_
Element
>>=
xRoadmapItem
;
Element
>>=
xRoadmapItem
;
MakeRMItemValidation
(
Index
,
xRoadmapItem
);
MakeRMItemValidation
(
Index
,
xRoadmapItem
);
SetRMItemDefaultProperties
(
Index
,
xRoadmapItem
);
SetRMItemDefaultProperties
(
Index
,
xRoadmapItem
);
maRoadmapItems
.
insert
(
maRoadmapItems
.
begin
()
+
Index
,
xRoadmapItem
);
maRoadmapItems
.
insert
(
maRoadmapItems
.
begin
()
+
Index
,
xRoadmapItem
);
...
@@ -328,11 +328,11 @@ static void lcl_throwIndexOutOfBoundsException( )
...
@@ -328,11 +328,11 @@ static void lcl_throwIndexOutOfBoundsException( )
}
}
void
SAL_CALL
UnoControlRoadmapModel
::
replaceByIndex
(
const
sal_Int32
Index
,
const
Any
&
_
Element
)
void
SAL_CALL
UnoControlRoadmapModel
::
replaceByIndex
(
const
sal_Int32
Index
,
const
Any
&
Element
)
throw
(
IllegalArgumentException
,
IndexOutOfBoundsException
,
WrappedTargetException
,
RuntimeException
,
std
::
exception
)
throw
(
IllegalArgumentException
,
IndexOutOfBoundsException
,
WrappedTargetException
,
RuntimeException
,
std
::
exception
)
{
{
Reference
<
XInterface
>
xRoadmapItem
;
Reference
<
XInterface
>
xRoadmapItem
;
_
Element
>>=
xRoadmapItem
;
Element
>>=
xRoadmapItem
;
MakeRMItemValidation
(
Index
,
xRoadmapItem
);
MakeRMItemValidation
(
Index
,
xRoadmapItem
);
SetRMItemDefaultProperties
(
Index
,
xRoadmapItem
);
SetRMItemDefaultProperties
(
Index
,
xRoadmapItem
);
maRoadmapItems
.
erase
(
maRoadmapItems
.
begin
()
+
Index
);
maRoadmapItems
.
erase
(
maRoadmapItems
.
begin
()
+
Index
);
...
...
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