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
caf8f777
Kaydet (Commit)
caf8f777
authored
Mar 04, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: sal_Bool->bool
Change-Id: I41f3935a468f38c59bfbce7096bb086daf6190a3
üst
5e36e2cb
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
122 additions
and
122 deletions
+122
-122
textattr.cxx
cui/source/tabpages/textattr.cxx
+1
-1
tpbitmap.cxx
cui/source/tabpages/tpbitmap.cxx
+2
-2
dataaccessdescriptor.hxx
include/svx/dataaccessdescriptor.hxx
+2
-2
dbaexchange.hxx
include/svx/dbaexchange.hxx
+5
-5
dbaobjectex.hxx
include/svx/dbaobjectex.hxx
+2
-2
dbtoolsclient.hxx
include/svx/dbtoolsclient.hxx
+3
-3
deflt3d.hxx
include/svx/deflt3d.hxx
+40
-40
dlgctrl.hxx
include/svx/dlgctrl.hxx
+9
-9
EnhancedCustomShape3d.cxx
svx/source/customshapes/EnhancedCustomShape3d.cxx
+2
-2
dlgctrl.cxx
svx/source/dialog/dlgctrl.cxx
+6
-6
deflt3d.cxx
svx/source/engine3d/deflt3d.cxx
+13
-13
view3d.cxx
svx/source/engine3d/view3d.cxx
+4
-4
dbaexchange.cxx
svx/source/fmcomp/dbaexchange.cxx
+19
-19
dbaobjectex.cxx
svx/source/fmcomp/dbaobjectex.cxx
+7
-7
dataaccessdescriptor.cxx
svx/source/form/dataaccessdescriptor.cxx
+2
-2
dbtoolsclient.cxx
svx/source/form/dbtoolsclient.cxx
+5
-5
No files found.
cui/source/tabpages/textattr.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -283,7 +283,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
...
@@ -283,7 +283,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
m_pCtlPosition
->
Reset
();
m_pCtlPosition
->
Reset
();
m_pCtlPosition
->
SetState
(
TRISTATE_INDET
);
m_pCtlPosition
->
SetState
(
TRISTATE_INDET
);
m_pCtlPosition
->
DoCompletelyDisable
(
sal_T
rue
);
m_pCtlPosition
->
DoCompletelyDisable
(
t
rue
);
m_pTsbFullWidth
->
SetState
(
TRISTATE_INDET
);
m_pTsbFullWidth
->
SetState
(
TRISTATE_INDET
);
m_pFlPosition
->
Enable
(
false
);
m_pFlPosition
->
Enable
(
false
);
...
...
cui/source/tabpages/tpbitmap.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -343,7 +343,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ChangeBitmapHdl_Impl)
...
@@ -343,7 +343,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ChangeBitmapHdl_Impl)
if
(
bIs8x8
)
if
(
bIs8x8
)
{
{
m_pCtlPixel
->
SetPaintable
(
sal_T
rue
);
m_pCtlPixel
->
SetPaintable
(
t
rue
);
m_pBxPixelEditor
->
Enable
();
m_pBxPixelEditor
->
Enable
();
m_pBtnModify
->
Enable
();
m_pBtnModify
->
Enable
();
m_pBtnAdd
->
Enable
();
m_pBtnAdd
->
Enable
();
...
@@ -393,7 +393,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ChangeBitmapHdl_Impl)
...
@@ -393,7 +393,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ChangeBitmapHdl_Impl)
else
else
{
{
m_pCtlPixel
->
Reset
();
m_pCtlPixel
->
Reset
();
m_pCtlPixel
->
SetPaintable
(
sal_F
alse
);
m_pCtlPixel
->
SetPaintable
(
f
alse
);
m_pBxPixelEditor
->
Disable
();
m_pBxPixelEditor
->
Disable
();
m_pBtnModify
->
Disable
();
m_pBtnModify
->
Disable
();
m_pBtnAdd
->
Disable
();
m_pBtnAdd
->
Disable
();
...
...
include/svx/dataaccessdescriptor.hxx
Dosyayı görüntüle @
caf8f777
...
@@ -92,10 +92,10 @@ namespace svx
...
@@ -92,10 +92,10 @@ namespace svx
*/
*/
void
initializeFrom
(
void
initializeFrom
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
_rValues
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
_rValues
,
sal_Bool
_bClear
=
sal_T
rue
);
bool
_bClear
=
t
rue
);
/// checks whether or not a given property is present in the descriptor
/// checks whether or not a given property is present in the descriptor
sal_Bool
has
(
DataAccessDescriptorProperty
_eWhich
)
const
;
bool
has
(
DataAccessDescriptorProperty
_eWhich
)
const
;
/** erases the given property from the descriptor
/** erases the given property from the descriptor
*/
*/
...
...
include/svx/dbaexchange.hxx
Dosyayı görüntüle @
caf8f777
...
@@ -113,11 +113,11 @@ namespace svx
...
@@ -113,11 +113,11 @@ namespace svx
@param _nFormats
@param _nFormats
formats to accept
formats to accept
*/
*/
static
sal_B
ool
canExtractColumnDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
sal_Int32
_nFormats
);
static
b
ool
canExtractColumnDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
sal_Int32
_nFormats
);
/** extracts a column descriptor from the transferable given
/** extracts a column descriptor from the transferable given
*/
*/
static
sal_B
ool
extractColumnDescriptor
(
static
b
ool
extractColumnDescriptor
(
const
TransferableDataHelper
&
_rData
const
TransferableDataHelper
&
_rData
,
OUString
&
_rDatasource
,
OUString
&
_rDatasource
,
OUString
&
_rDatabaseLocation
,
OUString
&
_rDatabaseLocation
...
@@ -216,7 +216,7 @@ namespace svx
...
@@ -216,7 +216,7 @@ namespace svx
@param _nFormats
@param _nFormats
formats to accept
formats to accept
*/
*/
static
sal_B
ool
canExtractObjectDescriptor
(
const
DataFlavorExVector
&
_rFlavors
);
static
b
ool
canExtractObjectDescriptor
(
const
DataFlavorExVector
&
_rFlavors
);
/** extracts a object descriptor from the transferable given
/** extracts a object descriptor from the transferable given
*/
*/
...
@@ -245,7 +245,7 @@ namespace svx
...
@@ -245,7 +245,7 @@ namespace svx
,
const
sal_Int32
_nCommandType
,
const
sal_Int32
_nCommandType
,
const
OUString
&
_rCommand
,
const
OUString
&
_rCommand
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>&
_rxConnection
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>&
_rxConnection
,
sal_B
ool
_bAddCommand
,
b
ool
_bAddCommand
,
const
OUString
&
_sActiveCommand
);
,
const
OUString
&
_sActiveCommand
);
};
};
...
@@ -267,7 +267,7 @@ namespace svx
...
@@ -267,7 +267,7 @@ namespace svx
@param _nFormats
@param _nFormats
formats to accept
formats to accept
*/
*/
static
sal_B
ool
canExtractDescriptor
(
const
DataFlavorExVector
&
_rFlavors
);
static
b
ool
canExtractDescriptor
(
const
DataFlavorExVector
&
_rFlavors
);
/** extracts a object descriptor from the transferable given
/** extracts a object descriptor from the transferable given
*/
*/
...
...
include/svx/dbaobjectex.hxx
Dosyayı görüntüle @
caf8f777
...
@@ -53,7 +53,7 @@ namespace svx
...
@@ -53,7 +53,7 @@ namespace svx
@param _rFlavors
@param _rFlavors
available flavors
available flavors
*/
*/
static
sal_Bool
canExtractComponentDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
sal_B
ool
_bForm
);
static
bool
canExtractComponentDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
b
ool
_bForm
);
/** extracts a component descriptor from the transferable given
/** extracts a component descriptor from the transferable given
*/
*/
...
@@ -65,7 +65,7 @@ namespace svx
...
@@ -65,7 +65,7 @@ namespace svx
virtual
void
AddSupportedFormats
();
virtual
void
AddSupportedFormats
();
virtual
sal_Bool
GetData
(
const
::
com
::
sun
::
star
::
datatransfer
::
DataFlavor
&
rFlavor
);
virtual
sal_Bool
GetData
(
const
::
com
::
sun
::
star
::
datatransfer
::
DataFlavor
&
rFlavor
);
static
sal_uInt32
getDescriptorFormatId
(
sal_B
ool
_bExtractForm
);
static
sal_uInt32
getDescriptorFormatId
(
b
ool
_bExtractForm
);
};
};
...
...
include/svx/dbtoolsclient.hxx
Dosyayı görüntüle @
caf8f777
...
@@ -42,7 +42,7 @@ namespace svxform
...
@@ -42,7 +42,7 @@ namespace svxform
static
::
connectivity
::
simple
::
createDataAccessToolsFactoryFunction
static
::
connectivity
::
simple
::
createDataAccessToolsFactoryFunction
s_pFactoryCreationFunc
;
s_pFactoryCreationFunc
;
mutable
sal_B
ool
m_bCreateAlready
;
mutable
b
ool
m_bCreateAlready
;
private
:
private
:
mutable
::
rtl
::
Reference
<
::
connectivity
::
simple
::
IDataAccessToolsFactory
>
m_xDataAccessFactory
;
mutable
::
rtl
::
Reference
<
::
connectivity
::
simple
::
IDataAccessToolsFactory
>
m_xDataAccessFactory
;
...
@@ -128,12 +128,12 @@ namespace svxform
...
@@ -128,12 +128,12 @@ namespace svxform
/** check if the property "Privileges" supports ::com::sun::star::sdbcx::Privilege::INSERT
/** check if the property "Privileges" supports ::com::sun::star::sdbcx::Privilege::INSERT
@param _rxCursorSet the property set
@param _rxCursorSet the property set
*/
*/
sal_B
ool
canInsert
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
_rxCursorSet
)
const
;
b
ool
canInsert
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
_rxCursorSet
)
const
;
/** check if the property "Privileges" supports ::com::sun::star::sdbcx::Privilege::UPDATE
/** check if the property "Privileges" supports ::com::sun::star::sdbcx::Privilege::UPDATE
@param _rxCursorSet the property set
@param _rxCursorSet the property set
*/
*/
sal_B
ool
canUpdate
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
_rxCursorSet
)
const
;
b
ool
canUpdate
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
_rxCursorSet
)
const
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameAccess
>
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameAccess
>
getFieldsByCommandDescriptor
(
getFieldsByCommandDescriptor
(
...
...
include/svx/deflt3d.hxx
Dosyayı görüntüle @
caf8f777
...
@@ -36,14 +36,14 @@ class SVX_DLLPUBLIC E3dDefaultAttributes
...
@@ -36,14 +36,14 @@ class SVX_DLLPUBLIC E3dDefaultAttributes
private
:
private
:
// Compound object
// Compound object
Color
aDefaultAmbientColor
;
Color
aDefaultAmbientColor
;
sal_B
ool
bDefaultCreateNormals
;
b
ool
bDefaultCreateNormals
;
sal_B
ool
bDefaultCreateTexture
;
b
ool
bDefaultCreateTexture
;
// Cube object
// Cube object
basegfx
::
B3DPoint
aDefaultCubePos
;
basegfx
::
B3DPoint
aDefaultCubePos
;
basegfx
::
B3DVector
aDefaultCubeSize
;
basegfx
::
B3DVector
aDefaultCubeSize
;
sal_uInt16
nDefaultCubeSideFlags
;
sal_uInt16
nDefaultCubeSideFlags
;
sal_B
ool
bDefaultCubePosIsCenter
;
b
ool
bDefaultCubePosIsCenter
;
// Sphere object
// Sphere object
basegfx
::
B3DPoint
aDefaultSphereCenter
;
basegfx
::
B3DPoint
aDefaultSphereCenter
;
...
@@ -51,18 +51,18 @@ private:
...
@@ -51,18 +51,18 @@ private:
// Lathe object
// Lathe object
long
nDefaultLatheEndAngle
;
long
nDefaultLatheEndAngle
;
sal_B
ool
bDefaultLatheSmoothed
;
b
ool
bDefaultLatheSmoothed
;
sal_B
ool
bDefaultLatheSmoothFrontBack
;
b
ool
bDefaultLatheSmoothFrontBack
;
sal_B
ool
bDefaultLatheCharacterMode
;
b
ool
bDefaultLatheCharacterMode
;
sal_B
ool
bDefaultLatheCloseFront
;
b
ool
bDefaultLatheCloseFront
;
sal_B
ool
bDefaultLatheCloseBack
;
b
ool
bDefaultLatheCloseBack
;
// Extrude object
// Extrude object
sal_B
ool
bDefaultExtrudeSmoothed
;
b
ool
bDefaultExtrudeSmoothed
;
sal_B
ool
bDefaultExtrudeSmoothFrontBack
;
b
ool
bDefaultExtrudeSmoothFrontBack
;
sal_B
ool
bDefaultExtrudeCharacterMode
;
b
ool
bDefaultExtrudeCharacterMode
;
sal_B
ool
bDefaultExtrudeCloseFront
;
b
ool
bDefaultExtrudeCloseFront
;
sal_B
ool
bDefaultExtrudeCloseBack
;
b
ool
bDefaultExtrudeCloseBack
;
public
:
public
:
// Construktor
// Construktor
...
@@ -76,10 +76,10 @@ public:
...
@@ -76,10 +76,10 @@ public:
const
Color
&
GetDefaultAmbientColor
()
{
return
aDefaultAmbientColor
;
}
const
Color
&
GetDefaultAmbientColor
()
{
return
aDefaultAmbientColor
;
}
void
SetDefaultAmbientColor
(
const
Color
&
rNew
)
{
aDefaultAmbientColor
=
rNew
;
}
void
SetDefaultAmbientColor
(
const
Color
&
rNew
)
{
aDefaultAmbientColor
=
rNew
;
}
sal_B
ool
GetDefaultCreateNormals
()
const
{
return
bDefaultCreateNormals
;
}
b
ool
GetDefaultCreateNormals
()
const
{
return
bDefaultCreateNormals
;
}
void
SetDefaultCreateNormals
(
const
sal_B
ool
bNew
)
{
bDefaultCreateNormals
=
bNew
;
}
void
SetDefaultCreateNormals
(
const
b
ool
bNew
)
{
bDefaultCreateNormals
=
bNew
;
}
sal_B
ool
GetDefaultCreateTexture
()
const
{
return
bDefaultCreateTexture
;
}
b
ool
GetDefaultCreateTexture
()
const
{
return
bDefaultCreateTexture
;
}
void
SetDefaultCreateTexture
(
const
sal_B
ool
bNew
)
{
bDefaultCreateTexture
=
bNew
;
}
void
SetDefaultCreateTexture
(
const
b
ool
bNew
)
{
bDefaultCreateTexture
=
bNew
;
}
// Cube object
// Cube object
const
basegfx
::
B3DPoint
&
GetDefaultCubePos
()
{
return
aDefaultCubePos
;
}
const
basegfx
::
B3DPoint
&
GetDefaultCubePos
()
{
return
aDefaultCubePos
;
}
...
@@ -88,8 +88,8 @@ public:
...
@@ -88,8 +88,8 @@ public:
void
SetDefaultCubeSize
(
const
basegfx
::
B3DVector
&
rNew
)
{
aDefaultCubeSize
=
rNew
;
}
void
SetDefaultCubeSize
(
const
basegfx
::
B3DVector
&
rNew
)
{
aDefaultCubeSize
=
rNew
;
}
sal_uInt16
GetDefaultCubeSideFlags
()
const
{
return
nDefaultCubeSideFlags
;
}
sal_uInt16
GetDefaultCubeSideFlags
()
const
{
return
nDefaultCubeSideFlags
;
}
void
SetDefaultCubeSideFlags
(
const
sal_uInt16
nNew
)
{
nDefaultCubeSideFlags
=
nNew
;
}
void
SetDefaultCubeSideFlags
(
const
sal_uInt16
nNew
)
{
nDefaultCubeSideFlags
=
nNew
;
}
sal_B
ool
GetDefaultCubePosIsCenter
()
const
{
return
bDefaultCubePosIsCenter
;
}
b
ool
GetDefaultCubePosIsCenter
()
const
{
return
bDefaultCubePosIsCenter
;
}
void
SetDefaultCubePosIsCenter
(
const
sal_B
ool
bNew
)
{
bDefaultCubePosIsCenter
=
bNew
;
}
void
SetDefaultCubePosIsCenter
(
const
b
ool
bNew
)
{
bDefaultCubePosIsCenter
=
bNew
;
}
// Sphere object
// Sphere object
const
basegfx
::
B3DPoint
&
GetDefaultSphereCenter
()
{
return
aDefaultSphereCenter
;
}
const
basegfx
::
B3DPoint
&
GetDefaultSphereCenter
()
{
return
aDefaultSphereCenter
;
}
...
@@ -100,28 +100,28 @@ public:
...
@@ -100,28 +100,28 @@ public:
// Lathe object
// Lathe object
long
GetDefaultLatheEndAngle
()
const
{
return
nDefaultLatheEndAngle
;
}
long
GetDefaultLatheEndAngle
()
const
{
return
nDefaultLatheEndAngle
;
}
void
SetDefaultLatheEndAngle
(
const
long
nNew
)
{
nDefaultLatheEndAngle
=
nNew
;
}
void
SetDefaultLatheEndAngle
(
const
long
nNew
)
{
nDefaultLatheEndAngle
=
nNew
;
}
sal_B
ool
GetDefaultLatheSmoothed
()
const
{
return
bDefaultLatheSmoothed
;
}
b
ool
GetDefaultLatheSmoothed
()
const
{
return
bDefaultLatheSmoothed
;
}
void
SetDefaultLatheSmoothed
(
const
sal_B
ool
bNew
)
{
bDefaultLatheSmoothed
=
bNew
;
}
void
SetDefaultLatheSmoothed
(
const
b
ool
bNew
)
{
bDefaultLatheSmoothed
=
bNew
;
}
sal_B
ool
GetDefaultLatheSmoothFrontBack
()
const
{
return
bDefaultLatheSmoothFrontBack
;
}
b
ool
GetDefaultLatheSmoothFrontBack
()
const
{
return
bDefaultLatheSmoothFrontBack
;
}
void
SetDefaultLatheSmoothFrontBack
(
const
sal_B
ool
bNew
)
{
bDefaultLatheSmoothFrontBack
=
bNew
;
}
void
SetDefaultLatheSmoothFrontBack
(
const
b
ool
bNew
)
{
bDefaultLatheSmoothFrontBack
=
bNew
;
}
sal_B
ool
GetDefaultLatheCharacterMode
()
const
{
return
bDefaultLatheCharacterMode
;
}
b
ool
GetDefaultLatheCharacterMode
()
const
{
return
bDefaultLatheCharacterMode
;
}
void
SetDefaultLatheCharacterMode
(
const
sal_B
ool
bNew
)
{
bDefaultLatheCharacterMode
=
bNew
;
}
void
SetDefaultLatheCharacterMode
(
const
b
ool
bNew
)
{
bDefaultLatheCharacterMode
=
bNew
;
}
sal_B
ool
GetDefaultLatheCloseFront
()
const
{
return
bDefaultLatheCloseFront
;
}
b
ool
GetDefaultLatheCloseFront
()
const
{
return
bDefaultLatheCloseFront
;
}
void
SetDefaultLatheCloseFront
(
const
sal_B
ool
bNew
)
{
bDefaultLatheCloseFront
=
bNew
;
}
void
SetDefaultLatheCloseFront
(
const
b
ool
bNew
)
{
bDefaultLatheCloseFront
=
bNew
;
}
sal_B
ool
GetDefaultLatheCloseBack
()
const
{
return
bDefaultLatheCloseBack
;
}
b
ool
GetDefaultLatheCloseBack
()
const
{
return
bDefaultLatheCloseBack
;
}
void
SetDefaultLatheCloseBack
(
const
sal_B
ool
bNew
)
{
bDefaultLatheCloseBack
=
bNew
;
}
void
SetDefaultLatheCloseBack
(
const
b
ool
bNew
)
{
bDefaultLatheCloseBack
=
bNew
;
}
// Extrude object
// Extrude object
sal_B
ool
GetDefaultExtrudeSmoothed
()
const
{
return
bDefaultExtrudeSmoothed
;
}
b
ool
GetDefaultExtrudeSmoothed
()
const
{
return
bDefaultExtrudeSmoothed
;
}
void
SetDefaultExtrudeSmoothed
(
const
sal_B
ool
bNew
)
{
bDefaultExtrudeSmoothed
=
bNew
;
}
void
SetDefaultExtrudeSmoothed
(
const
b
ool
bNew
)
{
bDefaultExtrudeSmoothed
=
bNew
;
}
sal_B
ool
GetDefaultExtrudeSmoothFrontBack
()
const
{
return
bDefaultExtrudeSmoothFrontBack
;
}
b
ool
GetDefaultExtrudeSmoothFrontBack
()
const
{
return
bDefaultExtrudeSmoothFrontBack
;
}
void
SetDefaultExtrudeSmoothFrontBack
(
const
sal_B
ool
bNew
)
{
bDefaultExtrudeSmoothFrontBack
=
bNew
;
}
void
SetDefaultExtrudeSmoothFrontBack
(
const
b
ool
bNew
)
{
bDefaultExtrudeSmoothFrontBack
=
bNew
;
}
sal_B
ool
GetDefaultExtrudeCharacterMode
()
const
{
return
bDefaultExtrudeCharacterMode
;
}
b
ool
GetDefaultExtrudeCharacterMode
()
const
{
return
bDefaultExtrudeCharacterMode
;
}
void
SetDefaultExtrudeCharacterMode
(
const
sal_B
ool
bNew
)
{
bDefaultExtrudeCharacterMode
=
bNew
;
}
void
SetDefaultExtrudeCharacterMode
(
const
b
ool
bNew
)
{
bDefaultExtrudeCharacterMode
=
bNew
;
}
sal_B
ool
GetDefaultExtrudeCloseFront
()
const
{
return
bDefaultExtrudeCloseFront
;
}
b
ool
GetDefaultExtrudeCloseFront
()
const
{
return
bDefaultExtrudeCloseFront
;
}
void
SetDefaultExtrudeCloseFront
(
const
sal_B
ool
bNew
)
{
bDefaultExtrudeCloseFront
=
bNew
;
}
void
SetDefaultExtrudeCloseFront
(
const
b
ool
bNew
)
{
bDefaultExtrudeCloseFront
=
bNew
;
}
sal_B
ool
GetDefaultExtrudeCloseBack
()
const
{
return
bDefaultExtrudeCloseBack
;
}
b
ool
GetDefaultExtrudeCloseBack
()
const
{
return
bDefaultExtrudeCloseBack
;
}
void
SetDefaultExtrudeCloseBack
(
const
sal_B
ool
bNew
)
{
bDefaultExtrudeCloseBack
=
bNew
;
}
void
SetDefaultExtrudeCloseBack
(
const
b
ool
bNew
)
{
bDefaultExtrudeCloseBack
=
bNew
;
}
};
};
#endif // INCLUDED_SVX_DEFLT3D_HXX
#endif // INCLUDED_SVX_DEFLT3D_HXX
...
...
include/svx/dlgctrl.hxx
Dosyayı görüntüle @
caf8f777
...
@@ -68,7 +68,7 @@ class SvxPixelCtlAccessible;
...
@@ -68,7 +68,7 @@ class SvxPixelCtlAccessible;
class
SVX_DLLPUBLIC
SvxRectCtl
:
public
Control
class
SVX_DLLPUBLIC
SvxRectCtl
:
public
Control
{
{
private
:
private
:
SVX_DLLPRIVATE
void
InitSettings
(
sal_Bool
bForeground
,
sal_B
ool
bBackground
);
SVX_DLLPRIVATE
void
InitSettings
(
bool
bForeground
,
b
ool
bBackground
);
SVX_DLLPRIVATE
void
InitRectBitmap
(
void
);
SVX_DLLPRIVATE
void
InitRectBitmap
(
void
);
SVX_DLLPRIVATE
Bitmap
&
GetRectBitmap
(
void
);
SVX_DLLPRIVATE
Bitmap
&
GetRectBitmap
(
void
);
SVX_DLLPRIVATE
void
Resize_Impl
();
SVX_DLLPRIVATE
void
Resize_Impl
();
...
@@ -87,7 +87,7 @@ protected:
...
@@ -87,7 +87,7 @@ protected:
Bitmap
*
pBitmap
;
Bitmap
*
pBitmap
;
CTL_STATE
m_nState
;
CTL_STATE
m_nState
;
sal_Bool
mbCompleteDisable
;
bool
mbCompleteDisable
;
RECT_POINT
GetRPFromPoint
(
Point
,
bool
bRTL
=
false
)
const
;
RECT_POINT
GetRPFromPoint
(
Point
,
bool
bRTL
=
false
)
const
;
Point
GetPointFromRP
(
RECT_POINT
)
const
;
Point
GetPointFromRP
(
RECT_POINT
)
const
;
...
@@ -128,8 +128,8 @@ public:
...
@@ -128,8 +128,8 @@ public:
RECT_POINT
GetApproxRPFromPixPt
(
const
::
com
::
sun
::
star
::
awt
::
Point
&
rPixelPoint
)
const
;
RECT_POINT
GetApproxRPFromPixPt
(
const
::
com
::
sun
::
star
::
awt
::
Point
&
rPixelPoint
)
const
;
sal_B
ool
IsCompletelyDisabled
()
const
{
return
mbCompleteDisable
;
}
b
ool
IsCompletelyDisabled
()
const
{
return
mbCompleteDisable
;
}
void
DoCompletelyDisable
(
sal_B
ool
bNew
);
void
DoCompletelyDisable
(
b
ool
bNew
);
void
SetCS
(
CTL_STYLE
eNew
);
void
SetCS
(
CTL_STYLE
eNew
);
};
};
...
@@ -172,8 +172,8 @@ protected:
...
@@ -172,8 +172,8 @@ protected:
Color
aBackgroundColor
;
Color
aBackgroundColor
;
Color
aLineColor
;
Color
aLineColor
;
Size
aRectSize
;
Size
aRectSize
;
sal_uInt16
*
pPixel
;
sal_uInt16
*
pPixel
;
sal_B
ool
bPaintable
;
b
ool
bPaintable
;
//Add member identifying position
//Add member identifying position
Point
aFocusPosition
;
Point
aFocusPosition
;
Rectangle
implCalFocusRect
(
const
Point
&
aPosition
);
Rectangle
implCalFocusRect
(
const
Point
&
aPosition
);
...
@@ -202,7 +202,7 @@ public:
...
@@ -202,7 +202,7 @@ public:
sal_uInt16
GetBitmapPixel
(
const
sal_uInt16
nPixelNumber
);
sal_uInt16
GetBitmapPixel
(
const
sal_uInt16
nPixelNumber
);
sal_uInt16
*
GetBitmapPixelPtr
()
{
return
pPixel
;
}
sal_uInt16
*
GetBitmapPixelPtr
()
{
return
pPixel
;
}
void
SetPaintable
(
sal_B
ool
bTmp
)
{
bPaintable
=
bTmp
;
}
void
SetPaintable
(
b
ool
bTmp
)
{
bPaintable
=
bTmp
;
}
void
Reset
();
void
Reset
();
SvxPixelCtlAccessible
*
m_pAccess
;
SvxPixelCtlAccessible
*
m_pAccess
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessible
>
m_xAccess
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessible
>
m_xAccess
;
...
@@ -401,7 +401,7 @@ private:
...
@@ -401,7 +401,7 @@ private:
SdrPathObj
*
mpLineObjC
;
SdrPathObj
*
mpLineObjC
;
Graphic
*
mpGraphic
;
Graphic
*
mpGraphic
;
sal_Bool
mbWithSymbol
;
bool
mbWithSymbol
;
Size
maSymbolSize
;
Size
maSymbolSize
;
public
:
public
:
...
@@ -410,7 +410,7 @@ public:
...
@@ -410,7 +410,7 @@ public:
void
SetLineAttributes
(
const
SfxItemSet
&
rItemSet
);
void
SetLineAttributes
(
const
SfxItemSet
&
rItemSet
);
void
ShowSymbol
(
sal_B
ool
b
)
{
mbWithSymbol
=
b
;
};
void
ShowSymbol
(
b
ool
b
)
{
mbWithSymbol
=
b
;
};
void
SetSymbol
(
Graphic
*
p
,
const
Size
&
s
);
void
SetSymbol
(
Graphic
*
p
,
const
Size
&
s
);
void
ResizeSymbol
(
const
Size
&
s
);
void
ResizeSymbol
(
const
Size
&
s
);
...
...
svx/source/customshapes/EnhancedCustomShape3d.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -329,8 +329,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con
...
@@ -329,8 +329,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con
ProjectionType
eProjectionType
(
eProjectionMode
==
drawing
::
ProjectionMode_PARALLEL
?
PR_PARALLEL
:
PR_PERSPECTIVE
);
ProjectionType
eProjectionType
(
eProjectionMode
==
drawing
::
ProjectionMode_PARALLEL
?
PR_PARALLEL
:
PR_PERSPECTIVE
);
// pShape2d Convert in scenes which include 3D Objects
// pShape2d Convert in scenes which include 3D Objects
E3dDefaultAttributes
a3DDefaultAttr
;
E3dDefaultAttributes
a3DDefaultAttr
;
a3DDefaultAttr
.
SetDefaultLatheCharacterMode
(
sal_T
rue
);
a3DDefaultAttr
.
SetDefaultLatheCharacterMode
(
t
rue
);
a3DDefaultAttr
.
SetDefaultExtrudeCharacterMode
(
sal_T
rue
);
a3DDefaultAttr
.
SetDefaultExtrudeCharacterMode
(
t
rue
);
E3dScene
*
pScene
=
new
E3dPolyScene
(
a3DDefaultAttr
);
E3dScene
*
pScene
=
new
E3dPolyScene
(
a3DDefaultAttr
);
...
...
svx/source/dialog/dlgctrl.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -158,7 +158,7 @@ void SvxRectCtl::Resize_Impl()
...
@@ -158,7 +158,7 @@ void SvxRectCtl::Resize_Impl()
break
;
break
;
}
}
Reset
();
Reset
();
InitSettings
(
sal_True
,
sal_T
rue
);
InitSettings
(
true
,
t
rue
);
}
}
...
@@ -211,7 +211,7 @@ void SvxRectCtl::InitRectBitmap( void )
...
@@ -211,7 +211,7 @@ void SvxRectCtl::InitRectBitmap( void )
void
SvxRectCtl
::
InitSettings
(
sal_Bool
bForeground
,
sal_B
ool
bBackground
)
void
SvxRectCtl
::
InitSettings
(
bool
bForeground
,
b
ool
bBackground
)
{
{
const
StyleSettings
&
rStyleSettings
=
Application
::
GetSettings
().
GetStyleSettings
();
const
StyleSettings
&
rStyleSettings
=
Application
::
GetSettings
().
GetStyleSettings
();
...
@@ -372,9 +372,9 @@ void SvxRectCtl::KeyInput( const KeyEvent& rKeyEvt )
...
@@ -372,9 +372,9 @@ void SvxRectCtl::KeyInput( const KeyEvent& rKeyEvt )
void
SvxRectCtl
::
StateChanged
(
StateChangedType
nType
)
void
SvxRectCtl
::
StateChanged
(
StateChangedType
nType
)
{
{
if
(
nType
==
STATE_CHANGE_CONTROLFOREGROUND
)
if
(
nType
==
STATE_CHANGE_CONTROLFOREGROUND
)
InitSettings
(
sal_True
,
sal_F
alse
);
InitSettings
(
true
,
f
alse
);
else
if
(
nType
==
STATE_CHANGE_CONTROLBACKGROUND
)
else
if
(
nType
==
STATE_CHANGE_CONTROLBACKGROUND
)
InitSettings
(
sal_False
,
sal_T
rue
);
InitSettings
(
false
,
t
rue
);
Window
::
StateChanged
(
nType
);
Window
::
StateChanged
(
nType
);
}
}
...
@@ -384,7 +384,7 @@ void SvxRectCtl::StateChanged( StateChangedType nType )
...
@@ -384,7 +384,7 @@ void SvxRectCtl::StateChanged( StateChangedType nType )
void
SvxRectCtl
::
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
void
SvxRectCtl
::
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
{
{
if
(
(
rDCEvt
.
GetType
()
==
DATACHANGED_SETTINGS
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
)
if
(
(
rDCEvt
.
GetType
()
==
DATACHANGED_SETTINGS
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
)
InitSettings
(
sal_True
,
sal_T
rue
);
InitSettings
(
true
,
t
rue
);
else
else
Window
::
DataChanged
(
rDCEvt
);
Window
::
DataChanged
(
rDCEvt
);
}
}
...
@@ -745,7 +745,7 @@ RECT_POINT SvxRectCtl::GetApproxRPFromPixPt( const ::com::sun::star::awt::Point&
...
@@ -745,7 +745,7 @@ RECT_POINT SvxRectCtl::GetApproxRPFromPixPt( const ::com::sun::star::awt::Point&
}
}
// CompletelyDisabled() added to have a disabled state for SvxRectCtl
// CompletelyDisabled() added to have a disabled state for SvxRectCtl
void
SvxRectCtl
::
DoCompletelyDisable
(
sal_B
ool
bNew
)
void
SvxRectCtl
::
DoCompletelyDisable
(
b
ool
bNew
)
{
{
mbCompleteDisable
=
bNew
;
mbCompleteDisable
=
bNew
;
Invalidate
();
Invalidate
();
...
...
svx/source/engine3d/deflt3d.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -34,14 +34,14 @@ E3dDefaultAttributes::E3dDefaultAttributes()
...
@@ -34,14 +34,14 @@ E3dDefaultAttributes::E3dDefaultAttributes()
void
E3dDefaultAttributes
::
Reset
()
void
E3dDefaultAttributes
::
Reset
()
{
{
// Compound object
// Compound object
bDefaultCreateNormals
=
sal_T
rue
;
bDefaultCreateNormals
=
t
rue
;
bDefaultCreateTexture
=
sal_T
rue
;
bDefaultCreateTexture
=
t
rue
;
// Cube object
// Cube object
aDefaultCubePos
=
basegfx
::
B3DPoint
(
-
500.0
,
-
500.0
,
-
500.0
);
aDefaultCubePos
=
basegfx
::
B3DPoint
(
-
500.0
,
-
500.0
,
-
500.0
);
aDefaultCubeSize
=
basegfx
::
B3DVector
(
1000.0
,
1000.0
,
1000.0
);
aDefaultCubeSize
=
basegfx
::
B3DVector
(
1000.0
,
1000.0
,
1000.0
);
nDefaultCubeSideFlags
=
CUBE_FULL
;
nDefaultCubeSideFlags
=
CUBE_FULL
;
bDefaultCubePosIsCenter
=
sal_F
alse
;
bDefaultCubePosIsCenter
=
f
alse
;
// Sphere object
// Sphere object
aDefaultSphereCenter
=
basegfx
::
B3DPoint
(
0.0
,
0.0
,
0.0
);
aDefaultSphereCenter
=
basegfx
::
B3DPoint
(
0.0
,
0.0
,
0.0
);
...
@@ -49,18 +49,18 @@ void E3dDefaultAttributes::Reset()
...
@@ -49,18 +49,18 @@ void E3dDefaultAttributes::Reset()
// Lathe object
// Lathe object
nDefaultLatheEndAngle
=
3600
;
nDefaultLatheEndAngle
=
3600
;
bDefaultLatheSmoothed
=
sal_T
rue
;
bDefaultLatheSmoothed
=
t
rue
;
bDefaultLatheSmoothFrontBack
=
sal_F
alse
;
bDefaultLatheSmoothFrontBack
=
f
alse
;
bDefaultLatheCharacterMode
=
sal_F
alse
;
bDefaultLatheCharacterMode
=
f
alse
;
bDefaultLatheCloseFront
=
sal_T
rue
;
bDefaultLatheCloseFront
=
t
rue
;
bDefaultLatheCloseBack
=
sal_T
rue
;
bDefaultLatheCloseBack
=
t
rue
;
// Extrude object
// Extrude object
bDefaultExtrudeSmoothed
=
sal_T
rue
;
bDefaultExtrudeSmoothed
=
t
rue
;
bDefaultExtrudeSmoothFrontBack
=
sal_F
alse
;
bDefaultExtrudeSmoothFrontBack
=
f
alse
;
bDefaultExtrudeCharacterMode
=
sal_F
alse
;
bDefaultExtrudeCharacterMode
=
f
alse
;
bDefaultExtrudeCloseFront
=
sal_T
rue
;
bDefaultExtrudeCloseFront
=
t
rue
;
bDefaultExtrudeCloseBack
=
sal_T
rue
;
bDefaultExtrudeCloseBack
=
t
rue
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svx/source/engine3d/view3d.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -708,9 +708,9 @@ void E3dView::ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, boo
...
@@ -708,9 +708,9 @@ void E3dView::ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, boo
{
{
E3dDefaultAttributes
aDefault
=
Get3DDefaultAttributes
();
E3dDefaultAttributes
aDefault
=
Get3DDefaultAttributes
();
if
(
bExtrude
)
if
(
bExtrude
)
aDefault
.
SetDefaultExtrudeCharacterMode
(
sal_T
rue
);
aDefault
.
SetDefaultExtrudeCharacterMode
(
t
rue
);
else
else
aDefault
.
SetDefaultLatheCharacterMode
(
sal_T
rue
);
aDefault
.
SetDefaultLatheCharacterMode
(
t
rue
);
// Get Itemset of the original object
// Get Itemset of the original object
SfxItemSet
aSet
(
pObj
->
GetMergedItemSet
());
SfxItemSet
aSet
(
pObj
->
GetMergedItemSet
());
...
@@ -725,8 +725,8 @@ void E3dView::ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, boo
...
@@ -725,8 +725,8 @@ void E3dView::ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, boo
{
{
// This SdrPathObj is not filled, leave the front and rear face out.
// This SdrPathObj is not filled, leave the front and rear face out.
// Moreover, a two-sided representation necessary.
// Moreover, a two-sided representation necessary.
aDefault
.
SetDefaultExtrudeCloseFront
(
sal_F
alse
);
aDefault
.
SetDefaultExtrudeCloseFront
(
f
alse
);
aDefault
.
SetDefaultExtrudeCloseBack
(
sal_F
alse
);
aDefault
.
SetDefaultExtrudeCloseBack
(
f
alse
);
aSet
.
Put
(
Svx3DDoubleSidedItem
(
sal_True
));
aSet
.
Put
(
Svx3DDoubleSidedItem
(
sal_True
));
...
...
svx/source/fmcomp/dbaexchange.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -240,25 +240,25 @@ namespace svx
...
@@ -240,25 +240,25 @@ namespace svx
}
}
sal_B
ool
OColumnTransferable
::
canExtractColumnDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
sal_Int32
_nFormats
)
b
ool
OColumnTransferable
::
canExtractColumnDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
sal_Int32
_nFormats
)
{
{
sal_B
ool
bFieldFormat
=
0
!=
(
_nFormats
&
CTF_FIELD_DESCRIPTOR
);
b
ool
bFieldFormat
=
0
!=
(
_nFormats
&
CTF_FIELD_DESCRIPTOR
);
sal_B
ool
bControlFormat
=
0
!=
(
_nFormats
&
CTF_CONTROL_EXCHANGE
);
b
ool
bControlFormat
=
0
!=
(
_nFormats
&
CTF_CONTROL_EXCHANGE
);
sal_B
ool
bDescriptorFormat
=
0
!=
(
_nFormats
&
CTF_COLUMN_DESCRIPTOR
);
b
ool
bDescriptorFormat
=
0
!=
(
_nFormats
&
CTF_COLUMN_DESCRIPTOR
);
for
(
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
for
(
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
aCheck
!=
_rFlavors
.
end
();
aCheck
!=
_rFlavors
.
end
();
++
aCheck
++
aCheck
)
)
{
{
if
(
bFieldFormat
&&
(
SOT_FORMATSTR_ID_SBA_FIELDDATAEXCHANGE
==
aCheck
->
mnSotId
))
if
(
bFieldFormat
&&
(
SOT_FORMATSTR_ID_SBA_FIELDDATAEXCHANGE
==
aCheck
->
mnSotId
))
return
sal_T
rue
;
return
t
rue
;
if
(
bControlFormat
&&
(
SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE
==
aCheck
->
mnSotId
))
if
(
bControlFormat
&&
(
SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE
==
aCheck
->
mnSotId
))
return
sal_T
rue
;
return
t
rue
;
if
(
bDescriptorFormat
&&
(
getDescriptorFormatId
()
==
aCheck
->
mnSotId
))
if
(
bDescriptorFormat
&&
(
getDescriptorFormatId
()
==
aCheck
->
mnSotId
))
return
sal_T
rue
;
return
t
rue
;
}
}
return
sal_F
alse
;
return
f
alse
;
}
}
...
@@ -313,7 +313,7 @@ namespace svx
...
@@ -313,7 +313,7 @@ namespace svx
}
}
sal_B
ool
OColumnTransferable
::
extractColumnDescriptor
(
const
TransferableDataHelper
&
_rData
b
ool
OColumnTransferable
::
extractColumnDescriptor
(
const
TransferableDataHelper
&
_rData
,
OUString
&
_rDatasource
,
OUString
&
_rDatasource
,
OUString
&
_rDatabaseLocation
,
OUString
&
_rDatabaseLocation
,
OUString
&
_rConnectionResource
,
OUString
&
_rConnectionResource
...
@@ -334,7 +334,7 @@ namespace svx
...
@@ -334,7 +334,7 @@ namespace svx
aDescriptor
[
daCommand
]
>>=
_rCommand
;
aDescriptor
[
daCommand
]
>>=
_rCommand
;
aDescriptor
[
daCommandType
]
>>=
_nCommandType
;
aDescriptor
[
daCommandType
]
>>=
_nCommandType
;
aDescriptor
[
daColumnName
]
>>=
_rFieldName
;
aDescriptor
[
daColumnName
]
>>=
_rFieldName
;
return
sal_T
rue
;
return
t
rue
;
}
}
// check if we have a (string) format we can use ....
// check if we have a (string) format we can use ....
...
@@ -344,7 +344,7 @@ namespace svx
...
@@ -344,7 +344,7 @@ namespace svx
if
(
_rData
.
HasFormat
(
SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE
))
if
(
_rData
.
HasFormat
(
SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE
))
nRecognizedFormat
=
SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE
;
nRecognizedFormat
=
SOT_FORMATSTR_ID_SBA_CTRLDATAEXCHANGE
;
if
(
!
nRecognizedFormat
)
if
(
!
nRecognizedFormat
)
return
sal_F
alse
;
return
f
alse
;
OUString
sFieldDescription
;
OUString
sFieldDescription
;
const_cast
<
TransferableDataHelper
&>
(
_rData
).
GetString
(
nRecognizedFormat
,
sFieldDescription
);
const_cast
<
TransferableDataHelper
&>
(
_rData
).
GetString
(
nRecognizedFormat
,
sFieldDescription
);
...
@@ -355,7 +355,7 @@ namespace svx
...
@@ -355,7 +355,7 @@ namespace svx
_nCommandType
=
sFieldDescription
.
getToken
(
2
,
cSeparator
).
toInt32
();
_nCommandType
=
sFieldDescription
.
getToken
(
2
,
cSeparator
).
toInt32
();
_rFieldName
=
sFieldDescription
.
getToken
(
3
,
cSeparator
);
_rFieldName
=
sFieldDescription
.
getToken
(
3
,
cSeparator
);
return
sal_T
rue
;
return
t
rue
;
}
}
...
@@ -486,7 +486,7 @@ namespace svx
...
@@ -486,7 +486,7 @@ namespace svx
}
}
sal_B
ool
ODataAccessObjectTransferable
::
canExtractObjectDescriptor
(
const
DataFlavorExVector
&
_rFlavors
)
b
ool
ODataAccessObjectTransferable
::
canExtractObjectDescriptor
(
const
DataFlavorExVector
&
_rFlavors
)
{
{
for
(
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
for
(
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
aCheck
!=
_rFlavors
.
end
();
aCheck
!=
_rFlavors
.
end
();
...
@@ -494,13 +494,13 @@ namespace svx
...
@@ -494,13 +494,13 @@ namespace svx
)
)
{
{
if
(
SOT_FORMATSTR_ID_DBACCESS_TABLE
==
aCheck
->
mnSotId
)
if
(
SOT_FORMATSTR_ID_DBACCESS_TABLE
==
aCheck
->
mnSotId
)
return
sal_T
rue
;
return
t
rue
;
if
(
SOT_FORMATSTR_ID_DBACCESS_QUERY
==
aCheck
->
mnSotId
)
if
(
SOT_FORMATSTR_ID_DBACCESS_QUERY
==
aCheck
->
mnSotId
)
return
sal_T
rue
;
return
t
rue
;
if
(
SOT_FORMATSTR_ID_DBACCESS_COMMAND
==
aCheck
->
mnSotId
)
if
(
SOT_FORMATSTR_ID_DBACCESS_COMMAND
==
aCheck
->
mnSotId
)
return
sal_T
rue
;
return
t
rue
;
}
}
return
sal_F
alse
;
return
f
alse
;
}
}
...
@@ -571,7 +571,7 @@ namespace svx
...
@@ -571,7 +571,7 @@ namespace svx
,
const
sal_Int32
_nCommandType
,
const
sal_Int32
_nCommandType
,
const
OUString
&
_rCommand
,
const
OUString
&
_rCommand
,
const
Reference
<
XConnection
>&
_rxConnection
,
const
Reference
<
XConnection
>&
_rxConnection
,
sal_B
ool
_bAddCommand
,
b
ool
_bAddCommand
,
const
OUString
&
_sActiveCommand
)
,
const
OUString
&
_sActiveCommand
)
{
{
m_aDescriptor
.
setDataSource
(
_rDatasource
);
m_aDescriptor
.
setDataSource
(
_rDatasource
);
...
@@ -656,7 +656,7 @@ namespace svx
...
@@ -656,7 +656,7 @@ namespace svx
}
}
sal_B
ool
OMultiColumnTransferable
::
canExtractDescriptor
(
const
DataFlavorExVector
&
_rFlavors
)
b
ool
OMultiColumnTransferable
::
canExtractDescriptor
(
const
DataFlavorExVector
&
_rFlavors
)
{
{
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
for
(
;
for
(
;
...
...
svx/source/fmcomp/dbaobjectex.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -56,7 +56,7 @@ namespace svx
...
@@ -56,7 +56,7 @@ namespace svx
sal_uInt32
OComponentTransferable
::
getDescriptorFormatId
(
sal_B
ool
_bExtractForm
)
sal_uInt32
OComponentTransferable
::
getDescriptorFormatId
(
b
ool
_bExtractForm
)
{
{
static
sal_uInt32
s_nReportFormat
=
(
sal_uInt32
)
-
1
;
static
sal_uInt32
s_nReportFormat
=
(
sal_uInt32
)
-
1
;
static
sal_uInt32
s_nFormFormat
=
(
sal_uInt32
)
-
1
;
static
sal_uInt32
s_nFormFormat
=
(
sal_uInt32
)
-
1
;
...
@@ -93,14 +93,14 @@ namespace svx
...
@@ -93,14 +93,14 @@ namespace svx
sal_Bool
OComponentTransferable
::
GetData
(
const
DataFlavor
&
_rFlavor
)
sal_Bool
OComponentTransferable
::
GetData
(
const
DataFlavor
&
_rFlavor
)
{
{
const
sal_uInt32
nFormatId
=
SotExchange
::
GetFormat
(
_rFlavor
);
const
sal_uInt32
nFormatId
=
SotExchange
::
GetFormat
(
_rFlavor
);
if
(
nFormatId
==
getDescriptorFormatId
(
sal_True
)
||
nFormatId
==
getDescriptorFormatId
(
sal_F
alse
)
)
if
(
nFormatId
==
getDescriptorFormatId
(
true
)
||
nFormatId
==
getDescriptorFormatId
(
f
alse
)
)
return
SetAny
(
makeAny
(
m_aDescriptor
.
createPropertyValueSequence
()
),
_rFlavor
);
return
SetAny
(
makeAny
(
m_aDescriptor
.
createPropertyValueSequence
()
),
_rFlavor
);
return
sal_False
;
return
sal_False
;
}
}
sal_Bool
OComponentTransferable
::
canExtractComponentDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
sal_B
ool
_bForm
)
bool
OComponentTransferable
::
canExtractComponentDescriptor
(
const
DataFlavorExVector
&
_rFlavors
,
b
ool
_bForm
)
{
{
DataFlavorExVector
::
const_iterator
aEnd
=
_rFlavors
.
end
();
DataFlavorExVector
::
const_iterator
aEnd
=
_rFlavors
.
end
();
for
(
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
for
(
DataFlavorExVector
::
const_iterator
aCheck
=
_rFlavors
.
begin
();
...
@@ -109,17 +109,17 @@ namespace svx
...
@@ -109,17 +109,17 @@ namespace svx
)
)
{
{
if
(
getDescriptorFormatId
(
_bForm
)
==
aCheck
->
mnSotId
)
if
(
getDescriptorFormatId
(
_bForm
)
==
aCheck
->
mnSotId
)
return
sal_T
rue
;
return
t
rue
;
}
}
return
sal_F
alse
;
return
f
alse
;
}
}
ODataAccessDescriptor
OComponentTransferable
::
extractComponentDescriptor
(
const
TransferableDataHelper
&
_rData
)
ODataAccessDescriptor
OComponentTransferable
::
extractComponentDescriptor
(
const
TransferableDataHelper
&
_rData
)
{
{
sal_Bool
bForm
=
_rData
.
HasFormat
(
getDescriptorFormatId
(
sal_T
rue
));
sal_Bool
bForm
=
_rData
.
HasFormat
(
getDescriptorFormatId
(
t
rue
));
if
(
bForm
||
_rData
.
HasFormat
(
getDescriptorFormatId
(
sal_F
alse
))
)
if
(
bForm
||
_rData
.
HasFormat
(
getDescriptorFormatId
(
f
alse
))
)
{
{
// the object has a real descriptor object (not just the old compatible format)
// the object has a real descriptor object (not just the old compatible format)
...
...
svx/source/form/dataaccessdescriptor.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -343,7 +343,7 @@ namespace svx
...
@@ -343,7 +343,7 @@ namespace svx
}
}
sal_B
ool
ODataAccessDescriptor
::
has
(
DataAccessDescriptorProperty
_eWhich
)
const
b
ool
ODataAccessDescriptor
::
has
(
DataAccessDescriptorProperty
_eWhich
)
const
{
{
return
m_pImpl
->
m_aValues
.
find
(
_eWhich
)
!=
m_pImpl
->
m_aValues
.
end
();
return
m_pImpl
->
m_aValues
.
find
(
_eWhich
)
!=
m_pImpl
->
m_aValues
.
end
();
}
}
...
@@ -369,7 +369,7 @@ namespace svx
...
@@ -369,7 +369,7 @@ namespace svx
}
}
void
ODataAccessDescriptor
::
initializeFrom
(
const
Sequence
<
PropertyValue
>&
_rValues
,
sal_B
ool
_bClear
)
void
ODataAccessDescriptor
::
initializeFrom
(
const
Sequence
<
PropertyValue
>&
_rValues
,
b
ool
_bClear
)
{
{
if
(
_bClear
)
if
(
_bClear
)
clear
();
clear
();
...
...
svx/source/form/dbtoolsclient.cxx
Dosyayı görüntüle @
caf8f777
...
@@ -57,7 +57,7 @@ namespace svxform
...
@@ -57,7 +57,7 @@ namespace svxform
ODbtoolsClient
::
ODbtoolsClient
()
ODbtoolsClient
::
ODbtoolsClient
()
{
{
m_bCreateAlready
=
sal_F
alse
;
m_bCreateAlready
=
f
alse
;
}
}
...
@@ -264,18 +264,18 @@ namespace svxform
...
@@ -264,18 +264,18 @@ namespace svxform
}
}
sal_B
ool
OStaticDataAccessTools
::
canInsert
(
const
Reference
<
XPropertySet
>&
_rxCursorSet
)
const
b
ool
OStaticDataAccessTools
::
canInsert
(
const
Reference
<
XPropertySet
>&
_rxCursorSet
)
const
{
{
sal_Bool
bRet
=
sal_F
alse
;
bool
bRet
=
f
alse
;
if
(
ensureLoaded
()
)
if
(
ensureLoaded
()
)
bRet
=
m_xDataAccessTools
->
canInsert
(
_rxCursorSet
);
bRet
=
m_xDataAccessTools
->
canInsert
(
_rxCursorSet
);
return
bRet
;
return
bRet
;
}
}
sal_B
ool
OStaticDataAccessTools
::
canUpdate
(
const
Reference
<
XPropertySet
>&
_rxCursorSet
)
const
b
ool
OStaticDataAccessTools
::
canUpdate
(
const
Reference
<
XPropertySet
>&
_rxCursorSet
)
const
{
{
sal_Bool
bRet
=
sal_F
alse
;
bool
bRet
=
f
alse
;
if
(
ensureLoaded
()
)
if
(
ensureLoaded
()
)
bRet
=
m_xDataAccessTools
->
canUpdate
(
_rxCursorSet
);
bRet
=
m_xDataAccessTools
->
canUpdate
(
_rxCursorSet
);
return
bRet
;
return
bRet
;
...
...
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