diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/embeddedobjectcontainer.hxx | 3 | ||||
-rw-r--r-- | include/formula/tokenarray.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/controlwrapper.hxx | 46 | ||||
-rw-r--r-- | include/sfx2/frmdescr.hxx | 7 | ||||
-rw-r--r-- | include/sfx2/templateabstractview.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/templatedlg.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 5 | ||||
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 3 | ||||
-rw-r--r-- | include/svl/zforlist.hxx | 16 | ||||
-rw-r--r-- | include/svtools/colorcfg.hxx | 1 | ||||
-rw-r--r-- | include/svtools/ehdl.hxx | 1 | ||||
-rw-r--r-- | include/svx/dlgctrl.hxx | 1 | ||||
-rw-r--r-- | include/svx/fmtools.hxx | 1 | ||||
-rw-r--r-- | include/tools/line.hxx | 1 | ||||
-rw-r--r-- | include/tools/multisel.hxx | 1 | ||||
-rw-r--r-- | include/tools/stream.hxx | 15 | ||||
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 4 | ||||
-rw-r--r-- | include/vbahelper/vbahelperinterface.hxx | 4 | ||||
-rw-r--r-- | include/vbahelper/vbareturntypes.hxx | 18 | ||||
-rw-r--r-- | include/xmloff/numehelp.hxx | 6 | ||||
-rw-r--r-- | include/xmloff/xmlexp.hxx | 6 |
21 files changed, 0 insertions, 147 deletions
diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index 52dfac39c83f..a54aa2a845fd 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -143,9 +143,6 @@ public: // move an embedded object to another container (keep the persistent name) bool MoveEmbeddedObject( const OUString& rName, EmbeddedObjectContainer& ); - // get the stored representation for the object - css::uno::Reference < css::io::XInputStream > GetObjectStream( const OUString& aName, OUString* pMediaType ); - // get the stored graphical representation for the object css::uno::Reference < css::io::XInputStream > GetGraphicStream( const css::uno::Reference < css::embed::XEmbeddedObject >&, OUString* pMediaType=nullptr ); diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index cd0f430f365c..e14714cc6c15 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -159,7 +159,6 @@ public: /// Assignment with references to FormulaToken entries (not copied!) FormulaTokenArray( const FormulaTokenArray& ); virtual ~FormulaTokenArray(); - FormulaTokenArray* Clone() const; /// True copy! void SetFromRangeName( bool b ) { mbFromRangeName = b; } bool IsFromRangeName() const { return mbFromRangeName; } diff --git a/include/sfx2/controlwrapper.hxx b/include/sfx2/controlwrapper.hxx index 33db87efaad0..be0484e6654c 100644 --- a/include/sfx2/controlwrapper.hxx +++ b/include/sfx2/controlwrapper.hxx @@ -117,10 +117,6 @@ private: | +- EditWrapper [1] | +- ColorListBoxWrapper [1] | | - | +- NumericFieldWrapper< ValueT > [1] - | | | - | | +- [ValueType]NumericFieldWrapper [1] [2] - | | | +- MetricFieldWrapper< ValueT > [1] | | | | | +- [ValueType]MetricFieldWrapper [1] [2] @@ -265,22 +261,6 @@ public: }; -/** A wrapper for the VCL NumericField. */ -template< typename ValueT > -class NumericFieldWrapper : public SingleControlWrapper< NumericField, ValueT > -{ -public: - inline explicit NumericFieldWrapper( NumericField& rField ) : - SingleControlWrapper< NumericField, ValueT >( rField ) {} - - virtual bool IsControlDontKnow() const SAL_OVERRIDE; - virtual void SetControlDontKnow( bool bSet ) SAL_OVERRIDE; - - virtual ValueT GetControlValue() const SAL_OVERRIDE; - virtual void SetControlValue( ValueT nValue ) SAL_OVERRIDE; -}; - - /** A wrapper for the VCL MetricField. Adds support for field units during accessing the control value. The @@ -499,32 +479,6 @@ inline void SingleControlWrapper< ControlT, ValueT >::ModifyControl( TriState eE template< typename ValueT > -bool NumericFieldWrapper< ValueT >::IsControlDontKnow() const -{ - return this->GetControl().GetText().Len() == 0; -} - -template< typename ValueT > -void NumericFieldWrapper< ValueT >::SetControlDontKnow( bool bSet ) -{ - if( bSet ) - this->GetControl().SetText( OUString() ); -} - -template< typename ValueT > -ValueT NumericFieldWrapper< ValueT >::GetControlValue() const -{ - return static_cast< ValueT >( this->GetControl().Denormalize( this->GetControl().GetValue() ) ); -} - -template< typename ValueT > -void NumericFieldWrapper< ValueT >::SetControlValue( ValueT nValue ) -{ - this->GetControl().SetValue( this->GetControl().Normalize( static_cast< sal_Int64 >( nValue ) ) ); -} - - -template< typename ValueT > bool MetricFieldWrapper< ValueT >::IsControlDontKnow() const { return this->GetControl().GetText().isEmpty(); diff --git a/include/sfx2/frmdescr.hxx b/include/sfx2/frmdescr.hxx index dfec93dc57b1..8c884010b900 100644 --- a/include/sfx2/frmdescr.hxx +++ b/include/sfx2/frmdescr.hxx @@ -69,15 +69,11 @@ class SFX2_DLLPUBLIC SfxFrameDescriptor INetURLObject aActualURL; OUString aName; Size aMargin; - long nWidth; ScrollingMode eScroll; - SizeSelector eSizeSelector; bool bHasBorder; bool bHasBorderSet; - sal_uInt16 nItemId; bool bResizeHorizontal; bool bResizeVertical; - bool bHasUI; bool bReadOnly; std::unique_ptr< SfxFrameDescriptor_Impl > pImpl; @@ -130,9 +126,6 @@ public: { return bHasBorderSet; } void ResetBorder() { bHasBorder = false; bHasBorderSet = false; } - - // Copy for example for Views - SfxFrameDescriptor* Clone() const; }; #endif // INCLUDED_SFX2_FRMDESCR_HXX diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx index 903c997abd99..38445864a56a 100644 --- a/include/sfx2/templateabstractview.hxx +++ b/include/sfx2/templateabstractview.hxx @@ -95,9 +95,6 @@ public: const OUString& getCurRegionName () const { return maCurRegionName;} - // Check if the root region is visible or not. - bool isNonRootRegionVisible () const { return mnCurRegionId > 0;} - void setOpenRegionHdl(const Link<void*,void> &rLink); void setRightClickHdl(const Link<ThumbnailViewItem*,void> &rLink); diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index bdae55693f76..8521ca51143d 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -99,10 +99,6 @@ private: void OnCategoryNew (); void OnCategoryDelete(); - void OnRegionState (const ThumbnailViewItem *pItem); - - void OnRepositoryDelete (); - void createRepositoryMenu (); void createDefaultTemplateMenu (); diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index 1cfc8d86f285..654f3d0c37fc 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -51,8 +51,6 @@ public: DECL_LINK_TYPED(ContextMenuSelectHdl, Menu*, bool); - sal_uInt16 getCurRegionItemId () const; - TemplateContainerItem* getRegion(OUString const & sStr); sal_uInt16 getRegionId (size_t pos) const; @@ -81,9 +79,6 @@ public: bool copyFrom (const sal_uInt16 nRegionItemId, const BitmapEx &rThumbnail, const OUString &rPath); - // Import a template to the current region - bool copyFrom (const OUString &rPath); - bool copyFrom(TemplateContainerItem *pItem, const OUString &rPath); bool exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, const OUString &rName); diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index c58ddb99ae4f..96946fa09028 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -228,9 +228,6 @@ public: void filterItems (const std::function<bool (const ThumbnailViewItem*) > &func); - void sortItems (const std::function<bool (const ThumbnailViewItem*, - const ThumbnailViewItem*) > &func); - void setItemStateHdl (const Link<const ThumbnailViewItem*,void> &aLink) { maItemStateHdl = aLink; } virtual void Resize() override; diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index a18354fdf3b6..50e7ea3ca498 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -231,9 +231,6 @@ public: NfCurrencyEntry( const css::i18n::Currency & rCurr, const LocaleDataWrapper& rLocaleData, LanguageType eLang ); - inline NfCurrencyEntry(const OUString& rSymbol, const OUString& rBankSymbol, - LanguageType eLang, sal_uInt16 nPositiveFmt, - sal_uInt16 nNegativeFmt, sal_uInt16 nDig, sal_Unicode cZero); ~NfCurrencyEntry() {} /// Symbols and language identical @@ -282,19 +279,6 @@ public: static inline sal_Unicode GetEuroSymbol() { return sal_Unicode(0x20AC); } }; -/** - * Necessary for ptr_vector on Windows. Please don't remove these, or at - * least check it on Windows before attempting to remove them. - */ -NfCurrencyEntry::NfCurrencyEntry(const OUString& rSymbol, const OUString& rBankSymbol, - LanguageType eLang, sal_uInt16 nPositiveFmt, - sal_uInt16 nNegativeFmt, sal_uInt16 nDig, sal_Unicode cZero) - : aSymbol(rSymbol), aBankSymbol(rBankSymbol), eLanguage(eLang) - , nPositiveFormat(nPositiveFmt), nNegativeFormat(nNegativeFmt) - , nDigits(nDig), cZeroChar(cZero) -{ -} - typedef std::vector< OUString > NfWSStringsDtor; class SvNumberFormatterRegistry_Impl; diff --git a/include/svtools/colorcfg.hxx b/include/svtools/colorcfg.hxx index 99ca1268f872..b5e153b1fff4 100644 --- a/include/svtools/colorcfg.hxx +++ b/include/svtools/colorcfg.hxx @@ -104,7 +104,6 @@ public: // instead of the automatic color ColorConfigValue GetColorValue(ColorConfigEntry eEntry, bool bSmart = true) const; static Color GetDefaultColor(ColorConfigEntry eEntry); - void Reload(); }; class SVT_DLLPUBLIC EditableColorConfig diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx index a6c2286defaa..844c79285caf 100644 --- a/include/svtools/ehdl.hxx +++ b/include/svtools/ehdl.hxx @@ -55,7 +55,6 @@ public: protected: bool GetErrorString(sal_uLong lErrId, OUString &, sal_uInt16&) const; - bool GetMessageString(sal_uLong lErrId, OUString &, sal_uInt16&) const; private: diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 4362ff1b98e7..45d600c84bf2 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -139,7 +139,6 @@ public: bool IsCompletelyDisabled() const { return mbCompleteDisable; } void DoCompletelyDisable(bool bNew); - void SetCS(CTL_STYLE eNew); }; /************************************************************************* diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index e029b9913cda..bd7696a4049c 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -102,7 +102,6 @@ private: public: // Construction/Destruction - CursorWrapper() { } CursorWrapper(const css::uno::Reference< css::sdbc::XRowSet>& _rxCursor, bool bUseCloned = false); SVX_DLLPUBLIC CursorWrapper(const css::uno::Reference< css::sdbc::XResultSet>& _rxCursor, bool bUseCloned = false); // if bUseCloned == sal_True, the cursor is first doubled over the XCloneable interface (which it must implement) diff --git a/include/tools/line.hxx b/include/tools/line.hxx index 8a0486adf3fe..ec023abfc516 100644 --- a/include/tools/line.hxx +++ b/include/tools/line.hxx @@ -32,7 +32,6 @@ private: Point maEnd; public: - Line() {}; Line( const Point& rStartPt, const Point& rEndPt ) : maStart( rStartPt ), maEnd( rEndPt ) {} void SetStart( const Point& rStartPt ) { maStart = rStartPt; } diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 5e5767ae26f9..2a8a656d4189 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -83,7 +83,6 @@ class TOOLS_DLLPUBLIC StringRangeEnumerator sal_Int32 nFirst; sal_Int32 nLast; - Range() : nFirst( -1 ), nLast( -1 ) {} Range( sal_Int32 i_nFirst, sal_Int32 i_nLast ) : nFirst( i_nFirst ), nLast( i_nLast ) {} }; std::vector< StringRangeEnumerator::Range > maSequence; diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index a75341eb107c..c31bc8cc19da 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -138,21 +138,6 @@ public: typedef tools::SvRef<SvLockBytes> SvLockBytesRef; -// SvOpenLockBytes - -class TOOLS_DLLPUBLIC SvOpenLockBytes: public SvLockBytes -{ -public: - - SvOpenLockBytes() : SvLockBytes(nullptr, false) {} - SvOpenLockBytes(SvStream * pStream, bool bOwner): - SvLockBytes(pStream, bOwner) {} - - virtual ErrCode FillAppend(const void * pBuffer, sal_Size nCount, - sal_Size * pWritten) = 0; -}; - - // SvStream class TOOLS_DLLPUBLIC SvStream diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index fd792082dde3..3b3fc02bb113 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -81,10 +81,6 @@ class VBAHELPER_DLLPUBLIC SimpleEnumerationBase : public EnumerationHelper_BASE { public: explicit SimpleEnumerationBase( - const css::uno::Reference< css::container::XEnumeration >& rxEnumeration ) throw (css::uno::RuntimeException) : - mxEnumeration( rxEnumeration ) {} - - explicit SimpleEnumerationBase( const css::uno::Reference< css::container::XIndexAccess >& rxIndexAccess ) throw (css::uno::RuntimeException) : mxEnumeration( new SimpleIndexAccessToEnumeration( rxIndexAccess ) ) {} diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx index 7e1b5f3b75b6..35f5146f3c54 100644 --- a/include/vbahelper/vbahelperinterface.hxx +++ b/include/vbahelper/vbahelperinterface.hxx @@ -58,8 +58,6 @@ protected: css::uno::WeakReference< ov::XHelperInterface > mxParent; css::uno::Reference< css::uno::XComponentContext > mxContext; public: - InheritedHelperInterfaceImpl() {} - InheritedHelperInterfaceImpl( const css::uno::Reference< css::uno::XComponentContext >& xContext ) : mxContext( xContext ) {} InheritedHelperInterfaceImpl( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ) : mxParent( xParent ), mxContext( xContext ) {} virtual OUString getServiceImplName() = 0; virtual css::uno::Sequence<OUString> getServiceNames() = 0; @@ -102,8 +100,6 @@ class SAL_DLLPUBLIC_TEMPLATE InheritedHelperInterfaceWeakImpl : public Inherited { typedef InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > Base; public: - InheritedHelperInterfaceWeakImpl< Ifc... >() {} - InheritedHelperInterfaceWeakImpl< Ifc... >( const css::uno::Reference< css::uno::XComponentContext >& xContext ) : Base( xContext ) {} InheritedHelperInterfaceWeakImpl< Ifc... >( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ) : Base( xParent, xContext ) {} }; diff --git a/include/vbahelper/vbareturntypes.hxx b/include/vbahelper/vbareturntypes.hxx index cc759c32742b..7da0808588a6 100644 --- a/include/vbahelper/vbareturntypes.hxx +++ b/include/vbahelper/vbareturntypes.hxx @@ -51,24 +51,6 @@ namespace ooo ReturnInteger( sal_Int32 nValue ) : ReturnInteger_BASE( nValue ){} }; - typedef DefaultReturnHelper< sal_Bool, ov::msforms::XReturnBoolean > ReturnBoolean_BASE; - class ReturnBoolean : public ReturnBoolean_BASE - { - public: - ReturnBoolean( bool bValue ) : ReturnBoolean_BASE( bValue ){} - }; - typedef DefaultReturnHelper< float, ov::msforms::XReturnSingle > ReturnSingle_BASE; - class ReturnSingle : public ReturnSingle_BASE - { - public: - ReturnSingle( float nValue ) : ReturnSingle_BASE( nValue ){} - }; - typedef DefaultReturnHelper< short, ov::msforms::XReturnEffect > ReturnEffect_BASE; - class ReturnEffect : public ReturnEffect_BASE - { - public: - ReturnEffect( short nValue ) : ReturnEffect_BASE( nValue ){} - }; } // vba } // ooo diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx index 060708f6f16b..077ea02a6dba 100644 --- a/include/xmloff/numehelp.hxx +++ b/include/xmloff/numehelp.hxx @@ -37,12 +37,6 @@ struct XMLNumberFormat sal_Int32 nNumberFormat; sal_Int16 nType; bool bIsStandard : 1; - XMLNumberFormat() - : nNumberFormat(0) - , nType(0) - , bIsStandard(false) - { - } XMLNumberFormat(const OUString& sTempCurrency, sal_Int32 nTempFormat) : sCurrency(sTempCurrency) diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 41e8ddd8d417..48aebd413bfc 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -238,12 +238,6 @@ protected: ::xmloff::token::XMLTokenEnum eGroupName; css::uno::Sequence< css::beans::PropertyValue > aSettings; - SettingsGroup() - :eGroupName( ::xmloff::token::XML_TOKEN_INVALID ) - ,aSettings() - { - } - SettingsGroup( const ::xmloff::token::XMLTokenEnum _eGroupName, const css::uno::Sequence< css::beans::PropertyValue >& _rSettings ) |