summaryrefslogtreecommitdiff
path: root/svtools/source/uno
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /svtools/source/uno
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'svtools/source/uno')
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx8
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx6
-rw-r--r--svtools/source/uno/unoiface.cxx4
3 files changed, 1 insertions, 17 deletions
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index 81c70292140c..fd02c9dc561b 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -674,15 +674,7 @@ void ToolboxController::updateStatus( const OUString& aCommandURL )
}
}
-Reference< XURLTransformer > ToolboxController::getURLTransformer() const
-{
- return m_xUrlTransformer;
-}
-Reference< ::com::sun::star::awt::XWindow > ToolboxController::getParent() const
-{
- return m_xParentWindow;
-}
void ToolboxController::dispatchCommand( const OUString& sCommandURL, const Sequence< PropertyValue >& rArgs, const OUString &sTarget )
{
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index ccce5deb75e6..90f0c7d4aeb3 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -112,7 +112,7 @@ public:
virtual ~UnoTreeListItem();
void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* ) SAL_OVERRIDE;
void SetImage( const Image& rImage );
- OUString GetGraphicURL() const;
+ OUString GetGraphicURL() const { return maGraphicURL;}
void SetGraphicURL( const OUString& rGraphicURL );
virtual void Paint(
const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE;
@@ -1643,10 +1643,6 @@ void UnoTreeListItem::SetImage( const Image& rImage )
-OUString UnoTreeListItem::GetGraphicURL() const
-{
- return maGraphicURL;
-}
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 93b63da6c6d1..bcd9083e99a9 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -1287,10 +1287,6 @@ void SVTXFormattedField::SetValue(const ::com::sun::star::uno::Any& rValue)
}
-::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > SVTXFormattedField::getFormatsSupplier(void) const
-{
- return ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > ((::com::sun::star::util::XNumberFormatsSupplier*)m_pCurrentSupplier);
-}
void SVTXFormattedField::setFormatsSupplier(const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > & xSupplier)