summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-08 09:21:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-08 09:47:35 +0100
commitefdd215124df0ab98a33525ac01a9d8ff4a542d4 (patch)
treed53f78ab948f71af2c3a23b4d788decf84c80772 /include
parentc5a96b5d3d2a40ab202acc1559c361712d8ffe32 (diff)
callcatcher: update unused code
Change-Id: I8563922204d3ec93bf138cbd1aaba620c0215bf7
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/dbtools.hxx2
-rw-r--r--include/sfx2/mnuitem.hxx24
-rw-r--r--include/sot/stg.hxx2
-rw-r--r--include/svx/dlgctrl.hxx1
4 files changed, 5 insertions, 24 deletions
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx
index 77ed4fd592d1..02b3f0660290 100644
--- a/include/connectivity/dbtools.hxx
+++ b/include/connectivity/dbtools.hxx
@@ -302,8 +302,6 @@ namespace dbtools
/** create a new ::com::sun::star::sdbc::SQLContext, fill it with the given descriptions and the given source,
and <i>append</i> _rException (i.e. put it into the NextException member of the SQLContext).
*/
- OOO_DLLPUBLIC_DBTOOLS ::com::sun::star::sdb::SQLContext prependContextInfo(const ::com::sun::star::sdbc::SQLException& _rException, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxContext, const OUString& _rContextDescription, const OUString& _rContextDetails );
-
OOO_DLLPUBLIC_DBTOOLS
::com::sun::star::sdbc::SQLException prependErrorInfo(
const ::com::sun::star::sdbc::SQLException& _rChainedException,
diff --git a/include/sfx2/mnuitem.hxx b/include/sfx2/mnuitem.hxx
index 0d40854922a5..8e5e0cdcc1ef 100644
--- a/include/sfx2/mnuitem.hxx
+++ b/include/sfx2/mnuitem.hxx
@@ -120,27 +120,13 @@ inline SfxVirtualMenu* SfxMenuControl::GetPopupMenu() const
{ SfxMenuControl::RegisterMenuControl( pMod, new SfxMenuCtrlFactory( \
Class::CreateImpl, TYPE(nItemClass), nSlotId ) ); }
-class SfxAppMenuControl_Impl : public SfxMenuControl
+struct ExecuteInfo
{
- PopupMenu* pMenu;
- OUString m_sIconTheme;
- bool m_bShowMenuImages;
+ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch;
+ ::com::sun::star::util::URL aTargetURL;
+ ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aArgs;
-protected:
- DECL_LINK_TYPED( Activate, Menu *, bool ); // Needed to support high contrast images
-
-public:
- SfxAppMenuControl_Impl( sal_uInt16 nPos, Menu& rMenu, SfxBindings& rBindings );
- virtual ~SfxAppMenuControl_Impl();
-
- struct ExecuteInfo
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch;
- ::com::sun::star::util::URL aTargetURL;
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aArgs;
- };
-
- DECL_STATIC_LINK( SfxAppMenuControl_Impl, ExecuteHdl_Impl, ExecuteInfo* );
+ DECL_STATIC_LINK( ExecuteInfo, ExecuteHdl_Impl, ExecuteInfo* );
};
#endif
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index a6be7ce132fe..5f4ba36d7b4b 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -284,9 +284,7 @@ protected:
virtual ~UCBStorage();
public:
static bool IsStorageFile( SvStream* );
- static bool IsDiskSpannedFile( SvStream* );
static OUString GetLinkedFile( SvStream& );
- static OUString CreateLinkFile( const OUString& rName );
UCBStorage( const ::ucbhelper::Content& rContent, const OUString& rName, StreamMode nMode, bool bDirect = true, bool bIsRoot = true );
UCBStorage( const OUString& rName,
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index 076f4c16ba25..1c8e71a756f5 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -303,7 +303,6 @@ private:
public:
FillAttrLB( vcl::Window* pParent, WinBits aWB );
- void Fill( const XColorListRef &pList );
void Fill( const XHatchListRef &pList );
void Fill( const XGradientListRef &pList );
void Fill( const XBitmapListRef &pList );