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
f6262b3d
Kaydet (Commit)
f6262b3d
authored
Mar 07, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove redundant 'inline' keyword, Linux redux
Change-Id: I10c7dbd6a7acce309b056a1ae57c39f00f22c46d
üst
76db789d
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
78 additions
and
79 deletions
+78
-79
NCatalog.hxx
connectivity/source/drivers/evoab2/NCatalog.hxx
+1
-1
NConnection.hxx
connectivity/source/drivers/evoab2/NConnection.hxx
+3
-3
NDatabaseMetaData.hxx
connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx
+1
-1
NResultSetMetaData.hxx
connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
+3
-3
NServices.cxx
connectivity/source/drivers/evoab2/NServices.cxx
+0
-1
LibreOfficeKit.hxx
include/LibreOfficeKit/LibreOfficeKit.hxx
+42
-42
mysqlc_connection.hxx
mysqlc/source/mysqlc_connection.hxx
+2
-2
mysqlc_databasemetadata.hxx
mysqlc/source/mysqlc_databasemetadata.hxx
+1
-1
mysqlc_resultsetmetadata.hxx
mysqlc/source/mysqlc_resultsetmetadata.hxx
+1
-1
mysqlc_services.cxx
mysqlc/source/mysqlc_services.cxx
+1
-1
gendata.hxx
vcl/inc/unx/gendata.hxx
+1
-1
gendisp.hxx
vcl/inc/unx/gendisp.hxx
+1
-1
gtkgdi.hxx
vcl/inc/unx/gtk/gtkgdi.hxx
+3
-3
saldata.hxx
vcl/inc/unx/saldata.hxx
+1
-1
saldisp.hxx
vcl/inc/unx/saldisp.hxx
+11
-11
salgdi.h
vcl/inc/unx/salgdi.h
+3
-3
saldata.cxx
vcl/unx/generic/app/saldata.cxx
+3
-3
No files found.
connectivity/source/drivers/evoab2/NCatalog.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -32,7 +32,7 @@ namespace connectivity
OEvoabConnection
*
m_pConnection
;
public
:
explicit
OEvoabCatalog
(
OEvoabConnection
*
_pCon
);
inline
OEvoabConnection
*
getConnection
()
const
{
return
m_pConnection
;
}
OEvoabConnection
*
getConnection
()
const
{
return
m_pConnection
;
}
virtual
void
refreshTables
()
override
;
virtual
void
refreshViews
()
override
{}
virtual
void
refreshGroups
()
override
{}
...
...
connectivity/source/drivers/evoab2/NConnection.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -68,10 +68,10 @@ namespace connectivity
/// @throws css::sdbc::SQLException
virtual
void
construct
(
const
OUString
&
_rUrl
,
const
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>&
_rInfo
);
inline
OString
const
&
getPassword
()
{
return
m_aPassword
;
}
inline
void
setPassword
(
OString
const
&
aStr
)
{
m_aPassword
=
aStr
;
}
OString
const
&
getPassword
()
{
return
m_aPassword
;
}
void
setPassword
(
OString
const
&
aStr
)
{
m_aPassword
=
aStr
;
}
// own methods
inline
const
OEvoabDriver
&
getDriver
()
const
{
return
m_rDriver
;
}
const
OEvoabDriver
&
getDriver
()
const
{
return
m_rDriver
;
}
SDBCAddress
::
sdbc_address_type
getSDBCAddressType
()
const
{
return
m_eSDBCAddressType
;}
void
setSDBCAddressType
(
SDBCAddress
::
sdbc_address_type
_eSDBCAddressType
)
{
m_eSDBCAddressType
=
_eSDBCAddressType
;}
...
...
connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -85,7 +85,7 @@ namespace connectivity
virtual
~
OEvoabDatabaseMetaData
()
override
;
public
:
inline
OEvoabConnection
*
getOwnConnection
()
const
{
return
m_pConnection
;
}
OEvoabConnection
*
getOwnConnection
()
const
{
return
m_pConnection
;
}
explicit
OEvoabDatabaseMetaData
(
OEvoabConnection
*
_pCon
);
...
...
connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -45,12 +45,12 @@ namespace connectivity
explicit
OEvoabResultSetMetaData
(
const
OUString
&
_aTableName
);
/// @throws css::sdbc::SQLException
void
setEvoabFields
(
const
::
rtl
::
Reference
<
connectivity
::
OSQLColumns
>
&
xColumns
);
inline
sal_uInt32
fieldAtColumn
(
sal_Int32
columnIndex
)
const
sal_uInt32
fieldAtColumn
(
sal_Int32
columnIndex
)
const
{
return
m_aEvoabFields
[
columnIndex
-
1
];
}
inline
sal_Int32
getFieldSize
()
const
sal_Int32
getFieldSize
()
const
{
return
m_aEvoabFields
.
size
();}
/// Avoid ambigous cast error from the compiler.
inline
operator
css
::
uno
::
Reference
<
css
::
sdbc
::
XResultSetMetaData
>
()
throw
()
operator
css
::
uno
::
Reference
<
css
::
sdbc
::
XResultSetMetaData
>
()
throw
()
{
return
this
;
}
virtual
sal_Int32
SAL_CALL
getColumnCount
(
)
override
;
...
...
connectivity/source/drivers/evoab2/NServices.cxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -52,7 +52,6 @@ struct ProviderRequest
{
}
inline
bool
CREATE_PROVIDER
(
const
OUString
&
Implname
,
const
Sequence
<
OUString
>
&
Services
,
...
...
include/LibreOfficeKit/LibreOfficeKit.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -32,11 +32,11 @@ private:
public
:
/// A lok::Document is typically created by the lok::Office::documentLoad() method.
inline
Document
(
LibreOfficeKitDocument
*
pDoc
)
:
Document
(
LibreOfficeKitDocument
*
pDoc
)
:
mpDoc
(
pDoc
)
{}
inline
~
Document
()
~
Document
()
{
mpDoc
->
pClass
->
destroy
(
mpDoc
);
}
...
...
@@ -54,13 +54,13 @@ public:
* is triggered as with the "Save As..." in the UI.
* "TakeOwnership" mode must not be used when saving to PNG or PDF.
*/
inline
bool
saveAs
(
const
char
*
pUrl
,
const
char
*
pFormat
=
NULL
,
const
char
*
pFilterOptions
=
NULL
)
bool
saveAs
(
const
char
*
pUrl
,
const
char
*
pFormat
=
NULL
,
const
char
*
pFilterOptions
=
NULL
)
{
return
mpDoc
->
pClass
->
saveAs
(
mpDoc
,
pUrl
,
pFormat
,
pFilterOptions
)
!=
0
;
}
/// Gives access to the underlying C pointer.
inline
LibreOfficeKitDocument
*
get
()
{
return
mpDoc
;
}
LibreOfficeKitDocument
*
get
()
{
return
mpDoc
;
}
#if defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
/**
...
...
@@ -68,7 +68,7 @@ public:
*
* @return an element of the LibreOfficeKitDocumentType enum.
*/
in
line
in
t
getDocumentType
()
int
getDocumentType
()
{
return
mpDoc
->
pClass
->
getDocumentType
(
mpDoc
);
}
...
...
@@ -79,7 +79,7 @@ public:
* Part refers to either individual sheets in a Calc, or slides in Impress,
* and has no relevance for Writer.
*/
in
line
in
t
getParts
()
int
getParts
()
{
return
mpDoc
->
pClass
->
getParts
(
mpDoc
);
}
...
...
@@ -93,36 +93,36 @@ public:
* @return a rectangle list, using the same format as
* LOK_CALLBACK_TEXT_SELECTION.
*/
inline
char
*
getPartPageRectangles
()
char
*
getPartPageRectangles
()
{
return
mpDoc
->
pClass
->
getPartPageRectangles
(
mpDoc
);
}
/// Get the current part of the document.
in
line
in
t
getPart
()
int
getPart
()
{
return
mpDoc
->
pClass
->
getPart
(
mpDoc
);
}
/// Set the current part of the document.
inline
void
setPart
(
int
nPart
)
void
setPart
(
int
nPart
)
{
mpDoc
->
pClass
->
setPart
(
mpDoc
,
nPart
);
}
/// Get the current part's name.
inline
char
*
getPartName
(
int
nPart
)
char
*
getPartName
(
int
nPart
)
{
return
mpDoc
->
pClass
->
getPartName
(
mpDoc
,
nPart
);
}
/// Get the current part's hash.
inline
char
*
getPartHash
(
int
nPart
)
char
*
getPartHash
(
int
nPart
)
{
return
mpDoc
->
pClass
->
getPartHash
(
mpDoc
,
nPart
);
}
inline
void
setPartMode
(
int
nMode
)
void
setPartMode
(
int
nMode
)
{
mpDoc
->
pClass
->
setPartMode
(
mpDoc
,
nMode
);
}
...
...
@@ -142,7 +142,7 @@ public:
* @param nTileWidth logical width of the rendered rectangle, in TWIPs.
* @param nTileHeight logical height of the rendered rectangle, in TWIPs.
*/
inline
void
paintTile
(
unsigned
char
*
pBuffer
,
void
paintTile
(
unsigned
char
*
pBuffer
,
const
int
nCanvasWidth
,
const
int
nCanvasHeight
,
const
int
nTilePosX
,
...
...
@@ -159,13 +159,13 @@ public:
*
* @return an element of the LibreOfficeKitTileMode enum.
*/
in
line
in
t
getTileMode
()
int
getTileMode
()
{
return
mpDoc
->
pClass
->
getTileMode
(
mpDoc
);
}
/// Get the document sizes in TWIPs.
inline
void
getDocumentSize
(
long
*
pWidth
,
long
*
pHeight
)
void
getDocumentSize
(
long
*
pWidth
,
long
*
pHeight
)
{
mpDoc
->
pClass
->
getDocumentSize
(
mpDoc
,
pWidth
,
pHeight
);
}
...
...
@@ -190,7 +190,7 @@ public:
*
* @param pArguments arguments of the rendering
*/
inline
void
initializeForRendering
(
const
char
*
pArguments
=
NULL
)
void
initializeForRendering
(
const
char
*
pArguments
=
NULL
)
{
mpDoc
->
pClass
->
initializeForRendering
(
mpDoc
,
pArguments
);
}
...
...
@@ -202,7 +202,7 @@ public:
* @param pCallback the callback to invoke
* @param pData the user data, will be passed to the callback on invocation
*/
inline
void
registerCallback
(
LibreOfficeKitCallback
pCallback
,
void
*
pData
)
void
registerCallback
(
LibreOfficeKitCallback
pCallback
,
void
*
pData
)
{
mpDoc
->
pClass
->
registerCallback
(
mpDoc
,
pCallback
,
pData
);
}
...
...
@@ -214,7 +214,7 @@ public:
* @param nCharCode contains the Unicode character generated by this event or 0
* @param nKeyCode contains the integer code representing the key of the event (non-zero for control keys)
*/
inline
void
postKeyEvent
(
int
nType
,
int
nCharCode
,
int
nKeyCode
)
void
postKeyEvent
(
int
nType
,
int
nCharCode
,
int
nKeyCode
)
{
mpDoc
->
pClass
->
postKeyEvent
(
mpDoc
,
nType
,
nCharCode
,
nKeyCode
);
}
...
...
@@ -229,7 +229,7 @@ public:
* @param nButtons: which mouse buttons: 1 for left, 2 for middle, 4 right
* @param nModifier: which keyboard modifier: (see include/rsc/rsc-vcl-shared-types.hxx for possible values)
*/
inline
void
postMouseEvent
(
int
nType
,
int
nX
,
int
nY
,
int
nCount
,
int
nButtons
,
int
nModifier
)
void
postMouseEvent
(
int
nType
,
int
nX
,
int
nY
,
int
nCount
,
int
nButtons
,
int
nModifier
)
{
mpDoc
->
pClass
->
postMouseEvent
(
mpDoc
,
nType
,
nX
,
nY
,
nCount
,
nButtons
,
nModifier
);
}
...
...
@@ -255,7 +255,7 @@ public:
* @param pCommand uno command to be posted to the document, like ".uno:Bold"
* @param pArguments arguments of the uno command.
*/
inline
void
postUnoCommand
(
const
char
*
pCommand
,
const
char
*
pArguments
=
NULL
,
bool
bNotifyWhenFinished
=
false
)
void
postUnoCommand
(
const
char
*
pCommand
,
const
char
*
pArguments
=
NULL
,
bool
bNotifyWhenFinished
=
false
)
{
mpDoc
->
pClass
->
postUnoCommand
(
mpDoc
,
pCommand
,
pArguments
,
bNotifyWhenFinished
);
}
...
...
@@ -267,7 +267,7 @@ public:
* @param nX horizontal position in document coordinates
* @param nY vertical position in document coordinates
*/
inline
void
setTextSelection
(
int
nType
,
int
nX
,
int
nY
)
void
setTextSelection
(
int
nType
,
int
nX
,
int
nY
)
{
mpDoc
->
pClass
->
setTextSelection
(
mpDoc
,
nType
,
nX
,
nY
);
}
...
...
@@ -278,7 +278,7 @@ public:
* @param pMimeType suggests the return format, for example text/plain;charset=utf-8.
* @param pUsedMimeType output parameter to inform about the determined format (suggested one or plain text).
*/
inline
char
*
getTextSelection
(
const
char
*
pMimeType
,
char
**
pUsedMimeType
=
NULL
)
char
*
getTextSelection
(
const
char
*
pMimeType
,
char
**
pUsedMimeType
=
NULL
)
{
return
mpDoc
->
pClass
->
getTextSelection
(
mpDoc
,
pMimeType
,
pUsedMimeType
);
}
...
...
@@ -290,7 +290,7 @@ public:
* @param pData the actual data to be pasted.
* @return if the supplied data was pasted successfully.
*/
inline
bool
paste
(
const
char
*
pMimeType
,
const
char
*
pData
,
size_t
nSize
)
bool
paste
(
const
char
*
pMimeType
,
const
char
*
pData
,
size_t
nSize
)
{
return
mpDoc
->
pClass
->
paste
(
mpDoc
,
pMimeType
,
pData
,
nSize
);
}
...
...
@@ -302,7 +302,7 @@ public:
* @param nX horizontal position in document coordinates
* @param nY vertical position in document coordinates
*/
inline
void
setGraphicSelection
(
int
nType
,
int
nX
,
int
nY
)
void
setGraphicSelection
(
int
nType
,
int
nX
,
int
nY
)
{
mpDoc
->
pClass
->
setGraphicSelection
(
mpDoc
,
nType
,
nX
,
nY
);
}
...
...
@@ -310,7 +310,7 @@ public:
/**
* Gets rid of any text or graphic selection.
*/
inline
void
resetSelection
()
void
resetSelection
()
{
mpDoc
->
pClass
->
resetSelection
(
mpDoc
);
}
...
...
@@ -321,7 +321,7 @@ public:
* @param pCommand a uno command for which the possible values are requested
* @return {commandName: unoCmd, commandValues: {possible_values}}
*/
inline
char
*
getCommandValues
(
const
char
*
pCommand
)
char
*
getCommandValues
(
const
char
*
pCommand
)
{
return
mpDoc
->
pClass
->
getCommandValues
(
mpDoc
,
pCommand
);
}
...
...
@@ -334,7 +334,7 @@ public:
* @param nTileTwipWidth - tile width in twips
* @param nTileTwipHeight - tile height in twips
*/
inline
void
setClientZoom
(
void
setClientZoom
(
int
nTilePixelWidth
,
int
nTilePixelHeight
,
int
nTileTwipWidth
,
...
...
@@ -353,7 +353,7 @@ public:
* @param nWidth - area width
* @param nHeight - area height
*/
inline
void
setClientVisibleArea
(
int
nX
,
int
nY
,
int
nWidth
,
int
nHeight
)
void
setClientVisibleArea
(
int
nX
,
int
nY
,
int
nWidth
,
int
nHeight
)
{
mpDoc
->
pClass
->
setClientVisibleArea
(
mpDoc
,
nX
,
nY
,
nWidth
,
nHeight
);
}
...
...
@@ -398,7 +398,7 @@ public:
/**
* Get number of views of this document.
*/
in
line
in
t
getViewsCount
()
int
getViewsCount
()
{
return
mpDoc
->
pClass
->
getViewsCount
(
mpDoc
);
}
...
...
@@ -407,7 +407,7 @@ public:
* Paints a font name or character if provided to be displayed in the font list
* @param pFontName the font to be painted
*/
inline
unsigned
char
*
renderFont
(
const
char
*
pFontName
,
unsigned
char
*
renderFont
(
const
char
*
pFontName
,
const
char
*
pChar
,
int
*
pFontWidth
,
int
*
pFontHeight
)
...
...
@@ -421,7 +421,7 @@ public:
* @param nPart the part number of the document of which the tile is painted.
* @see paintTile.
*/
inline
void
paintPartTile
(
unsigned
char
*
pBuffer
,
void
paintPartTile
(
unsigned
char
*
pBuffer
,
const
int
nPart
,
const
int
nCanvasWidth
,
const
int
nCanvasHeight
,
...
...
@@ -446,7 +446,7 @@ public:
* @returns true if pArray was large enough and result is written, false
* otherwise.
*/
inline
bool
getViewIds
(
int
*
pArray
,
bool
getViewIds
(
int
*
pArray
,
size_t
nSize
)
{
return
mpDoc
->
pClass
->
getViewIds
(
mpDoc
,
pArray
,
nSize
);
...
...
@@ -463,11 +463,11 @@ private:
public
:
/// A lok::Office is typically created by the lok_cpp_init() function.
inline
Office
(
LibreOfficeKit
*
pThis
)
:
Office
(
LibreOfficeKit
*
pThis
)
:
mpThis
(
pThis
)
{}
inline
~
Office
()
~
Office
()
{
mpThis
->
pClass
->
destroy
(
mpThis
);
}
...
...
@@ -479,7 +479,7 @@ public:
* @param pFilterOptions options for the import filter, e.g. SkipImages.
* @since pFilterOptions argument added in LibreOffice 5.0
*/
inline
Document
*
documentLoad
(
const
char
*
pUrl
,
const
char
*
pFilterOptions
=
NULL
)
Document
*
documentLoad
(
const
char
*
pUrl
,
const
char
*
pFilterOptions
=
NULL
)
{
LibreOfficeKitDocument
*
pDoc
=
NULL
;
...
...
@@ -495,7 +495,7 @@ public:
}
/// Returns the last error as a string, the returned pointer has to be freed by the caller.
inline
char
*
getError
()
char
*
getError
()
{
return
mpThis
->
pClass
->
getError
(
mpThis
);
}
...
...
@@ -505,7 +505,7 @@ public:
*
* @since LibreOffice 5.2
*/
inline
void
freeError
(
char
*
pFree
)
void
freeError
(
char
*
pFree
)
{
mpThis
->
pClass
->
freeError
(
pFree
);
}
...
...
@@ -518,7 +518,7 @@ public:
* @param pCallback the callback to invoke
* @param pData the user data, will be passed to the callback on invocation
*/
inline
void
registerCallback
(
LibreOfficeKitCallback
pCallback
,
void
*
pData
)
void
registerCallback
(
LibreOfficeKitCallback
pCallback
,
void
*
pData
)
{
mpThis
->
pClass
->
registerCallback
(
mpThis
,
pCallback
,
pData
);
}
...
...
@@ -537,7 +537,7 @@ public:
* }
* }
*/
inline
char
*
getFilterTypes
()
char
*
getFilterTypes
()
{
return
mpThis
->
pClass
->
getFilterTypes
(
mpThis
);
}
...
...
@@ -571,7 +571,7 @@ public:
* and a NULL password will continue loading the document in read-only
* mode.
*/
inline
void
setDocumentPassword
(
char
const
*
pURL
,
char
const
*
pPassword
)
void
setDocumentPassword
(
char
const
*
pURL
,
char
const
*
pPassword
)
{
mpThis
->
pClass
->
setDocumentPassword
(
mpThis
,
pURL
,
pPassword
);
}
...
...
@@ -587,7 +587,7 @@ public:
* "ProductExtension": ".0.0.alpha0",
* "BuildId": "<full 40 char git hash>"}
*/
inline
char
*
getVersionInfo
()
char
*
getVersionInfo
()
{
return
mpThis
->
pClass
->
getVersionInfo
(
mpThis
);
}
...
...
@@ -600,7 +600,7 @@ public:
* @param pURL macro url to run
*/
inline
bool
runMacro
(
const
char
*
pURL
)
bool
runMacro
(
const
char
*
pURL
)
{
return
mpThis
->
pClass
->
runMacro
(
mpThis
,
pURL
);
}
...
...
mysqlc/source/mysqlc_connection.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -184,10 +184,10 @@ namespace connectivity
// TODO: Not used
//sal_Int32 sdbcColumnType(rtl::OUString typeName);
inline
const
ConnectionSettings
&
getConnectionSettings
()
const
{
return
m_settings
;
}
const
ConnectionSettings
&
getConnectionSettings
()
const
{
return
m_settings
;
}
rtl
::
OUString
transFormPreparedStatement
(
const
rtl
::
OUString
&
_sSQL
);
inline
const
MysqlCDriver
&
getDriver
()
const
{
return
m_rDriver
;}
const
MysqlCDriver
&
getDriver
()
const
{
return
m_rDriver
;}
};
/* OConnection */
// TODO: Not used.
...
...
mysqlc/source/mysqlc_databasemetadata.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -57,7 +57,7 @@ namespace connectivity
bool
impl_getRSTypeMetaData
(
const
sal_Char
*
_methodName
,
bool
(
sql
::
DatabaseMetaData
::*
Method
)(
int
),
sal_Int32
_resultSetType
);
public
:
inline
const
OConnection
&
getOwnConnection
()
const
{
return
m_rConnection
;
}
const
OConnection
&
getOwnConnection
()
const
{
return
m_rConnection
;
}
explicit
ODatabaseMetaData
(
OConnection
&
_rCon
);
virtual
~
ODatabaseMetaData
();
...
...
mysqlc/source/mysqlc_resultsetmetadata.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -51,7 +51,7 @@ namespace connectivity
{
}
inline
rtl
::
OUString
convert
(
const
::
std
::
string
&
_string
)
const
rtl
::
OUString
convert
(
const
::
std
::
string
&
_string
)
const
{
return
rtl
::
OUString
(
_string
.
c_str
(),
_string
.
size
(),
m_encoding
);
}
...
...
mysqlc/source/mysqlc_services.cxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -53,7 +53,7 @@ struct ProviderRequest
{
}
inline
bool
CREATE_PROVIDER
(
bool
CREATE_PROVIDER
(
const
rtl
::
OUString
&
Implname
,
const
Sequence
<
rtl
::
OUString
>
&
Services
,
::
cppu
::
ComponentInstantiation
Factory
,
...
...
vcl/inc/unx/gendata.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -48,7 +48,7 @@ class VCL_DLLPUBLIC SalGenericData : public SalData
{
return
m_aUnicodeEntry
;
}
inline
SalGenericDataType
GetType
()
const
SalGenericDataType
GetType
()
const
{
return
m_eType
;
}
...
...
vcl/inc/unx/gendisp.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -53,7 +53,7 @@ public:
SalGenericDisplay
();
virtual
~
SalGenericDisplay
();
inline
osl
::
Mutex
&
getEventGuardMutex
()
{
return
m_aEventGuard
;
}
osl
::
Mutex
&
getEventGuardMutex
()
{
return
m_aEventGuard
;
}
void
registerFrame
(
SalFrame
*
pFrame
);
virtual
void
deregisterFrame
(
SalFrame
*
pFrame
);
...
...
vcl/inc/unx/gtk/gtkgdi.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -258,9 +258,9 @@ public:
GtkSalGraphics
(
GtkSalFrame
*
,
GtkWidget
*
window
,
SalX11Screen
nXScreen
);
virtual
~
GtkSalGraphics
()
override
;
inline
GtkWidget
*
GetGtkWidget
()
const
{
return
m_pWindow
;
}
inline
GdkWindow
*
GetGdkWindow
()
const
{
return
m_pWindow
->
window
;
}
inline
GtkSalFrame
*
GetGtkFrame
()
const
{
return
static_cast
<
GtkSalFrame
*>
(
m_pFrame
);
}
GtkWidget
*
GetGtkWidget
()
const
{
return
m_pWindow
;
}
GdkWindow
*
GetGdkWindow
()
const
{
return
m_pWindow
->
window
;
}
GtkSalFrame
*
GetGtkFrame
()
const
{
return
static_cast
<
GtkSalFrame
*>
(
m_pFrame
);
}
void
SetWindow
(
GtkWidget
*
window
)
{
m_pWindow
=
window
;
}
// will be set when UI theme was changed
...
...
vcl/inc/unx/saldata.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -70,7 +70,7 @@ public:
void
DeleteDisplay
();
// for shutdown
inline
SalXLib
*
GetLib
()
const
{
return
pXLib_
;
}
SalXLib
*
GetLib
()
const
{
return
pXLib_
;
}
static
void
Timeout
(
bool
idle
);
...
...
vcl/inc/unx/saldisp.hxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -92,10 +92,10 @@ public:
~
SalVisual
();
SalVisual
(
const
XVisualInfo
*
pXVI
);
inline
VisualID
GetVisualId
()
const
{
return
visualid
;
}
inline
Visual
*
GetVisual
()
const
{
return
visual
;
}
in
line
in
t
GetClass
()
const
{
return
c_class
;
}
in
line
in
t
GetDepth
()
const
{
return
depth
;
}
VisualID
GetVisualId
()
const
{
return
visualid
;
}
Visual
*
GetVisual
()
const
{
return
visual
;
}
int
GetClass
()
const
{
return
c_class
;
}
int
GetDepth
()
const
{
return
depth
;
}
Pixel
GetTCPixel
(
SalColor
nColor
)
const
;
SalColor
GetTCColor
(
Pixel
nPixel
)
const
;
...
...
@@ -122,14 +122,14 @@ public:
SalColormap
(
sal_uInt16
nDepth
);
SalColormap
();
inline
Colormap
GetXColormap
()
const
{
return
m_hColormap
;
}
inline
const
SalDisplay
*
GetDisplay
()
const
{
return
m_pDisplay
;
}
Colormap
GetXColormap
()
const
{
return
m_hColormap
;
}
const
SalDisplay
*
GetDisplay
()
const
{
return
m_pDisplay
;
}
inline
Display
*
GetXDisplay
()
const
;
inline
const
SalVisual
&
GetVisual
()
const
{
return
m_aVisual
;
}
inline
Visual
*
GetXVisual
()
const
{
return
m_aVisual
.
GetVisual
();
}
inline
Pixel
GetWhitePixel
()
const
{
return
m_nWhitePixel
;
}
inline
Pixel
GetBlackPixel
()
const
{
return
m_nBlackPixel
;
}
inline
Pixel
GetUsed
()
const
{
return
m_nUsed
;
}
const
SalVisual
&
GetVisual
()
const
{
return
m_aVisual
;
}
Visual
*
GetXVisual
()
const
{
return
m_aVisual
.
GetVisual
();
}
Pixel
GetWhitePixel
()
const
{
return
m_nWhitePixel
;
}
Pixel
GetBlackPixel
()
const
{
return
m_nBlackPixel
;
}
Pixel
GetUsed
()
const
{
return
m_nUsed
;
}
bool
GetXPixels
(
XColor
&
rColor
,
int
r
,
...
...
vcl/inc/unx/salgdi.h
Dosyayı görüntüle @
f6262b3d
...
...
@@ -84,11 +84,11 @@ public:
inline
Display
*
GetXDisplay
()
const
;
inline
const
SalVisual
&
GetVisual
()
const
;
SalGeometryProvider
*
GetGeometryProvider
()
const
;
inline
Drawable
GetDrawable
()
const
{
return
hDrawable_
;
}
Drawable
GetDrawable
()
const
{
return
hDrawable_
;
}
void
SetDrawable
(
Drawable
d
,
SalX11Screen
nXScreen
);
XRenderPictFormat
*
GetXRenderFormat
()
const
;
inline
void
SetXRenderFormat
(
XRenderPictFormat
*
pXRenderFormat
)
{
m_pXRenderFormat
=
pXRenderFormat
;
}
inline
const
SalColormap
&
GetColormap
()
const
{
return
*
m_pColormap
;
}
void
SetXRenderFormat
(
XRenderPictFormat
*
pXRenderFormat
)
{
m_pXRenderFormat
=
pXRenderFormat
;
}
const
SalColormap
&
GetColormap
()
const
{
return
*
m_pColormap
;
}
using
SalGraphics
::
GetPixel
;
inline
Pixel
GetPixel
(
SalColor
nSalColor
)
const
;
...
...
vcl/unx/generic/app/saldata.cxx
Dosyayı görüntüle @
f6262b3d
...
...
@@ -578,9 +578,9 @@ struct YieldEntry
YieldFunc
queued
;
// read and queue up events
YieldFunc
handle
;
// handle pending events
in
line
in
t
HasPendingEvent
()
const
{
return
pending
(
fd
,
data
);
}
in
line
in
t
IsEventQueued
()
const
{
return
queued
(
fd
,
data
);
}
inline
void
HandleNextEvent
()
const
{
handle
(
fd
,
data
);
}
int
HasPendingEvent
()
const
{
return
pending
(
fd
,
data
);
}
int
IsEventQueued
()
const
{
return
queued
(
fd
,
data
);
}
void
HandleNextEvent
()
const
{
handle
(
fd
,
data
);
}
};
#define MAX_NUM_DESCRIPTORS 128
...
...
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