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
2c93d340
Kaydet (Commit)
2c93d340
authored
Nis 11, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clang-tidy performance-unnecessary-value-param in vbahelper
Change-Id: Ifbe78c4a43b9d77d6ecf481bb1a9aaac6bcd01a6
üst
fb42d03b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
vbashapes.hxx
include/vbahelper/vbashapes.hxx
+2
-2
vbafillformat.cxx
vbahelper/source/vbahelper/vbafillformat.cxx
+1
-1
vbafillformat.hxx
vbahelper/source/vbahelper/vbafillformat.hxx
+1
-1
vbashapes.cxx
vbahelper/source/vbahelper/vbashapes.cxx
+2
-2
No files found.
include/vbahelper/vbashapes.hxx
Dosyayı görüntüle @
2c93d340
...
@@ -52,8 +52,8 @@ protected:
...
@@ -52,8 +52,8 @@ protected:
public
:
public
:
ScVbaShapes
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
container
::
XIndexAccess
>&
xShapes
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>&
xModel
);
ScVbaShapes
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
container
::
XIndexAccess
>&
xShapes
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>&
xModel
);
static
void
setDefaultShapeProperties
(
c
ss
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
)
throw
(
css
::
uno
::
RuntimeException
);
static
void
setDefaultShapeProperties
(
c
onst
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>&
xShape
)
throw
(
css
::
uno
::
RuntimeException
);
static
void
setShape_NameProperty
(
c
ss
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
,
const
OUString
&
sName
);
static
void
setShape_NameProperty
(
c
onst
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>&
xShape
,
const
OUString
&
sName
);
//XEnumerationAccess
//XEnumerationAccess
virtual
css
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
css
::
uno
::
RuntimeException
)
override
;
virtual
css
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
css
::
uno
::
RuntimeException
)
override
;
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
override
;
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
override
;
...
...
vbahelper/source/vbahelper/vbafillformat.cxx
Dosyayı görüntüle @
2c93d340
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
using
namespace
ooo
::
vba
;
using
namespace
ooo
::
vba
;
using
namespace
com
::
sun
::
star
;
using
namespace
com
::
sun
::
star
;
ScVbaFillFormat
::
ScVbaFillFormat
(
const
uno
::
Reference
<
XHelperInterface
>&
xParent
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
,
const
uno
::
Reference
<
drawing
::
XShape
>
xShape
)
:
ScVbaFillFormat_BASE
(
xParent
,
xContext
),
m_xShape
(
xShape
)
ScVbaFillFormat
::
ScVbaFillFormat
(
const
uno
::
Reference
<
XHelperInterface
>&
xParent
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
,
const
uno
::
Reference
<
drawing
::
XShape
>
&
xShape
)
:
ScVbaFillFormat_BASE
(
xParent
,
xContext
),
m_xShape
(
xShape
)
{
{
m_xPropertySet
.
set
(
xShape
,
uno
::
UNO_QUERY_THROW
);
m_xPropertySet
.
set
(
xShape
,
uno
::
UNO_QUERY_THROW
);
m_nFillStyle
=
drawing
::
FillStyle_SOLID
;
m_nFillStyle
=
drawing
::
FillStyle_SOLID
;
...
...
vbahelper/source/vbahelper/vbafillformat.hxx
Dosyayı görüntüle @
2c93d340
...
@@ -43,7 +43,7 @@ protected:
...
@@ -43,7 +43,7 @@ protected:
virtual
css
::
uno
::
Sequence
<
OUString
>
getServiceNames
()
override
;
virtual
css
::
uno
::
Sequence
<
OUString
>
getServiceNames
()
override
;
public
:
public
:
ScVbaFillFormat
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
);
ScVbaFillFormat
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
&
xShape
);
void
setForeColorAndInternalStyle
(
sal_Int32
nForeColor
)
throw
(
css
::
uno
::
RuntimeException
);
void
setForeColorAndInternalStyle
(
sal_Int32
nForeColor
)
throw
(
css
::
uno
::
RuntimeException
);
// Attributes
// Attributes
...
...
vbahelper/source/vbahelper/vbashapes.cxx
Dosyayı görüntüle @
2c93d340
...
@@ -409,7 +409,7 @@ ScVbaShapes::AddTextboxInWriter( sal_Int32 /*_nOrientation*/, sal_Int32 _nLeft,
...
@@ -409,7 +409,7 @@ ScVbaShapes::AddTextboxInWriter( sal_Int32 /*_nOrientation*/, sal_Int32 _nLeft,
}
}
void
void
ScVbaShapes
::
setDefaultShapeProperties
(
uno
::
Reference
<
drawing
::
XShape
>
xShape
)
throw
(
uno
::
RuntimeException
)
ScVbaShapes
::
setDefaultShapeProperties
(
const
uno
::
Reference
<
drawing
::
XShape
>&
xShape
)
throw
(
uno
::
RuntimeException
)
{
{
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
xShape
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
xShape
,
uno
::
UNO_QUERY_THROW
);
xPropertySet
->
setPropertyValue
(
"FillStyle"
,
uno
::
makeAny
(
OUString
(
"SOLID"
)
)
);
xPropertySet
->
setPropertyValue
(
"FillStyle"
,
uno
::
makeAny
(
OUString
(
"SOLID"
)
)
);
...
@@ -420,7 +420,7 @@ ScVbaShapes::setDefaultShapeProperties( uno::Reference< drawing::XShape > xShape
...
@@ -420,7 +420,7 @@ ScVbaShapes::setDefaultShapeProperties( uno::Reference< drawing::XShape > xShape
}
}
void
void
ScVbaShapes
::
setShape_NameProperty
(
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
,
const
OUString
&
sName
)
ScVbaShapes
::
setShape_NameProperty
(
const
uno
::
Reference
<
css
::
drawing
::
XShape
>&
xShape
,
const
OUString
&
sName
)
{
{
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
xShape
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
xShape
,
uno
::
UNO_QUERY_THROW
);
try
try
...
...
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