summaryrefslogtreecommitdiffstats
path: root/ucb/source/ucp/tdoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 11:36:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 06:24:23 +0000
commit98b77ad1e6acbbdda4843a4b57c1185d53884581 (patch)
tree15dd478a0e7fbdb56f8b45cf0ce732d244b28a8a /ucb/source/ucp/tdoc
parenttdf#103083 - EDITING: Cut and Paste changes bullet point formatting (diff)
downloadcore-98b77ad1e6acbbdda4843a4b57c1185d53884581.tar.gz
core-98b77ad1e6acbbdda4843a4b57c1185d53884581.zip
loplugin:expandablemethods in UnoControls..vbahelper
Change-Id: Iec2c5e13119d97c9ca87e083c0f7cb00227e5231 Reviewed-on: https://gerrit.libreoffice.org/29997 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_stgelems.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_stgelems.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.cxx b/ucb/source/ucp/tdoc/tdoc_stgelems.cxx
index 5007c9ac8e59..4eb418dba25c 100644
--- a/ucb/source/ucp/tdoc/tdoc_stgelems.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_stgelems.cxx
@@ -119,7 +119,7 @@ Storage::~Storage()
m_xAggProxy->setDelegator( uno::Reference< uno::XInterface >() );
// Never dispose a document storage. Not owner!
- if ( !isDocumentStorage() )
+ if ( !m_bIsDocumentStorage )
{
if ( m_xWrappedComponent.is() )
{
diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
index 30c3cff93e79..4b7c370fb42f 100644
--- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
@@ -81,8 +81,6 @@ public:
const css::uno::Reference< css::embed::XStorage > & xStorageToWrap );
virtual ~Storage() override;
- bool isDocumentStorage() const { return m_bIsDocumentStorage; }
-
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType )