diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /vcl/headless | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpframe.cxx | 12 | ||||
-rw-r--r-- | vcl/headless/svpgdi.cxx | 16 | ||||
-rw-r--r-- | vcl/headless/svpprn.cxx | 4 | ||||
-rw-r--r-- | vcl/headless/svptext.cxx | 2 | ||||
-rw-r--r-- | vcl/headless/svpvd.cxx | 4 |
5 files changed, 19 insertions, 19 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index b0073712f665..db5d08d88866 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -182,10 +182,10 @@ void SvpSalFrame::ReleaseGraphics( SalGraphics* pGraphics ) delete pSvpGraphics; } -sal_Bool SvpSalFrame::PostEvent( void* pData ) +bool SvpSalFrame::PostEvent( void* pData ) { m_pInstance->PostEvent( this, pData, SALEVENT_USEREVENT ); - return sal_True; + return true; } void SvpSalFrame::PostPaint(bool bImmediate) const @@ -354,7 +354,7 @@ void SvpSalFrame::SetWindowState( const SalFrameState *pState ) } } -sal_Bool SvpSalFrame::GetWindowState( SalFrameState* pState ) +bool SvpSalFrame::GetWindowState( SalFrameState* pState ) { pState->mnState = WINDOWSTATE_STATE_NORMAL; pState->mnX = maGeometry.nX; @@ -363,7 +363,7 @@ sal_Bool SvpSalFrame::GetWindowState( SalFrameState* pState ) pState->mnHeight = maGeometry.nHeight; pState->mnMask = _FRAMESTATE_MASK_GEOMETRY | WINDOWSTATE_MASK_STATE; - return sal_True; + return true; } void SvpSalFrame::ShowFullScreen( sal_Bool, sal_Int32 ) @@ -418,9 +418,9 @@ OUString SvpSalFrame::GetKeyName( sal_uInt16 ) return OUString(); } -sal_Bool SvpSalFrame::MapUnicodeToKeyCode( sal_Unicode, LanguageType, KeyCode& ) +bool SvpSalFrame::MapUnicodeToKeyCode( sal_Unicode, LanguageType, KeyCode& ) { - return sal_False; + return false; } LanguageType SvpSalFrame::GetInputLanguage() diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index a1122e55dbe5..5279c18e6bce 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -531,26 +531,26 @@ bool SvpSalGraphics::drawPolyLine( return false; } -sal_Bool SvpSalGraphics::drawPolyLineBezier( sal_uInt32, +bool SvpSalGraphics::drawPolyLineBezier( sal_uInt32, const SalPoint*, const sal_uInt8* ) { - return sal_False; + return false; } -sal_Bool SvpSalGraphics::drawPolygonBezier( sal_uInt32, +bool SvpSalGraphics::drawPolygonBezier( sal_uInt32, const SalPoint*, const sal_uInt8* ) { - return sal_False; + return false; } -sal_Bool SvpSalGraphics::drawPolyPolygonBezier( sal_uInt32, +bool SvpSalGraphics::drawPolyPolygonBezier( sal_uInt32, const sal_uInt32*, const SalPoint* const*, const sal_uInt8* const* ) { - return sal_False; + return false; } bool SvpSalGraphics::drawPolyPolygon( const basegfx::B2DPolyPolygon&, double /*fTransparency*/ ) @@ -728,9 +728,9 @@ void SvpSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInve dbgOut( m_aDevice ); } -sal_Bool SvpSalGraphics::drawEPS( long, long, long, long, void*, sal_uLong ) +bool SvpSalGraphics::drawEPS( long, long, long, long, void*, sal_uLong ) { - return sal_False; + return false; } SystemGraphicsData SvpSalGraphics::GetGraphicsData() const diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx index f50db9a69ec9..e09433900158 100644 --- a/vcl/headless/svpprn.cxx +++ b/vcl/headless/svpprn.cxx @@ -271,9 +271,9 @@ GenPspGraphics *SvpSalInstance::CreatePrintGraphics() return new GenPspGraphics(); } -sal_Bool SvpSalInfoPrinter::Setup( SalFrame*, ImplJobSetup* ) +bool SvpSalInfoPrinter::Setup( SalFrame*, ImplJobSetup* ) { - return sal_False; + return false; } SvpSalPrinter::SvpSalPrinter( SalInfoPrinter* pInfoPrinter ) diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx index 29c823d50283..22c786ca6a2a 100644 --- a/vcl/headless/svptext.cxx +++ b/vcl/headless/svptext.cxx @@ -302,7 +302,7 @@ bool SvpSalGraphics::AddTempDevFont( ImplDevFontList*, } -sal_Bool SvpSalGraphics::CreateFontSubset( +bool SvpSalGraphics::CreateFontSubset( const OUString& rToFile, const PhysicalFontFace* pFont, sal_GlyphId* pGlyphIds, diff --git a/vcl/headless/svpvd.cxx b/vcl/headless/svpvd.cxx index 56c7ed73e92b..6d5cfbc25fcf 100644 --- a/vcl/headless/svpvd.cxx +++ b/vcl/headless/svpvd.cxx @@ -47,12 +47,12 @@ void SvpSalVirtualDevice::ReleaseGraphics( SalGraphics* pGraphics ) delete pGraphics; } -sal_Bool SvpSalVirtualDevice::SetSize( long nNewDX, long nNewDY ) +bool SvpSalVirtualDevice::SetSize( long nNewDX, long nNewDY ) { return SetSizeUsingBuffer( nNewDX, nNewDY, basebmp::RawMemorySharedArray() ); } -sal_Bool SvpSalVirtualDevice::SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray &pBuffer ) +bool SvpSalVirtualDevice::SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray &pBuffer ) { B2IVector aDevSize( nNewDX, nNewDY ); if( aDevSize.getX() == 0 ) |