summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-22 09:48:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-22 13:11:34 +0100
commit1a2c28cf0dabd1b84d7130186f562de82cb1ca82 (patch)
treef54172eb3951868da972602acf12c8f91672f87b /include
parentf5fc81616ccf45edd180cfb8c7002eb50284f90d (diff)
callcatcher: update unused code
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
Diffstat (limited to 'include')
-rw-r--r--include/rsc/rscsfx.hxx2
-rw-r--r--include/sfx2/app.hxx1
-rw-r--r--include/sfx2/templdlg.hxx30
-rw-r--r--include/svx/dbtoolsclient.hxx10
4 files changed, 6 insertions, 37 deletions
diff --git a/include/rsc/rscsfx.hxx b/include/rsc/rscsfx.hxx
index 43f6149ef450..cc6a23fea579 100644
--- a/include/rsc/rscsfx.hxx
+++ b/include/rsc/rscsfx.hxx
@@ -37,7 +37,7 @@ enum SfxStyleFamily { SFX_STYLE_FAMILY_CHAR = 1,
};
-// SfxTemplateDialog
+// SfxTemplate
#define RSC_SFX_STYLE_ITEM_LIST 0x1
#define RSC_SFX_STYLE_ITEM_BITMAP 0x2
#define RSC_SFX_STYLE_ITEM_TEXT 0x4
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 5993561ac0fe..ee63e4043487 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -71,7 +71,6 @@ class SfxProgress;
class SfxSlotPool;
typedef boost::ptr_vector<SfxStbCtrlFactory> SfxStbCtrlFactArr_Impl;
typedef boost::ptr_vector<SfxTbxCtrlFactory> SfxTbxCtrlFactArr_Impl;
-class SfxTemplateDialog;
class SfxViewFrame;
typedef ::std::vector<SfxViewFrame*> SfxViewFrameArr_Impl;
class SfxViewShell;
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 6e6ed778ddb1..91fbb9af50b2 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -28,36 +28,17 @@
#include <sfx2/childwin.hxx>
#include <sfx2/basedlgs.hxx>
-class SfxTemplateDialog_Impl;
-
-// class SfxTemplateDialog -----------------------------------------------
-class SfxTemplateDialog : public SfxDockingWindow
+namespace SfxTemplate
{
-private:
-friend class SfxTemplateDialog_Impl;
-
- SfxTemplateDialog_Impl* pImpl;
-
- virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE;
- virtual void Resize() SAL_OVERRIDE;
- virtual SfxChildAlignment CheckAlignment( SfxChildAlignment, SfxChildAlignment ) SAL_OVERRIDE;
- virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
-
-public:
- SfxTemplateDialog( SfxBindings*, SfxChildWindow*, vcl::Window* );
- virtual ~SfxTemplateDialog();
-
- virtual void Update();
-
// converts from SFX_STYLE_FAMILY Ids to 1-5
- static sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily);
+ sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily);
// converts from 1-5 to SFX_STYLE_FAMILY Ids
- static SfxStyleFamily SFX2_DLLPUBLIC NIdToSfxFamilyId(sal_uInt16 nId);
-};
+ SfxStyleFamily SFX2_DLLPUBLIC NIdToSfxFamilyId(sal_uInt16 nId);
+}
+class SfxTemplateDialog_Impl;
// class SfxTemplatePanelControl -----------------------------------------
-
class SFX2_DLLPUBLIC SfxTemplatePanelControl : public DockingWindow
{
public:
@@ -76,7 +57,6 @@ private:
SfxBindings* mpBindings;
};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/dbtoolsclient.hxx b/include/svx/dbtoolsclient.hxx
index 7888b0ac876b..5905ecd30680 100644
--- a/include/svx/dbtoolsclient.hxx
+++ b/include/svx/dbtoolsclient.hxx
@@ -108,16 +108,6 @@ namespace svxform
const ::com::sun::star::lang::Locale& _rLocale
) const;
- OUString quoteName(
- const OUString& _rQuote,
- const OUString& _rName
- ) const;
-
- OUString composeTableNameForSelect(
- const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _xTable
- ) const;
-
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource > getDataSource(
const OUString& _rsRegisteredName,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext