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
2ebd79b3
Kaydet (Commit)
2ebd79b3
authored
Mar 03, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:constantfunction: svl
Change-Id: I6504e354cfb381cc00ea837f959e2e18e5fc596c
üst
02cb0ba6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
39 deletions
+4
-39
itemprop.hxx
include/svl/itemprop.hxx
+0
-2
macitem.hxx
include/svl/macitem.hxx
+1
-1
numuno.hxx
include/svl/numuno.hxx
+0
-5
itemprop.cxx
svl/source/items/itemprop.cxx
+1
-16
macitem.cxx
svl/source/items/macitem.cxx
+1
-1
inethist.cxx
svl/source/misc/inethist.cxx
+1
-1
numfmuno.cxx
svl/source/numbers/numfmuno.cxx
+0
-3
numuno.cxx
svl/source/numbers/numuno.cxx
+0
-10
No files found.
include/svl/itemprop.hxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -105,8 +105,6 @@ class SVL_DLLPUBLIC SfxItemPropertySet
{
SfxItemPropertyMap
m_aMap
;
mutable
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>
m_xInfo
;
protected
:
bool
FillItem
(
SfxItemSet
&
rSet
,
sal_uInt16
nWhich
,
bool
bGetProperty
)
const
;
public
:
SfxItemPropertySet
(
const
SfxItemPropertyMapEntry
*
pMap
)
:
...
...
include/svl/macitem.hxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -94,7 +94,7 @@ public:
SvStream
&
Read
(
SvStream
&
,
sal_uInt16
nVersion
=
SVX_MACROTBL_AKTVERSION
);
SvStream
&
Write
(
SvStream
&
)
const
;
s
al_uInt16
GetVersion
()
const
{
return
SVX_MACROTBL_AKTVERSION
;
}
s
tatic
sal_uInt16
GetVersion
()
{
return
SVX_MACROTBL_AKTVERSION
;
}
SvxMacroTable
::
iterator
begin
()
{
return
aSvxMacroTable
.
begin
();
}
SvxMacroTable
::
const_iterator
begin
()
const
{
return
aSvxMacroTable
.
begin
();
}
...
...
include/svl/numuno.hxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -62,11 +62,6 @@ public:
void
SetNumberFormatter
(
SvNumberFormatter
*
pNew
);
SvNumberFormatter
*
GetNumberFormatter
()
const
;
// override to adapt attributes in the document
void
NumberFormatDeleted
(
sal_uInt32
nKey
);
// override to possibly format something anew
void
SettingsChanged
();
// XNumberFormatsSupplier
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
SAL_CALL
getNumberFormatSettings
()
...
...
svl/source/items/itemprop.cxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -173,11 +173,6 @@ SfxItemPropertySet::~SfxItemPropertySet()
{
}
bool
SfxItemPropertySet
::
FillItem
(
SfxItemSet
&
,
sal_uInt16
,
bool
)
const
{
return
false
;
}
void
SfxItemPropertySet
::
getPropertyValue
(
const
SfxItemPropertySimpleEntry
&
rEntry
,
const
SfxItemSet
&
rSet
,
Any
&
rAny
)
const
throw
(
RuntimeException
)
...
...
@@ -195,12 +190,7 @@ void SfxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry& rEn
else
{
SfxItemSet
aSet
(
*
rSet
.
GetPool
(),
rEntry
.
nWID
,
rEntry
.
nWID
);
if
(
FillItem
(
aSet
,
rEntry
.
nWID
,
true
))
{
const
SfxPoolItem
&
rItem
=
aSet
.
Get
(
rEntry
.
nWID
);
rItem
.
QueryValue
(
rAny
,
rEntry
.
nMemberId
);
}
else
if
(
0
==
(
rEntry
.
nFlags
&
PropertyAttribute
::
MAYBEVOID
))
if
(
0
==
(
rEntry
.
nFlags
&
PropertyAttribute
::
MAYBEVOID
))
throw
RuntimeException
(
"Property not found in ItemSet but not MAYBEVOID?"
,
0
);
}
...
...
@@ -251,11 +241,6 @@ void SfxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry& rEn
if
(
eState
<
SfxItemState
::
DEFAULT
)
{
SfxItemSet
aSet
(
*
rSet
.
GetPool
(),
rEntry
.
nWID
,
rEntry
.
nWID
);
if
(
FillItem
(
aSet
,
rEntry
.
nWID
,
false
))
{
const
SfxPoolItem
&
rItem
=
aSet
.
Get
(
rEntry
.
nWID
);
pNewItem
.
reset
(
rItem
.
Clone
());
}
}
if
(
!
pNewItem
&&
pItem
)
{
...
...
svl/source/items/macitem.cxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -279,7 +279,7 @@ void SvxMacroItem::SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro )
sal_uInt16
SvxMacroItem
::
GetVersion
(
sal_uInt16
nFileFormatVersion
)
const
{
return
SOFFICE_FILEFORMAT_31
==
nFileFormatVersion
?
0
:
aMacroTable
.
GetVersion
();
?
0
:
SvxMacroTableDtor
::
GetVersion
();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svl/source/misc/inethist.cxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -123,7 +123,7 @@ class INetURLHistory_Impl: private boost::noncopyable
*/
void
initialize
(
void
);
s
al_uInt16
capacity
(
void
)
const
s
tatic
sal_uInt16
capacity
()
{
return
(
sal_uInt16
)(
INETHIST_SIZE_LIMIT
);
}
...
...
svl/source/numbers/numfmuno.cxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -536,7 +536,6 @@ void SAL_CALL SvNumberFormatsObj::removeByKey( sal_Int32 nKey ) throw(uno::Runti
if
(
pFormatter
)
{
pFormatter
->
DeleteEntry
(
nKey
);
rSupplier
.
NumberFormatDeleted
(
nKey
);
// Notification for the Document
}
}
...
...
@@ -994,8 +993,6 @@ void SAL_CALL SvNumberFormatSettingsObj::setPropertyValue( const OUString& aProp
}
else
throw
beans
::
UnknownPropertyException
();
rSupplier
.
SettingsChanged
();
}
else
throw
uno
::
RuntimeException
();
...
...
svl/source/numbers/numuno.cxx
Dosyayı görüntüle @
2ebd79b3
...
...
@@ -70,16 +70,6 @@ void SvNumberFormatsSupplierObj::SetNumberFormatter(SvNumberFormatter* pNew)
pImpl
->
pFormatter
=
pNew
;
}
void
SvNumberFormatsSupplierObj
::
NumberFormatDeleted
(
sal_uInt32
)
{
// Base implementation; does nothing
}
void
SvNumberFormatsSupplierObj
::
SettingsChanged
()
{
// Base implementation; does nothing
}
// XNumberFormatsSupplier
uno
::
Reference
<
beans
::
XPropertySet
>
SAL_CALL
SvNumberFormatsSupplierObj
::
getNumberFormatSettings
()
...
...
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