diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/metafileprimitive2d.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sfxhelp.hxx | 2 | ||||
-rw-r--r-- | include/vcl/GraphicNativeTransform.hxx | 2 | ||||
-rw-r--r-- | include/vcl/alpha.hxx | 4 | ||||
-rw-r--r-- | include/vcl/animate.hxx | 6 | ||||
-rw-r--r-- | include/vcl/bitmap.hxx | 6 | ||||
-rw-r--r-- | include/vcl/bitmapex.hxx | 14 | ||||
-rw-r--r-- | include/vcl/builder.hxx | 10 | ||||
-rw-r--r-- | include/vcl/dockwin.hxx | 4 | ||||
-rw-r--r-- | include/vcl/fixed.hxx | 2 | ||||
-rw-r--r-- | include/vcl/gdimetafiletools.hxx | 2 | ||||
-rw-r--r-- | include/vcl/gdimtf.hxx | 2 | ||||
-rw-r--r-- | include/vcl/help.hxx | 2 | ||||
-rw-r--r-- | include/vcl/jobdata.hxx | 4 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 2 | ||||
-rw-r--r-- | include/vcl/menu.hxx | 2 | ||||
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 4 | ||||
-rw-r--r-- | include/vcl/outdev.hxx | 4 | ||||
-rw-r--r-- | include/vcl/pdfwriter.hxx | 19 | ||||
-rw-r--r-- | include/vcl/print.hxx | 13 | ||||
-rw-r--r-- | include/vcl/seleng.hxx | 2 | ||||
-rw-r--r-- | include/vcl/texteng.hxx | 2 | ||||
-rw-r--r-- | include/vcl/textview.hxx | 4 | ||||
-rw-r--r-- | include/vcl/wrkwin.hxx | 2 |
24 files changed, 46 insertions, 70 deletions
diff --git a/include/drawinglayer/primitive2d/metafileprimitive2d.hxx b/include/drawinglayer/primitive2d/metafileprimitive2d.hxx index a6d6c34338bd..62d113d034a9 100644 --- a/include/drawinglayer/primitive2d/metafileprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/metafileprimitive2d.hxx @@ -83,7 +83,7 @@ namespace drawinglayer virtual basegfx::B2DRange getB2DRange(const geometry::ViewInformation2D& rViewInformation) const override; /// from MetafileAccessor - virtual bool accessMetafile(GDIMetaFile& rTargetMetafile) const override; + virtual void accessMetafile(GDIMetaFile& rTargetMetafile) const override; /// provide unique ID DeclPrimitive2DIDBlock() diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index 06da6f412e6c..fb2eeac49707 100644 --- a/include/sfx2/sfxhelp.hxx +++ b/include/sfx2/sfxhelp.hxx @@ -34,7 +34,7 @@ class SFX2_DLLPUBLIC SfxHelp : public Help private: SAL_DLLPRIVATE static bool Start_Impl( const OUString& rURL, const vcl::Window* pWindow, const OUString& rKeyword ); - SAL_DLLPRIVATE virtual bool SearchKeyword( const OUString& rKeyWord ) override; + SAL_DLLPRIVATE virtual void SearchKeyword( const OUString& rKeyWord ) override; SAL_DLLPRIVATE virtual bool Start( const OUString& rURL, const vcl::Window* pWindow ) override; SAL_DLLPRIVATE static OUString GetHelpModuleName_Impl(const OUString &rHelpId); SAL_DLLPRIVATE static OUString CreateHelpURL_Impl( const OUString& aCommandURL, const OUString& rModuleName ); diff --git a/include/vcl/GraphicNativeTransform.hxx b/include/vcl/GraphicNativeTransform.hxx index 1ec965a2d8fd..f2f142f5ba57 100644 --- a/include/vcl/GraphicNativeTransform.hxx +++ b/include/vcl/GraphicNativeTransform.hxx @@ -34,7 +34,7 @@ public: GraphicNativeTransform(Graphic& rGraphic); ~GraphicNativeTransform(); - bool rotate(sal_uInt16 aRotation); + void rotate(sal_uInt16 aRotation); }; #endif // INCLUDED_VCL_GRAPHICNATIVETRANSFORM_HXX diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx index e3fd8ee43ec5..396e437cf93f 100644 --- a/include/vcl/alpha.hxx +++ b/include/vcl/alpha.hxx @@ -57,9 +57,9 @@ public: Bitmap const & GetBitmap() const; - bool Erase( sal_uInt8 cTransparency ); + void Erase( sal_uInt8 cTransparency ); bool Replace( const Bitmap& rMask, sal_uInt8 rReplaceTransparency ); - bool Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency ); + void Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency ); BitmapReadAccess* AcquireReadAccess() { return Bitmap::AcquireReadAccess(); } BitmapWriteAccess* AcquireWriteAccess() { return Bitmap::AcquireWriteAccess(); } diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx index 1b8844f2c959..23d7e1e05a44 100644 --- a/include/vcl/animate.hxx +++ b/include/vcl/animate.hxx @@ -136,12 +136,12 @@ public: public: - bool Convert( BmpConversion eConversion ); + void Convert( BmpConversion eConversion ); bool ReduceColors( sal_uInt16 nNewColorCount ); bool Invert(); - bool Mirror( BmpMirrorFlags nMirrorFlags ); - bool Adjust( + void Mirror( BmpMirrorFlags nMirrorFlags ); + void Adjust( short nLuminancePercent, short nContrastPercent, short nChannelRPercent, diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index ec14ae52b59f..2f74b71dd7b3 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -263,7 +263,7 @@ public: public: - bool MakeMono( sal_uInt8 cThreshold ); + void MakeMono( sal_uInt8 cThreshold ); /** Convert bitmap format @@ -590,10 +590,8 @@ public: @param pProgress A callback for showing the progress of the vectorization - - @return true, if the operation was completed successfully. */ - bool Vectorize( + void Vectorize( GDIMetaFile& rMtf, sal_uInt8 cReduce, const Link<long,void>* pProgress ); diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index a850572357e9..1857e7608314 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -147,12 +147,8 @@ public: @param bExpandTransparent Whether to expand the transparency color or not. - - @return true, if padding was performed successfully. false is - not only returned when the operation failed, but also if - nothing had to be done, e.g. because nDX and nDY were zero. */ - bool Expand( + void Expand( sal_uLong nDX, sal_uLong nDY, bool bExpandTransparent = false ); @@ -264,10 +260,8 @@ public: @param rReplaceColor Color to be placed in all changed pixel - - @return true, if the operation was completed successfully. */ - bool Replace( + void Replace( const Color& rSearchColor, const Color& rReplaceColor ); @@ -286,10 +280,8 @@ public: Tolerance value. Specifies the maximal difference between pSearchColor colors and the individual pixel values, such that the corresponding pixel is still regarded a match. - - @return true, if the operation was completed successfully. */ - bool Replace( + void Replace( const Color* pSearchColors, const Color* pReplaceColors, sal_uLong nColorCount, diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index e696c1dc04d8..21a586718e55 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -327,12 +327,12 @@ private: void connectTimeFormatterAdjustment(const OString &id, const OUString &rAdjustment); void connectDateFormatterAdjustment(const OString &id, const OUString &rAdjustment); - bool extractGroup(const OString &id, stringmap &rVec); - bool extractModel(const OString &id, stringmap &rVec); - bool extractBuffer(const OString &id, stringmap &rVec); + void extractGroup(const OString &id, stringmap &rVec); + void extractModel(const OString &id, stringmap &rVec); + void extractBuffer(const OString &id, stringmap &rVec); static bool extractAdjustmentToMap(const OString &id, stringmap &rVec, std::vector<WidgetAdjustmentMap>& rAdjustmentMap); - bool extractButtonImage(const OString &id, stringmap &rMap, bool bRadio); - bool extractStock(const OString &id, stringmap &rMap); + void extractButtonImage(const OString &id, stringmap &rMap, bool bRadio); + void extractStock(const OString &id, stringmap &rMap); void extractMnemonicWidget(const OString &id, stringmap &rMap); void handleChild(vcl::Window *pParent, xmlreader::XmlReader &reader); diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index af10bceef5d5..d3d792d476a3 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -119,7 +119,7 @@ public: ~ImplDockingWindowWrapper(); vcl::Window* GetWindow() { return mpDockingWindow; } - bool ImplStartDocking( const Point& rPos ); + void ImplStartDocking( const Point& rPos ); // those methods actually call the corresponding handlers void StartDocking( const Point& rPos, tools::Rectangle const & rRect ); @@ -270,7 +270,7 @@ public: bool isLayoutEnabled() const; void setOptimalLayoutSize(); - SAL_DLLPRIVATE bool ImplStartDocking( const Point& rPos ); + SAL_DLLPRIVATE void ImplStartDocking( const Point& rPos ); SAL_DLLPRIVATE bool isDeferredInit() const { return mbIsDeferredInit; } virtual void doDeferredInit(WinBits nBits); protected: diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx index df7deaf9408c..49fdef75ddef 100644 --- a/include/vcl/fixed.hxx +++ b/include/vcl/fixed.hxx @@ -174,7 +174,7 @@ public: void SetImage( const Image& rImage ); const Image& GetImage() const { return maImage; } - bool SetModeImage( const Image& rImage ); + void SetModeImage( const Image& rImage ); const Image& GetModeImage( ) const { return maImage;} virtual bool set_property(const OString &rKey, const OUString &rValue) override; diff --git a/include/vcl/gdimetafiletools.hxx b/include/vcl/gdimetafiletools.hxx index 2296ab219e22..300d183e9fdc 100644 --- a/include/vcl/gdimetafiletools.hxx +++ b/include/vcl/gdimetafiletools.hxx @@ -45,7 +45,7 @@ bool VCL_DLLPUBLIC usesClipActions(const GDIMetaFile& rSource); class VCL_DLLPUBLIC MetafileAccessor { public: - virtual bool accessMetafile(GDIMetaFile& rTargetMetafile) const = 0; + virtual void accessMetafile(GDIMetaFile& rTargetMetafile) const = 0; virtual ~MetafileAccessor(); }; diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx index 2a0baaded027..e7372e159236 100644 --- a/include/vcl/gdimtf.hxx +++ b/include/vcl/gdimtf.hxx @@ -108,7 +108,7 @@ public: bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); } void Clear(); - bool Mirror( BmpMirrorFlags nMirrorFlags ); + void Mirror( BmpMirrorFlags nMirrorFlags ); void Move( long nX, long nY ); // additional Move method getting specifics how to handle MapMode( MapUnit::MapPixel ) void Move( long nX, long nY, long nDPIX, long nDPIY ); diff --git a/include/vcl/help.hxx b/include/vcl/help.hxx index 00e46ebb5663..ee51fe40014f 100644 --- a/include/vcl/help.hxx +++ b/include/vcl/help.hxx @@ -63,7 +63,7 @@ public: virtual ~Help(); virtual bool Start( const OUString& rHelpId, const vcl::Window* pWindow ); - virtual bool SearchKeyword( const OUString& rKeyWord ); + virtual void SearchKeyword( const OUString& rKeyWord ); virtual OUString GetHelpText( const OUString& aHelpURL, const vcl::Window* pWindow ); static void EnableContextHelp(); diff --git a/include/vcl/jobdata.hxx b/include/vcl/jobdata.hxx index 65a050f80423..28d1115c9fc8 100644 --- a/include/vcl/jobdata.hxx +++ b/include/vcl/jobdata.hxx @@ -68,8 +68,8 @@ struct VCL_DLLPUBLIC JobData JobData( const JobData& rData ) { *this = rData; } void setCollate( bool bCollate ); - bool setPaper( int nWidth, int nHeight ); // dimensions in pt - bool setPaperBin( int nPaperBin ); + void setPaper( int nWidth, int nHeight ); // dimensions in pt + void setPaperBin( int nPaperBin ); void resolveDefaultBackend(); void setDefaultBackend(bool bUsePDF); diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index d973704f8802..d73fa7166ce2 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -607,7 +607,7 @@ public: { return m_eMode; } - bool set_property(const OString &rKey, const OUString &rValue); + void set_property(const OString &rKey, const OUString &rValue); }; class VCL_DLLPUBLIC MessageDialog : public Dialog diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 428484d0859c..3ada2762fb6a 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -352,7 +352,7 @@ public: // returns the system's menu handle if native menus are supported // pData must point to a SystemMenuData structure - bool GetSystemMenuData( SystemMenuData* pData ) const; + void GetSystemMenuData( SystemMenuData* pData ) const; // accessibility helpers diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 947384badda8..62a526a09a80 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -83,7 +83,7 @@ public: // use these methods right after setting a context to make sure drawing happens // in the right FBO (default one is for onscreen painting) bool BindFramebuffer( OpenGLFramebuffer* pFramebuffer ); - bool AcquireDefaultFramebuffer(); + void AcquireDefaultFramebuffer(); OpenGLFramebuffer* AcquireFramebuffer( const OpenGLTexture& rTexture ); static void ReleaseFramebuffer( OpenGLFramebuffer* pFramebuffer ); void UnbindTextureFromFramebuffers( GLuint nTexture ); @@ -153,7 +153,7 @@ public: virtual SystemWindowData generateWinData(vcl::Window* pParent, bool bRequestLegacyContext); private: - virtual bool initWindow(); + virtual void initWindow(); virtual void destroyCurrentContext(); virtual void adjustToNewSize(); diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index a22f8a12a811..f9377bb655d2 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1152,7 +1152,7 @@ public: vcl::TextLayoutCache const* = nullptr, SalLayout const*const pLayoutCache = nullptr) const; - bool GetCaretPositions( const OUString&, long* pCaretXArray, + void GetCaretPositions( const OUString&, long* pCaretXArray, sal_Int32 nIndex, sal_Int32 nLen ) const; void DrawStretchText( const Point& rStartPt, sal_uLong nWidth, const OUString& rStr, @@ -1512,7 +1512,7 @@ private: Size& aOutSz, Point& aOutPt); - SAL_DLLPRIVATE bool BlendBitmap( + SAL_DLLPRIVATE void BlendBitmap( const SalTwoRect& rPosAry, const Bitmap& rBmp ); diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 9ff7e4e46ae3..302d98fc85b0 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -1103,13 +1103,8 @@ The following structure describes the permissions used in PDF security @param nElement the id of the new current structure element - - @returns - True if the current structure element could be set successfully - False if the current structure element could not be changed - (e.g. if the passed element id is invalid) */ - bool SetCurrentStructureElement( sal_Int32 nElement ); + void SetCurrentStructureElement( sal_Int32 nElement ); /** set a structure attribute on the current structural element @@ -1123,12 +1118,8 @@ The following structure describes the permissions used in PDF security @param eVal the value to set the attribute to - - @returns - True if the value was valid and the change has been performed, - False if the attribute or value was invalid; attribute remains unchanged */ - bool SetStructureAttribute( enum StructAttribute eAttr, enum StructAttributeValue eVal ); + void SetStructureAttribute( enum StructAttribute eAttr, enum StructAttributeValue eVal ); /** set a structure attribute on the current structural element SetStructureAttributeNumerical sets an attribute of the current structural element @@ -1141,12 +1132,8 @@ The following structure describes the permissions used in PDF security @param nValue the value to set the attribute to - - @returns - True if the value was valid and the change has been performed, - False if the attribute or value was invalid; attribute remains unchanged */ - bool SetStructureAttributeNumerical( enum StructAttribute eAttr, sal_Int32 nValue ); + void SetStructureAttributeNumerical( enum StructAttribute eAttr, sal_Int32 nValue ); /** set the bounding box of a structural element SetStructureBoundingBox sets the BBox attribute to a new value. Since the BBox diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index eb81145ca440..ac15f1de4d0b 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -170,9 +170,8 @@ public: parameter decides whether the set for print "to printer" or "to file" should be read. - @return True if config was read, false if an error occurred */ - bool ReadFromConfig( bool bFile ); + void ReadFromConfig( bool bFile ); }; @@ -221,7 +220,7 @@ private: ImplSalPrinterErrorCodeToVCL( SalPrinterError nError ); private: - SAL_DLLPRIVATE bool EndJob(); + SAL_DLLPRIVATE void EndJob(); Printer( const Printer& rPrinter ) = delete; Printer& operator =( const Printer& rPrinter ) = delete; @@ -308,11 +307,11 @@ public: bool SetOrientation( Orientation eOrient ); Orientation GetOrientation() const; - bool SetDuplexMode( DuplexMode ); + void SetDuplexMode( DuplexMode ); bool SetPaperBin( sal_uInt16 nPaperBin ); sal_uInt16 GetPaperBin() const; - bool SetPaper( Paper ePaper ); + void SetPaper( Paper ePaper ); bool SetPaperSizeUser( const Size& rSize ); bool SetPaperSizeUser( const Size& rSize, bool bMatchNearest ); Paper GetPaper() const; @@ -337,7 +336,7 @@ public: const Point& GetPageOffsetPixel() const { return maPageOffset; } Point GetPageOffset() const { return PixelToLogic( maPageOffset ); } - bool SetCopyCount( sal_uInt16 nCopy, bool bCollate ); + void SetCopyCount( sal_uInt16 nCopy, bool bCollate ); sal_uInt16 GetCopyCount() const { return mnCopyCount; } bool IsCollateCopy() const { return mbCollateCopy; } @@ -559,7 +558,7 @@ public: SAL_DLLPRIVATE void pushPropertiesToPrinter(); SAL_DLLPRIVATE void resetPaperToLastConfigured(); VCL_PLUGIN_PUBLIC void setJobState( css::view::PrintableState ); - SAL_DLLPRIVATE bool setupPrinter( vcl::Window* i_pDlgParent ); + SAL_DLLPRIVATE void setupPrinter( vcl::Window* i_pDlgParent ); SAL_DLLPRIVATE int getPageCountProtected() const; SAL_DLLPRIVATE css::uno::Sequence< css::beans::PropertyValue > diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx index 69b58e94a142..e3642330276d 100644 --- a/include/vcl/seleng.hxx +++ b/include/vcl/seleng.hxx @@ -49,7 +49,7 @@ public: // move cursor, at the same time match cursor position to the selection // starting at anchor. true == Ok - virtual bool SetCursorAtPoint( const Point& rPointPixel, + virtual void SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) = 0; virtual bool IsSelectionAtPoint( const Point& rPointPixel ) = 0; diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx index 7d642ee7e116..671054b8401f 100644 --- a/include/vcl/texteng.hxx +++ b/include/vcl/texteng.hxx @@ -284,7 +284,7 @@ public: bool Read( SvStream& rInput, const TextSelection* pSel = nullptr ); - bool Write( SvStream& rOutput ); + void Write( SvStream& rOutput ); TextPaM GetPaM( const Point& rDocPos ); tools::Rectangle PaMtoEditCursor( const TextPaM& rPaM, bool bSpecial = false ); diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx index 545b1ba9030f..d34b53bba927 100644 --- a/include/vcl/textview.hxx +++ b/include/vcl/textview.hxx @@ -170,7 +170,7 @@ public: void Undo(); void Redo(); - bool Read( SvStream& rInput ); + void Read( SvStream& rInput ); void SetStartDocPos( const Point& rPos ); const Point& GetStartDocPos() const; @@ -224,7 +224,7 @@ public: */ sal_Int32 GetLineNumberOfCursorInSelection() const; - bool MatchGroup(); + void MatchGroup(); bool Search( const i18nutil::SearchOptions& rSearchOptions, bool bForward ); sal_uInt16 Replace( const i18nutil::SearchOptions& rSearchOptions, bool bAll, bool bForward ); diff --git a/include/vcl/wrkwin.hxx b/include/vcl/wrkwin.hxx index 3d2c22840f44..e062a6c48090 100644 --- a/include/vcl/wrkwin.hxx +++ b/include/vcl/wrkwin.hxx @@ -93,7 +93,7 @@ public: bool IsMinimized() const; - bool SetPluginParent( SystemParentData* pParent ); + void SetPluginParent( SystemParentData* pParent ); void Minimize(); void Restore(); |