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
2c355e3a
Kaydet (Commit)
2c355e3a
authored
Haz 27, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused ItemProcessor argument
Change-Id: Ie650f8c046f60a749999e1819edb5abad79e5362
üst
a679ae4c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
25 deletions
+9
-25
PresenterConfigurationAccess.cxx
sdext/source/presenter/PresenterConfigurationAccess.cxx
+1
-1
PresenterConfigurationAccess.hxx
sdext/source/presenter/PresenterConfigurationAccess.hxx
+0
-1
PresenterScreen.cxx
sdext/source/presenter/PresenterScreen.cxx
+4
-10
PresenterScreen.hxx
sdext/source/presenter/PresenterScreen.hxx
+0
-2
PresenterTheme.cxx
sdext/source/presenter/PresenterTheme.cxx
+4
-11
No files found.
sdext/source/presenter/PresenterConfigurationAccess.cxx
Dosyayı görüntüle @
2c355e3a
...
...
@@ -210,7 +210,7 @@ void PresenterConfigurationAccess::ForAll (
else
bHasAllValues
=
false
;
if
(
bHasAllValues
)
rProcessor
(
rsKey
,
aValues
);
rProcessor
(
aValues
);
}
}
}
...
...
sdext/source/presenter/PresenterConfigurationAccess.hxx
Dosyayı görüntüle @
2c355e3a
...
...
@@ -123,7 +123,6 @@ public:
void
CommitChanges
();
typedef
::
std
::
function
<
void
(
const
OUString
&
,
const
::
std
::
vector
<
css
::
uno
::
Any
>&
)
>
ItemProcessor
;
typedef
::
std
::
function
<
void
(
const
OUString
&
,
...
...
sdext/source/presenter/PresenterScreen.cxx
Dosyayı görüntüle @
2c355e3a
...
...
@@ -687,9 +687,9 @@ void PresenterScreen::ProcessLayout (
PresenterConfigurationAccess
::
ForAll
(
xList
,
aProperties
,
[
this
,
rxContext
,
rxAnchorId
](
OUString
const
&
rString
,
std
::
vector
<
uno
::
Any
>
const
&
rArgs
)
[
this
,
rxContext
,
rxAnchorId
](
std
::
vector
<
uno
::
Any
>
const
&
rArgs
)
{
this
->
ProcessComponent
(
r
String
,
r
Args
,
rxContext
,
rxAnchorId
);
this
->
ProcessComponent
(
rArgs
,
rxContext
,
rxAnchorId
);
});
}
catch
(
const
RuntimeException
&
)
...
...
@@ -714,9 +714,9 @@ void PresenterScreen::ProcessViewDescriptions (
PresenterConfigurationAccess
::
ForAll
(
xViewDescriptionsNode
,
aProperties
,
[
this
](
OUString
const
&
rString
,
std
::
vector
<
uno
::
Any
>
const
&
rArgs
)
[
this
](
std
::
vector
<
uno
::
Any
>
const
&
rArgs
)
{
return
this
->
ProcessViewDescription
(
r
String
,
r
Args
);
return
this
->
ProcessViewDescription
(
rArgs
);
});
}
catch
(
const
RuntimeException
&
)
...
...
@@ -726,13 +726,10 @@ void PresenterScreen::ProcessViewDescriptions (
}
void
PresenterScreen
::
ProcessComponent
(
const
OUString
&
rsKey
,
const
::
std
::
vector
<
Any
>&
rValues
,
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XResourceId
>&
rxAnchorId
)
{
(
void
)
rsKey
;
if
(
rValues
.
size
()
!=
6
)
return
;
...
...
@@ -768,11 +765,8 @@ void PresenterScreen::ProcessComponent (
}
void
PresenterScreen
::
ProcessViewDescription
(
const
OUString
&
rsKey
,
const
::
std
::
vector
<
Any
>&
rValues
)
{
(
void
)
rsKey
;
if
(
rValues
.
size
()
!=
4
)
return
;
...
...
sdext/source/presenter/PresenterScreen.hxx
Dosyayı görüntüle @
2c355e3a
...
...
@@ -182,7 +182,6 @@ private:
configuration list.
*/
void
ProcessComponent
(
const
OUString
&
rsKey
,
const
::
std
::
vector
<
css
::
uno
::
Any
>&
rValues
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
const
css
::
uno
::
Reference
<
css
::
drawing
::
framework
::
XResourceId
>&
rxAnchorId
);
...
...
@@ -195,7 +194,6 @@ private:
/** Called by ProcessViewDescriptions for a single entry.
*/
void
ProcessViewDescription
(
const
OUString
&
rsKey
,
const
::
std
::
vector
<
css
::
uno
::
Any
>&
rValues
);
void
SetupView
(
...
...
sdext/source/presenter/PresenterTheme.cxx
Dosyayı görüntüle @
2c355e3a
...
...
@@ -155,7 +155,6 @@ public:
private
:
void
ProcessPaneStyle
(
ReadContext
&
rReadContext
,
const
OUString
&
rsKey
,
const
::
std
::
vector
<
css
::
uno
::
Any
>&
rValues
);
};
...
...
@@ -217,7 +216,6 @@ private:
void
ProcessStyleAssociation
(
ReadContext
&
rReadContext
,
const
OUString
&
rsKey
,
const
::
std
::
vector
<
css
::
uno
::
Any
>&
rValues
);
};
...
...
@@ -847,20 +845,17 @@ void PaneStyleContainer::Read (
PresenterConfigurationAccess
::
ForAll
(
xPaneStyleList
,
aProperties
,
[
this
,
&
rReadContext
]
(
OUString
const
&
rKey
,
std
::
vector
<
uno
::
Any
>
const
&
rValues
)
[
this
,
&
rReadContext
]
(
std
::
vector
<
uno
::
Any
>
const
&
rValues
)
{
return
this
->
ProcessPaneStyle
(
rReadContext
,
r
Key
,
r
Values
);
return
this
->
ProcessPaneStyle
(
rReadContext
,
rValues
);
});
}
}
void
PaneStyleContainer
::
ProcessPaneStyle
(
ReadContext
&
rReadContext
,
const
OUString
&
rsKey
,
const
::
std
::
vector
<
Any
>&
rValues
)
{
(
void
)
rsKey
;
if
(
rValues
.
size
()
!=
6
)
return
;
...
...
@@ -1086,9 +1081,9 @@ void StyleAssociationContainer::Read (
PresenterConfigurationAccess
::
ForAll
(
xStyleAssociationList
,
aProperties
,
[
this
,
&
rReadContext
]
(
OUString
const
&
rKey
,
std
::
vector
<
uno
::
Any
>
const
&
rValues
)
[
this
,
&
rReadContext
]
(
std
::
vector
<
uno
::
Any
>
const
&
rValues
)
{
return
this
->
ProcessStyleAssociation
(
rReadContext
,
r
Key
,
r
Values
);
return
this
->
ProcessStyleAssociation
(
rReadContext
,
rValues
);
});
}
}
...
...
@@ -1104,11 +1099,9 @@ OUString StyleAssociationContainer::GetStyleName (const OUString& rsResourceName
void
StyleAssociationContainer
::
ProcessStyleAssociation
(
ReadContext
&
rReadContext
,
const
OUString
&
rsKey
,
const
::
std
::
vector
<
Any
>&
rValues
)
{
(
void
)
rReadContext
;
(
void
)
rsKey
;
if
(
rValues
.
size
()
!=
2
)
return
;
...
...
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