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
bfff081e
Kaydet (Commit)
bfff081e
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 svl
Change-Id: I8abc272d12e62e25be358dc4c73008971f1cd609
üst
9f877f67
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
14 deletions
+14
-14
IndexedStyleSheets.hxx
include/svl/IndexedStyleSheets.hxx
+3
-3
currencytable.hxx
include/svl/currencytable.hxx
+1
-1
documentlockfile.hxx
include/svl/documentlockfile.hxx
+1
-1
style.hxx
include/svl/style.hxx
+1
-1
stylepool.hxx
include/svl/stylepool.hxx
+1
-1
IndexedStyleSheets.cxx
svl/source/items/IndexedStyleSheets.cxx
+3
-3
style.cxx
svl/source/items/style.cxx
+1
-1
stylepool.cxx
svl/source/items/stylepool.cxx
+1
-1
documentlockfile.cxx
svl/source/misc/documentlockfile.cxx
+1
-1
currencytable.cxx
svl/source/numbers/currencytable.cxx
+1
-1
No files found.
include/svl/IndexedStyleSheets.hxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -86,15 +86,15 @@ public:
* If the style sheet is already contained, this call has no effect.
*/
void
AddStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
style
);
AddStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
style
);
/** Removes a style sheet. */
bool
RemoveStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
style
);
RemoveStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
style
);
/** Check whether a specified style sheet is stored. */
bool
HasStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
style
)
const
;
HasStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
style
)
const
;
/** Obtain the number of style sheets which are held */
unsigned
...
...
include/svl/currencytable.hxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -36,7 +36,7 @@ public:
size_t
size
()
const
;
void
insert
(
iterator
it
,
std
::
unique_ptr
<
NfCurrencyEntry
>
p
);
void
insert
(
const
iterator
&
it
,
std
::
unique_ptr
<
NfCurrencyEntry
>
p
);
};
#endif
...
...
include/svl/documentlockfile.hxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -39,7 +39,7 @@ class SVL_DLLPUBLIC DocumentLockFile : public LockFileCommon
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
OpenStream
();
void
WriteEntryToStream
(
const
LockFileEntry
&
aEntry
,
c
ss
::
uno
::
Reference
<
css
::
io
::
XOutputStream
>
xStream
);
void
WriteEntryToStream
(
const
LockFileEntry
&
aEntry
,
c
onst
css
::
uno
::
Reference
<
css
::
io
::
XOutputStream
>&
xStream
);
public
:
DocumentLockFile
(
const
OUString
&
aOrigURL
);
...
...
include/svl/style.hxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -208,7 +208,7 @@ protected:
virtual
~
SfxStyleSheetBasePool
();
void
StoreStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
);
void
StoreStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
);
/** Obtain the indexed style sheets.
*/
...
...
include/svl/stylepool.hxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -69,7 +69,7 @@ public:
virtual
~
StylePool
();
static
OUString
nameOf
(
SfxItemSet_Pointer_t
pSet
);
static
OUString
nameOf
(
const
SfxItemSet_Pointer_t
&
pSet
);
};
class
SVL_DLLPUBLIC
IStylePoolIteratorAccess
...
...
svl/source/items/IndexedStyleSheets.cxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -86,7 +86,7 @@ IndexedStyleSheets::GetNumberOfStyleSheets() const
}
void
IndexedStyleSheets
::
AddStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
style
)
IndexedStyleSheets
::
AddStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
style
)
{
if
(
!
HasStyleSheet
(
style
))
{
mStyleSheets
.
push_back
(
style
);
...
...
@@ -96,7 +96,7 @@ IndexedStyleSheets::AddStyleSheet(rtl::Reference< SfxStyleSheetBase > style)
}
bool
IndexedStyleSheets
::
RemoveStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
style
)
IndexedStyleSheets
::
RemoveStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
style
)
{
rtl
::
OUString
styleName
=
style
->
GetName
();
std
::
vector
<
unsigned
>
positions
=
FindPositionsByName
(
styleName
);
...
...
@@ -207,7 +207,7 @@ IndexedStyleSheets::~IndexedStyleSheets()
{;}
bool
IndexedStyleSheets
::
HasStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
style
)
const
IndexedStyleSheets
::
HasStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
style
)
const
{
rtl
::
OUString
styleName
=
style
->
GetName
();
std
::
vector
<
unsigned
>
positions
=
FindPositionsByName
(
styleName
);
...
...
svl/source/items/style.cxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -965,7 +965,7 @@ SfxUnoStyleSheet* SfxUnoStyleSheet::getUnoStyleSheet( const css::uno::Reference<
}
void
SfxStyleSheetBasePool
::
StoreStyleSheet
(
rtl
::
Reference
<
SfxStyleSheetBase
>
xStyle
)
SfxStyleSheetBasePool
::
StoreStyleSheet
(
const
rtl
::
Reference
<
SfxStyleSheetBase
>&
xStyle
)
{
pImp
->
mxIndexedStyleSheets
->
AddStyleSheet
(
xStyle
);
}
...
...
svl/source/items/stylepool.cxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -332,7 +332,7 @@ namespace {
* This static method creates a unique name from a shared pointer to a SfxItemSet
* The name is the memory address of the SfxItemSet itself.
*/
OUString
StylePool
::
nameOf
(
SfxItemSet_Pointer_t
pSet
)
OUString
StylePool
::
nameOf
(
const
SfxItemSet_Pointer_t
&
pSet
)
{
return
OUString
::
number
(
reinterpret_cast
<
sal_IntPtr
>
(
pSet
.
get
()
),
16
);
}
...
...
svl/source/misc/documentlockfile.cxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -63,7 +63,7 @@ DocumentLockFile::~DocumentLockFile()
}
void
DocumentLockFile
::
WriteEntryToStream
(
const
LockFileEntry
&
aEntry
,
uno
::
Reference
<
io
::
XOutputStream
>
xOutput
)
void
DocumentLockFile
::
WriteEntryToStream
(
const
LockFileEntry
&
aEntry
,
const
uno
::
Reference
<
io
::
XOutputStream
>&
xOutput
)
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
...
svl/source/numbers/currencytable.cxx
Dosyayı görüntüle @
bfff081e
...
...
@@ -29,7 +29,7 @@ size_t NfCurrencyTable::size() const
return
maData
.
size
();
}
void
NfCurrencyTable
::
insert
(
iterator
it
,
std
::
unique_ptr
<
NfCurrencyEntry
>
p
)
void
NfCurrencyTable
::
insert
(
const
iterator
&
it
,
std
::
unique_ptr
<
NfCurrencyEntry
>
p
)
{
maData
.
insert
(
it
,
std
::
move
(
p
));
}
...
...
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