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
ef611731
Kaydet (Commit)
ef611731
authored
Mar 06, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: sal_Bool->bool
Change-Id: Idfffbcad1a51192c5ccad28a16c4e613060fc2dc
üst
0277baf9
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
61 additions
and
61 deletions
+61
-61
attributeproperties.hxx
include/svx/sdr/properties/attributeproperties.hxx
+2
-2
captionproperties.hxx
include/svx/sdr/properties/captionproperties.hxx
+1
-1
circleproperties.hxx
include/svx/sdr/properties/circleproperties.hxx
+1
-1
connectorproperties.hxx
include/svx/sdr/properties/connectorproperties.hxx
+1
-1
customshapeproperties.hxx
include/svx/sdr/properties/customshapeproperties.hxx
+2
-2
defaultproperties.hxx
include/svx/sdr/properties/defaultproperties.hxx
+2
-2
e3dcompoundproperties.hxx
include/svx/sdr/properties/e3dcompoundproperties.hxx
+1
-1
e3dproperties.hxx
include/svx/sdr/properties/e3dproperties.hxx
+1
-1
e3dsceneproperties.hxx
include/svx/sdr/properties/e3dsceneproperties.hxx
+2
-2
emptyproperties.hxx
include/svx/sdr/properties/emptyproperties.hxx
+2
-2
graphicproperties.hxx
include/svx/sdr/properties/graphicproperties.hxx
+1
-1
groupproperties.hxx
include/svx/sdr/properties/groupproperties.hxx
+3
-3
measureproperties.hxx
include/svx/sdr/properties/measureproperties.hxx
+1
-1
properties.hxx
include/svx/sdr/properties/properties.hxx
+4
-4
rectangleproperties.hxx
include/svx/sdr/properties/rectangleproperties.hxx
+1
-1
textproperties.hxx
include/svx/sdr/properties/textproperties.hxx
+1
-1
attributeproperties.cxx
svx/source/sdr/properties/attributeproperties.cxx
+8
-8
captionproperties.cxx
svx/source/sdr/properties/captionproperties.cxx
+1
-1
circleproperties.cxx
svx/source/sdr/properties/circleproperties.cxx
+1
-1
connectorproperties.cxx
svx/source/sdr/properties/connectorproperties.cxx
+1
-1
customshapeproperties.cxx
svx/source/sdr/properties/customshapeproperties.cxx
+2
-2
defaultproperties.cxx
svx/source/sdr/properties/defaultproperties.cxx
+3
-3
e3dcompoundproperties.cxx
svx/source/sdr/properties/e3dcompoundproperties.cxx
+1
-1
e3dproperties.cxx
svx/source/sdr/properties/e3dproperties.cxx
+1
-1
e3dsceneproperties.cxx
svx/source/sdr/properties/e3dsceneproperties.cxx
+2
-2
emptyproperties.cxx
svx/source/sdr/properties/emptyproperties.cxx
+3
-3
graphicproperties.cxx
svx/source/sdr/properties/graphicproperties.cxx
+1
-1
groupproperties.cxx
svx/source/sdr/properties/groupproperties.cxx
+4
-4
measureproperties.cxx
svx/source/sdr/properties/measureproperties.cxx
+1
-1
properties.cxx
svx/source/sdr/properties/properties.cxx
+2
-2
rectangleproperties.cxx
svx/source/sdr/properties/rectangleproperties.cxx
+1
-1
textproperties.cxx
svx/source/sdr/properties/textproperties.cxx
+1
-1
cell.cxx
svx/source/table/cell.cxx
+2
-2
No files found.
include/svx/sdr/properties/attributeproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -34,7 +34,7 @@ namespace sdr
class
SVX_DLLPUBLIC
AttributeProperties
:
public
DefaultProperties
,
public
SfxListener
,
public
svl
::
StyleSheetUser
{
// add style sheet, do all the necessary handling
void
ImpAddStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
void
ImpAddStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// remove StyleSheet, do all the necessary handling
void
ImpRemoveStyleSheet
();
...
...
@@ -66,7 +66,7 @@ namespace sdr
virtual
~
AttributeProperties
();
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// get the installed StyleSheet
virtual
SfxStyleSheet
*
GetStyleSheet
()
const
;
...
...
include/svx/sdr/properties/captionproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -51,7 +51,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// force default attributes for a specific object type, called from
// DefaultProperties::GetObjectItemSet() if a new ItemSet is created
...
...
include/svx/sdr/properties/circleproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -51,7 +51,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// force default attributes for a specific object type, called from
// DefaultProperties::GetObjectItemSet() if a new ItemSet is created
...
...
include/svx/sdr/properties/connectorproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -51,7 +51,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
};
}
// end of namespace properties
}
// end of namespace sdr
...
...
include/svx/sdr/properties/customshapeproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -37,7 +37,7 @@ namespace sdr
virtual
SfxItemSet
&
CreateObjectSpecificItemSet
(
SfxItemPool
&
rPool
);
// test changeability for a single item
virtual
sal_B
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
virtual
b
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
// react on ItemSet changes
virtual
void
ItemSetChanged
(
const
SfxItemSet
&
rSet
);
...
...
@@ -55,7 +55,7 @@ namespace sdr
public
:
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// force default attributes for a specific object type, called from
// DefaultProperties::GetObjectItemSet() if a new ItemSet is created
...
...
include/svx/sdr/properties/defaultproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -39,7 +39,7 @@ namespace sdr
virtual
SfxItemSet
&
CreateObjectSpecificItemSet
(
SfxItemPool
&
rPool
);
// test changeability for a single item
virtual
sal_B
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
virtual
b
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
// Do the ItemChange, may do special handling
virtual
void
ItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
);
...
...
@@ -83,7 +83,7 @@ namespace sdr
virtual
void
SetObjectItemSet
(
const
SfxItemSet
&
rSet
);
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// get the installed StyleSheet
virtual
SfxStyleSheet
*
GetStyleSheet
()
const
;
...
...
include/svx/sdr/properties/e3dcompoundproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -59,7 +59,7 @@ namespace sdr
virtual
const
SfxItemSet
&
GetMergedItemSet
()
const
;
// Set merged ItemSet. Normally, this maps to SetObjectItemSet().
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_Bool
bClearAllItems
=
sal_F
alse
);
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
bool
bClearAllItems
=
f
alse
);
};
}
// end of namespace properties
}
// end of namespace sdr
...
...
include/svx/sdr/properties/e3dproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -52,7 +52,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
};
}
// end of namespace properties
}
// end of namespace sdr
...
...
include/svx/sdr/properties/e3dsceneproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -58,7 +58,7 @@ namespace sdr
virtual
const
SfxItemSet
&
GetMergedItemSet
()
const
;
// Set merged ItemSet. Normally, this maps to SetObjectItemSet().
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_Bool
bClearAllItems
=
sal_F
alse
);
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
bool
bClearAllItems
=
f
alse
);
// Set a single item, iterate over hierarchies if necessary.
virtual
void
SetMergedItem
(
const
SfxPoolItem
&
rItem
);
...
...
@@ -67,7 +67,7 @@ namespace sdr
virtual
void
ClearMergedItem
(
const
sal_uInt16
nWhich
=
0
);
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// get the installed StyleSheet
virtual
SfxStyleSheet
*
GetStyleSheet
()
const
;
...
...
include/svx/sdr/properties/emptyproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -39,7 +39,7 @@ namespace sdr
virtual
SfxItemSet
&
CreateObjectSpecificItemSet
(
SfxItemPool
&
rPool
);
// test changeability for a single item
virtual
sal_B
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
virtual
b
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
// Do the ItemChange, may do special handling
virtual
void
ItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
);
...
...
@@ -83,7 +83,7 @@ namespace sdr
virtual
void
SetObjectItemSet
(
const
SfxItemSet
&
rSet
);
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// get the installed StyleSheet
virtual
SfxStyleSheet
*
GetStyleSheet
()
const
;
...
...
include/svx/sdr/properties/graphicproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -51,7 +51,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// force default attributes for a specific object type, called from
// DefaultProperties::GetObjectItemSet() if a new ItemSet is created
...
...
include/svx/sdr/properties/groupproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -35,7 +35,7 @@ namespace sdr
virtual
SfxItemSet
&
CreateObjectSpecificItemSet
(
SfxItemPool
&
rPool
);
// test changeability for a single item
virtual
sal_B
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
virtual
b
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
;
// Do the ItemChange, may do special handling
virtual
void
ItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
);
...
...
@@ -70,7 +70,7 @@ namespace sdr
virtual
const
SfxItemSet
&
GetMergedItemSet
()
const
;
// Set merged ItemSet. Normally, this maps to SetObjectItemSet().
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_Bool
bClearAllItems
=
sal_F
alse
);
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
bool
bClearAllItems
=
f
alse
);
// set single item
virtual
void
SetObjectItem
(
const
SfxPoolItem
&
rItem
);
...
...
@@ -95,7 +95,7 @@ namespace sdr
virtual
void
SetObjectItemSet
(
const
SfxItemSet
&
rSet
);
// set a new StyleSheet
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// get the local StyleSheet
virtual
SfxStyleSheet
*
GetStyleSheet
()
const
;
...
...
include/svx/sdr/properties/measureproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -51,7 +51,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// force default attributes for a specific object type, called from
// DefaultProperties::GetObjectItemSet() if a new ItemSet is created
...
...
include/svx/sdr/properties/properties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -66,7 +66,7 @@ namespace sdr
// Test changeability for a single item. If a implementation wants to prevent
// changing an item this method may be overloaded.
virtual
sal_B
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
=
0
;
virtual
b
ool
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
=
0
)
const
=
0
;
// Do the internal ItemChange. If only nWhich is given, the item needs to be cleared.
// Also needs to handle if nWhich and pNewItem is 0, which means to clear all items.
...
...
@@ -110,7 +110,7 @@ namespace sdr
virtual
void
SetObjectItemSet
(
const
SfxItemSet
&
rSet
)
=
0
;
// Set merged ItemSet. Normally, this maps to SetObjectItemSet().
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_Bool
bClearAllItems
=
sal_F
alse
);
virtual
void
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
bool
bClearAllItems
=
f
alse
);
// Set single item at the local ItemSet. Uses AllowItemChange(),
// ItemChange(), PostItemChange() and ItemSetChanged() calls.
...
...
@@ -139,7 +139,7 @@ namespace sdr
// Set a new StyleSheet. Registers as listener at the StyleSheet to get knowledge
// of StyleSheet changes.
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
=
0
;
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
=
0
;
// Get the installed StyleSheet.
virtual
SfxStyleSheet
*
GetStyleSheet
()
const
=
0
;
...
...
@@ -164,7 +164,7 @@ namespace sdr
// will be changed these broadcasts will no longer be needed.
//void SetItemAndBroadcast(const SfxPoolItem& rItem);
//void ClearItemAndBroadcast(const sal_uInt16 nWhich = 0);
void
SetMergedItemSetAndBroadcast
(
const
SfxItemSet
&
rSet
,
sal_Bool
bClearAllItems
=
sal_F
alse
);
void
SetMergedItemSetAndBroadcast
(
const
SfxItemSet
&
rSet
,
bool
bClearAllItems
=
f
alse
);
// Just a convenient shortcut for GetObjectItemSet().Get(nWhich).
const
SfxPoolItem
&
GetItem
(
const
sal_uInt16
nWhich
)
const
;
...
...
include/svx/sdr/properties/rectangleproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -49,7 +49,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
};
}
// end of namespace properties
}
// end of namespace sdr
...
...
include/svx/sdr/properties/textproperties.hxx
Dosyayı görüntüle @
ef611731
...
...
@@ -63,7 +63,7 @@ namespace sdr
virtual
BaseProperties
&
Clone
(
SdrObject
&
rObj
)
const
;
// set a new StyleSheet and broadcast
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
virtual
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
// force default attributes for a specific object type, called from
// DefaultProperties::GetObjectItemSet() if a new ItemSet is created
...
...
svx/source/sdr/properties/attributeproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -49,7 +49,7 @@ namespace sdr
{
namespace
properties
{
void
AttributeProperties
::
ImpAddStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
AttributeProperties
::
ImpAddStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
// test if old StyleSheet is cleared, else it would be lost
// after this method -> memory leak (!)
...
...
@@ -137,7 +137,7 @@ namespace sdr
{
if
(
rProps
.
GetStyleSheet
())
{
ImpAddStyleSheet
(
rProps
.
GetStyleSheet
(),
sal_T
rue
);
ImpAddStyleSheet
(
rProps
.
GetStyleSheet
(),
t
rue
);
}
}
...
...
@@ -232,7 +232,7 @@ namespace sdr
}
}
void
AttributeProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
AttributeProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
ImpRemoveStyleSheet
();
ImpAddStyleSheet
(
pNewStyleSheet
,
bDontRemoveHardAttr
);
...
...
@@ -279,7 +279,7 @@ namespace sdr
if
(
pStyleSheetPool
==
pDestPool
)
{
// just re-set stylesheet
ImpAddStyleSheet
(
pStySheet
,
sal_T
rue
);
ImpAddStyleSheet
(
pStySheet
,
t
rue
);
}
else
{
...
...
@@ -300,7 +300,7 @@ namespace sdr
// document. Use the default as a fallback.
pNewStyleSheet
=
pNewModel
->
GetDefaultStyleSheet
();
}
ImpAddStyleSheet
(
pNewStyleSheet
,
sal_T
rue
);
ImpAddStyleSheet
(
pNewStyleSheet
,
t
rue
);
}
}
...
...
@@ -407,7 +407,7 @@ namespace sdr
if
(
GetStyleSheet
()
!=
pForThisObject
)
{
ImpRemoveStyleSheet
();
ImpAddStyleSheet
((
SfxStyleSheet
*
)
pForThisObject
,
sal_T
rue
);
ImpAddStyleSheet
((
SfxStyleSheet
*
)
pForThisObject
,
t
rue
);
}
}
else
...
...
@@ -471,7 +471,7 @@ namespace sdr
if
(
!
GetStyleSheet
()
&&
pNewModel
&&
!
pNewModel
->
IsLoading
())
{
GetObjectItemSet
();
// #118414 force ItemSet to allow style to be set
SetStyleSheet
(
pNewModel
->
GetDefaultStyleSheet
(),
sal_T
rue
);
SetStyleSheet
(
pNewModel
->
GetDefaultStyleSheet
(),
t
rue
);
}
}
}
...
...
@@ -574,7 +574,7 @@ namespace sdr
if
(
pNewStSh
)
{
ImpAddStyleSheet
(
pNewStSh
,
sal_T
rue
);
ImpAddStyleSheet
(
pNewStSh
,
t
rue
);
}
break
;
...
...
svx/source/sdr/properties/captionproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -80,7 +80,7 @@ namespace sdr
RectangleProperties
::
ItemSetChanged
(
rSet
);
}
void
CaptionProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
CaptionProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrCaptionObj
&
rObj
=
(
SdrCaptionObj
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/circleproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -82,7 +82,7 @@ namespace sdr
rObj
.
ImpSetAttrToCircInfo
();
}
void
CircleProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
CircleProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrCircObj
&
rObj
=
(
SdrCircObj
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/connectorproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -80,7 +80,7 @@ namespace sdr
rObj
.
ImpSetAttrToEdgeInfo
();
}
void
ConnectorProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
ConnectorProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrEdgeObj
&
rObj
=
(
SdrEdgeObj
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/customshapeproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -67,7 +67,7 @@ namespace sdr
// end
0
,
0
));
}
sal_B
ool
CustomShapeProperties
::
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
)
const
b
ool
CustomShapeProperties
::
AllowItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
)
const
{
sal_Bool
bAllowItemChange
=
sal_True
;
if
(
!
pNewItem
)
...
...
@@ -140,7 +140,7 @@ namespace sdr
rObj
.
InvalidateRenderGeometry
();
}
void
CustomShapeProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
CustomShapeProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
TextProperties
::
SetStyleSheet
(
pNewStyleSheet
,
bDontRemoveHardAttr
);
UpdateTextFrameStatus
();
...
...
svx/source/sdr/properties/defaultproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -181,9 +181,9 @@ namespace sdr
{
}
sal_B
ool
DefaultProperties
::
AllowItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
const
b
ool
DefaultProperties
::
AllowItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
const
{
return
sal_T
rue
;
return
t
rue
;
}
void
DefaultProperties
::
ItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
...
...
@@ -196,7 +196,7 @@ namespace sdr
CleanupFillProperties
(
*
mpItemSet
);
}
void
DefaultProperties
::
SetStyleSheet
(
SfxStyleSheet
*
/*pNewStyleSheet*/
,
sal_B
ool
/*bDontRemoveHardAttr*/
)
void
DefaultProperties
::
SetStyleSheet
(
SfxStyleSheet
*
/*pNewStyleSheet*/
,
b
ool
/*bDontRemoveHardAttr*/
)
{
// no StyleSheet in DefaultProperties
}
...
...
svx/source/sdr/properties/e3dcompoundproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -74,7 +74,7 @@ namespace sdr
return
E3dProperties
::
GetMergedItemSet
();
}
void
E3dCompoundProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_B
ool
bClearAllItems
)
void
E3dCompoundProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
b
ool
bClearAllItems
)
{
// Set scene specific items at scene
E3dCompoundObject
&
rObj
=
(
E3dCompoundObject
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/e3dproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -75,7 +75,7 @@ namespace sdr
rObj
.
StructureChanged
();
}
void
E3dProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
E3dProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
// call parent
AttributeProperties
::
SetStyleSheet
(
pNewStyleSheet
,
bDontRemoveHardAttr
);
...
...
svx/source/sdr/properties/e3dsceneproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -111,7 +111,7 @@ namespace sdr
return
E3dProperties
::
GetMergedItemSet
();
}
void
E3dSceneProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_B
ool
bClearAllItems
)
void
E3dSceneProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
b
ool
bClearAllItems
)
{
// Set SDRATTR_3DOBJ_ range at contained objects.
const
SdrObjList
*
pSub
=
((
const
E3dScene
&
)
GetSdrObject
()).
GetSubList
();
...
...
@@ -236,7 +236,7 @@ namespace sdr
}
}
void
E3dSceneProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
E3dSceneProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
const
SdrObjList
*
pSub
=
((
const
E3dScene
&
)
GetSdrObject
()).
GetSubList
();
const
sal_uInt32
nCount
(
pSub
->
GetObjCount
());
...
...
svx/source/sdr/properties/emptyproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -110,10 +110,10 @@ namespace sdr
DBG_ASSERT
(
false
,
"EmptyProperties::ItemSetChanged() should never be called (!)"
);
}
sal_B
ool
EmptyProperties
::
AllowItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
const
b
ool
EmptyProperties
::
AllowItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
const
{
DBG_ASSERT
(
false
,
"EmptyProperties::AllowItemChange() should never be called (!)"
);
return
sal_T
rue
;
return
t
rue
;
}
void
EmptyProperties
::
ItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
...
...
@@ -126,7 +126,7 @@ namespace sdr
DBG_ASSERT
(
false
,
"EmptyProperties::PostItemChange() should never be called (!)"
);
}
void
EmptyProperties
::
SetStyleSheet
(
SfxStyleSheet
*
/*pNewStyleSheet*/
,
sal_B
ool
/*bDontRemoveHardAttr*/
)
void
EmptyProperties
::
SetStyleSheet
(
SfxStyleSheet
*
/*pNewStyleSheet*/
,
b
ool
/*bDontRemoveHardAttr*/
)
{
DBG_ASSERT
(
false
,
"EmptyProperties::SetStyleSheet() should never be called (!)"
);
}
...
...
svx/source/sdr/properties/graphicproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -89,7 +89,7 @@ namespace sdr
RectangleProperties
::
ItemSetChanged
(
rSet
);
}
void
GraphicProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
GraphicProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrGrafObj
&
rObj
=
(
SdrGrafObj
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/groupproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -110,7 +110,7 @@ namespace sdr
return
*
mpItemSet
;
}
void
GroupProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_B
ool
bClearAllItems
)
void
GroupProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
b
ool
bClearAllItems
)
{
// iterate over contained SdrObjects
const
SdrObjList
*
pSub
=
((
const
SdrObjGroup
&
)
GetSdrObject
()).
GetSubList
();
...
...
@@ -184,10 +184,10 @@ namespace sdr
DBG_ASSERT
(
false
,
"GroupProperties::ItemSetChanged() should never be called (!)"
);
}
sal_B
ool
GroupProperties
::
AllowItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
const
b
ool
GroupProperties
::
AllowItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
const
{
DBG_ASSERT
(
false
,
"GroupProperties::AllowItemChange() should never be called (!)"
);
return
sal_F
alse
;
return
f
alse
;
}
void
GroupProperties
::
ItemChange
(
const
sal_uInt16
/*nWhich*/
,
const
SfxPoolItem
*
/*pNewItem*/
)
...
...
@@ -228,7 +228,7 @@ namespace sdr
return
pRetval
;
}
void
GroupProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
GroupProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
const
SdrObjList
*
pSub
=
((
const
SdrObjGroup
&
)
GetSdrObject
()).
GetSubList
();
const
sal_uInt32
nCount
(
pSub
->
GetObjCount
());
...
...
svx/source/sdr/properties/measureproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -87,7 +87,7 @@ namespace sdr
rObj
.
SetTextDirty
();
}
void
MeasureProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
MeasureProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrMeasureObj
&
rObj
=
(
SdrMeasureObj
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/properties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -50,7 +50,7 @@ namespace sdr
return
GetObjectItemSet
();
}
void
BaseProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
sal_B
ool
bClearAllItems
)
void
BaseProperties
::
SetMergedItemSet
(
const
SfxItemSet
&
rSet
,
b
ool
bClearAllItems
)
{
// clear items if requested
if
(
bClearAllItems
)
...
...
@@ -99,7 +99,7 @@ namespace sdr
// Overload where an ItemSet is implemented.
}
void
BaseProperties
::
SetMergedItemSetAndBroadcast
(
const
SfxItemSet
&
rSet
,
sal_B
ool
bClearAllItems
)
void
BaseProperties
::
SetMergedItemSetAndBroadcast
(
const
SfxItemSet
&
rSet
,
b
ool
bClearAllItems
)
{
ItemChangeBroadcaster
aC
(
GetSdrObject
());
...
...
svx/source/sdr/properties/rectangleproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -57,7 +57,7 @@ namespace sdr
}
// set a new StyleSheet and broadcast
void
RectangleProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
RectangleProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrRectObj
&
rObj
=
(
SdrRectObj
&
)
GetSdrObject
();
...
...
svx/source/sdr/properties/textproperties.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -230,7 +230,7 @@ namespace sdr
return
static_cast
<
const
SdrTextObj
&>
(
GetSdrObject
());
}
void
TextProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
TextProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
SdrTextObj
&
rObj
=
(
SdrTextObj
&
)
GetSdrObject
();
...
...
svx/source/table/cell.cxx
Dosyayı görüntüle @
ef611731
...
...
@@ -170,7 +170,7 @@ namespace sdr
void
ItemChange
(
const
sal_uInt16
nWhich
,
const
SfxPoolItem
*
pNewItem
);
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
);
void
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
);
sdr
::
table
::
CellRef
mxCell
;
...
...
@@ -322,7 +322,7 @@ namespace sdr
AttributeProperties
::
ItemChange
(
nWhich
,
pNewItem
);
}
void
CellProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
sal_B
ool
bDontRemoveHardAttr
)
void
CellProperties
::
SetStyleSheet
(
SfxStyleSheet
*
pNewStyleSheet
,
b
ool
bDontRemoveHardAttr
)
{
TextProperties
::
SetStyleSheet
(
pNewStyleSheet
,
bDontRemoveHardAttr
);
}
...
...
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