summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/controlwrapper.hxx46
-rw-r--r--include/sfx2/frmdescr.hxx7
-rw-r--r--include/sfx2/templateabstractview.hxx3
-rw-r--r--include/sfx2/templatedlg.hxx4
-rw-r--r--include/sfx2/templatelocalview.hxx5
-rw-r--r--include/sfx2/thumbnailview.hxx3
6 files changed, 0 insertions, 68 deletions
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;