diff options
Diffstat (limited to 'include')
27 files changed, 2 insertions, 102 deletions
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index 60ab190a7a8a..0ad716947eb4 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -119,8 +119,6 @@ public: const SbxValues& GetValues_Impl() const { return aData; } bool Put( const SbxValues& ); - SbxValues * data() { return &aData; } - sal_Unicode GetChar() const; sal_Int16 GetInteger() const; sal_Int32 GetLong() const; diff --git a/include/desktop/crashreport.hxx b/include/desktop/crashreport.hxx index e58e387d0122..b97dadcc3957 100644 --- a/include/desktop/crashreport.hxx +++ b/include/desktop/crashreport.hxx @@ -49,10 +49,6 @@ public: static void storeExceptionHandler(google_breakpad::ExceptionHandler* pExceptionHandler); - // when we create the ExceptionHandler we have no access to the user - // profile yet, so update when we have access - static void updateMinidumpLocation(); - private: static osl::Mutex maMutex; diff --git a/include/sfx2/dialoghelper.hxx b/include/sfx2/dialoghelper.hxx index 1d2a2a994efe..5201113c6bc1 100644 --- a/include/sfx2/dialoghelper.hxx +++ b/include/sfx2/dialoghelper.hxx @@ -32,8 +32,6 @@ Size SFX2_DLLPUBLIC getParagraphPreviewOptimalSize(const vcl::Window *pReference Size SFX2_DLLPUBLIC getDrawPreviewOptimalSize(const vcl::Window *pReference); -Size SFX2_DLLPUBLIC getDrawListBoxOptimalSize(const vcl::Window *pReference); - Size SFX2_DLLPUBLIC getPreviewStripSize(const vcl::Window *pReference); Size SFX2_DLLPUBLIC getPreviewOptionsSize(const vcl::Window *pReference); diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index fcd933010874..98bd845d6208 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -128,9 +128,6 @@ public: static SfxFrame* GetFirst(); static SfxFrame* GetNext( SfxFrame& ); - static const SfxPoolItem* - OpenDocumentSynchron( SfxItemSet& aSet, const css::uno::Reference< css::frame::XFrame >& i_rTargetFrame ); - SfxObjectShell* GetCurrentDocument() const; SfxViewFrame* GetCurrentViewFrame() const; SfxFrame& GetTopFrame() const; @@ -190,20 +187,6 @@ private: typedef SvCompatWeakRef<SfxFrame> SfxFrameWeakRef; -class SfxFrameIterator -{ - const SfxFrame* pFrame; - bool bRecursive; - - SfxFrame* NextSibling_Impl( SfxFrame& rPrev ); - -public: - SfxFrameIterator( const SfxFrame& rFrame, bool bRecursive=true ); - SfxFrame* FirstFrame(); - SfxFrame* NextFrame( SfxFrame& rPrev ); -}; - - class SFX2_DLLPUBLIC SfxFrameItem: public SfxPoolItem { SfxFrame* pFrame; diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 4a464d371aea..1b9dfaf68960 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -433,7 +433,6 @@ public: static sal_uInt32 HandleFilter( SfxMedium* pMedium, SfxObjectShell* pDoc ); virtual bool PrepareClose(bool bUI = true); - bool IsInformationLost(); virtual HiddenInformation GetHiddenInformationState( HiddenInformation nStates ); sal_Int16 QueryHiddenInformation( HiddenWarningFact eFact, vcl::Window* pParent ); bool IsSecurityOptOpenReadOnly() const; diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx index b984792c87bf..762302220bda 100644 --- a/include/sfx2/sidebar/ControllerItem.hxx +++ b/include/sfx2/sidebar/ControllerItem.hxx @@ -94,10 +94,6 @@ public: */ void RequestUpdate(); - /** Return the icon for the command. - */ - Image GetIcon() const; - /** Do not call. Used by local class only. Should be a member of a local and hidden interface. */ diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index acb15217382d..3054b22c532e 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -101,9 +101,6 @@ protected: void createDefaultTemplateMenu (); - // Exchange view between local/online view. - void switchMainView (bool bDisplayLocal); - /** * * Move templates stored in the filesystem to another folder. diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index 300330c87a93..45e31a7973a6 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -129,8 +129,6 @@ public: bool moveTemplates (const std::set<const ThumbnailViewItem*,selection_cmp_fn> &rItems, const sal_uInt16 nTargetItem); - bool copyFrom (const sal_uInt16 nRegionItemId, const BitmapEx &rThumbnail, const OUString &rPath); - bool copyFrom(TemplateContainerItem *pItem, const OUString &rPath); bool exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, const OUString &rName); @@ -147,8 +145,6 @@ public: sal_uInt16 getCurRegionId () const { return mnCurRegionId;} - const OUString& getCurRegionName () const { return maCurRegionName;} - void setOpenRegionHdl(const Link<void*,void> &rLink); void setCreateContextMenuHdl(const Link<ThumbnailViewItem*,void> &rLink); diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index a1fea9bd4857..27744e3c091b 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -329,12 +329,8 @@ public: void libreOfficeKitViewCallback(int nType, const char* pPayload) const override; /// Set if we are doing tiled searching. void setTiledSearching(bool bTiledSearching); - /// Are we doing tiled searching? - bool isTiledSearching() const; /// Set if we are doing tiled painting. void setTiledPainting(bool bTiledPainting); - /// Are we doing tiled painting? - bool isTiledPainting() const; /// See lok::Document::getPart(). virtual int getPart() const; virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const; diff --git a/include/svl/style.hxx b/include/svl/style.hxx index 62b4afaf2558..48e4586542f0 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -95,7 +95,6 @@ protected: SfxStyleSheetBase( const SfxStyleSheetBase& ); virtual ~SfxStyleSheetBase() override; virtual void Load( SvStream&, sal_uInt16 ); - void Store( SvStream& ); public: diff --git a/include/svtools/parrtf.hxx b/include/svtools/parrtf.hxx index 7206a31c9cb0..d2539d4f302c 100644 --- a/include/svtools/parrtf.hxx +++ b/include/svtools/parrtf.hxx @@ -54,7 +54,6 @@ protected: void ReadUnknownData(); void ReadBitmapData(); - void ReadOLEData(); virtual ~SvRTFParser() override; diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx index 1c486797591c..d83deee8494d 100644 --- a/include/svtools/treelist.hxx +++ b/include/svtools/treelist.hxx @@ -141,9 +141,6 @@ public: void InsertView( SvListView* ); void RemoveView( SvListView* ); - SvListView* GetView( sal_uLong nPos ) const - { return ( nPos < aViewList.size() ) ? aViewList[ nPos ] : nullptr; } - void Broadcast( SvListAction nActionId, SvTreeListEntry* pEntry1=nullptr, diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx index aa0538077889..7f1c1fc52a78 100644 --- a/include/svx/SvxPresetListBox.hxx +++ b/include/svx/SvxPresetListBox.hxx @@ -31,7 +31,6 @@ class SVX_DLLPUBLIC SvxPresetListBox : public ValueSet { private: sal_uInt32 nColCount; - sal_uInt32 nRowCount; Size aIconSize; Link<SvxPresetListBox*,void> maRenameHdl; Link<SvxPresetListBox*,void> maDeleteHdl; @@ -49,8 +48,6 @@ public: sal_uInt32 getColumnCount() const { return nColCount; } Size const & GetIconSize() const { return aIconSize; } - void setColumnCount( const sal_uInt32 nCount ) { nColCount = nCount; } - void setRowCount( const sal_uInt32 nRow ) { nRowCount = nRow; } void SetRenameHdl( const Link<SvxPresetListBox*,void>& rLink ) { maRenameHdl = rLink; diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 190c996c637a..8d923610c355 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -229,9 +229,6 @@ public: explicit HatchingLB(vcl::Window* pParent, WinBits aWB); void Fill( const XHatchListRef &pList ); - - void Append( const XHatchEntry& rEntry, const Bitmap& rBitmap ); - void Modify( const XHatchEntry& rEntry, sal_Int32 nPos, const Bitmap& rBitmap ); }; /************************************************************************/ @@ -244,8 +241,6 @@ public: void Fill( const XGradientListRef &pList ); - void Append( const XGradientEntry& rEntry, const Bitmap& rBitmap ); - void Modify( const XGradientEntry& rEntry, sal_Int32 nPos, const Bitmap& rBitmap ); void SelectEntryByList( const XGradientListRef &pList, const OUString& rStr, const XGradient& rXGradient ); }; @@ -259,9 +254,6 @@ public: void Fill(const XBitmapListRef &pList); - void Append(const Size& rSize, const XBitmapEntry& rEntry); - void Modify(const Size& rSize, const XBitmapEntry& rEntry, sal_Int32 nPos); - private: BitmapEx maBitmapEx; diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx index 7190ef0b4d6e..ffcb6c1346fd 100644 --- a/include/svx/fmsrcimp.hxx +++ b/include/svx/fmsrcimp.hxx @@ -39,23 +39,6 @@ #include <vector> /** - * class FmSearchThread - */ -class FmSearchEngine; -class SAL_WARN_UNUSED FmSearchThread : public ::osl::Thread -{ - FmSearchEngine* m_pEngine; - Link<FmSearchThread*,void> m_aTerminationHdl; - - virtual void SAL_CALL run() override; - virtual void SAL_CALL onTerminated() override; - -public: - FmSearchThread(FmSearchEngine* pEngine) : m_pEngine(pEngine) { } - void setTerminationHandler(Link<FmSearchThread*,void> aHdl) { m_aTerminationHdl = aHdl; } -}; - -/** * struct FmSearchProgress - the owner of SearchEngine receives this structure for status updates * (at the end of the search) */ @@ -360,14 +343,10 @@ private: SVX_DLLPRIVATE bool MoveField(sal_Int32& nPos, FieldCollection::iterator& iter, const FieldCollection::iterator& iterBegin, const FieldCollection::iterator& iterEnd); // moves the iterator with respect to the direction/overflow iterator/overflow cursor SVX_DLLPRIVATE void BuildAndInsertFieldInfo(const css::uno::Reference< css::container::XIndexAccess >& xAllFields, sal_Int32 nField); - // builds a FieldInfo in relation to field number nField (in xAllFields) and adds it to m_arrUsedFields - // xAllFields needs to support the DatabaseRecord service - SVX_DLLPRIVATE OUString FormatField(const FieldInfo& rField); - // formats the field with the NumberFormatter SVX_DLLPRIVATE bool HasPreviousLoc() { return m_aPreviousLocBookmark.hasValue(); } - DECL_LINK_TYPED(OnSearchTerminated, FmSearchThread*, void); + void OnSearchTerminated(); // is used by SearchThread, after the return from this handler the thread removes itself DECL_LINK_TYPED(OnNewRecordCount, sal_Int32, void); }; diff --git a/include/svx/pagenumberlistbox.hxx b/include/svx/pagenumberlistbox.hxx index 1f0b4f107269..0cc32c41ffcd 100644 --- a/include/svx/pagenumberlistbox.hxx +++ b/include/svx/pagenumberlistbox.hxx @@ -29,7 +29,6 @@ public: PageNumberListBox( vcl::Window* pParent ); void SetSelection( sal_uInt16 ); - sal_uInt16 GetSelection() const; Size GetOptimalSize() const override; }; diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 5a49fee76568..14299d22ba43 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -137,7 +137,6 @@ public: const SdrPage* GetPage() const { return mpPage;} const SdrObject* GetObject() const { return mpObj;} SdrHintKind GetKind() const { return meHint;} - const Rectangle& GetRectangle() const { return maRectangle;} }; diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx index d8c1b2f136a1..1d781b970495 100644 --- a/include/svx/xtable.hxx +++ b/include/svx/xtable.hxx @@ -214,10 +214,8 @@ public: void SetDirty(bool bDirty) { mbListDirty = bDirty; } bool IsEmbedInDocument() const { return mbEmbedInDocument; } - void SetEmbedInDocument(bool b) { mbEmbedInDocument = b; } static OUString GetDefaultExt(XPropertyListType t); - static OUString GetDefaultExtFilter(XPropertyListType t); OUString GetDefaultExt() const { return GetDefaultExt(meType); } virtual css::uno::Reference< css::container::XNameContainer > diff --git a/include/vcl/IContext.hxx b/include/vcl/IContext.hxx index 09f9722a4597..446a845bbbfa 100644 --- a/include/vcl/IContext.hxx +++ b/include/vcl/IContext.hxx @@ -38,11 +38,6 @@ public: return true; } - const std::vector< vcl::EnumContext::Context >& GetContext() const - { - return maContext; - } - private: std::vector<vcl::EnumContext::Context> maContext; }; diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 33f42da12023..02a901801ac0 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -448,8 +448,6 @@ public: static OUString getUIRootDir(); bool hasBuilder() const { return m_pUIBuilder != nullptr; } - css::uno::Reference<css::frame::XFrame> getFrame() { return m_pUIBuilder->getFrame(); } - template <typename T> T* get(VclPtr<T>& ret, const OString& sID) { return m_pUIBuilder->get<T>(ret, sID); diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx index 225e96bfdedb..6ef4976efef4 100644 --- a/include/vcl/msgbox.hxx +++ b/include/vcl/msgbox.hxx @@ -96,9 +96,6 @@ public: class VCL_DLLPUBLIC QueryBox : public MessBox { -private: - SAL_DLLPRIVATE void ImplInitQueryBoxData(); - public: QueryBox( vcl::Window* pParent, WinBits nStyle, const OUString& rMessage ); diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx index 77ab8980316a..49482bd54203 100644 --- a/include/vcl/printerinfomanager.hxx +++ b/include/vcl/printerinfomanager.hxx @@ -145,9 +145,6 @@ public: virtual void setupJobContextData( JobData& rData ); - // changes the info about a named printer - virtual void changePrinterInfo( const OUString& rPrinter, const PrinterInfo& rNewInfo ); - // check if the printer configuration has changed // if bwait is true, then this method waits for eventual asynchronous // printer discovery to finish diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 5d5bd1c2707d..673341c1cf95 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -420,7 +420,6 @@ class VCL_DLLPUBLIC TabitemValue : public ImplControlValue bool isBothAligned() const { return isLeftAligned() && isRightAligned(); } bool isNotAligned() const { return !(mnAlignment & (TabitemFlags::LeftAligned | TabitemFlags::RightAligned)); } bool isFirst() const { return bool(mnAlignment & TabitemFlags::FirstInGroup); } - bool isLast() const { return bool(mnAlignment & TabitemFlags::LastInGroup); } const Rectangle& getContentRect() const { return maContentRect; } }; diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index e01ae4653212..38f7eb0d0b89 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -429,7 +429,6 @@ public: bool GetContextMenuShortcuts() const; void SetPreferredContextMenuShortcuts( bool bContextMenuShortcuts ); - bool GetPreferredContextMenuShortcuts() const; void SetPrimaryButtonWarpsSlider( bool bPrimaryButtonWarpsSlider ); bool GetPrimaryButtonWarpsSlider() const; diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index 211a4e90684c..90b42fdcd6ff 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -178,7 +178,6 @@ public: private: SAL_DLLPRIVATE void ImplMoveToScreen( long& io_rX, long& io_rY, long i_nWidth, long i_nHeight, vcl::Window* i_pConfigureWin ); virtual void setPosSizeOnContainee(Size aSize, Window &rBox); - bool ImplHandleCmdEvent ( const CommandEvent& rCEvent ); DECL_DLLPRIVATE_LINK_TYPED( ImplHandleLayoutTimerHdl, Idle*, void ); protected: diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index e8c5a9295f88..51053e30cd07 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -402,8 +402,6 @@ public: /// Shows or hides items. void ShowItem(sal_uInt16 nItemId, bool bVisible = true); - /// Overload to provide ShowItem via command id. - void ShowItem(const OUString& rCommand, bool bVisible) { ShowItem(GetItemId(rCommand), bVisible); } /// Convenience method to hide items (via ShowItem). void HideItem(sal_uInt16 nItemId) { ShowItem( nItemId, false ); } diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 3324b3d120ce..8397ec2da623 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -94,7 +94,7 @@ inline bool operator ==(const ItalicMatrix& a, const ItalicMatrix& b) inline bool operator !=(const ItalicMatrix& a, const ItalicMatrix& b) { - return a.xx != b.xx || a.xy != b.xy || a.yx != b.yx || a.yy != b.yy; + return !(a == b); } enum class VclAlign |