loplugin:unusedfields
make it a little smarter in dealing with fields that are smart pointers Change-Id: I44072105170882dc29fb19558f1065cffc7e5f11 Reviewed-on: https://gerrit.libreoffice.org/37751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
8a01fc2f50
commit
fd00bd0f69
@ -43,9 +43,8 @@ using namespace ::com::sun::star;
|
|||||||
namespace cairocanvas
|
namespace cairocanvas
|
||||||
{
|
{
|
||||||
Canvas::Canvas( const uno::Sequence< uno::Any >& aArguments,
|
Canvas::Canvas( const uno::Sequence< uno::Any >& aArguments,
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext ) :
|
const uno::Reference< uno::XComponentContext >& /*rxContext*/ ) :
|
||||||
maArguments(aArguments),
|
maArguments(aArguments)
|
||||||
mxComponentContext( rxContext )
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,8 +114,6 @@ namespace cairocanvas
|
|||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
|
|
||||||
mxComponentContext.clear();
|
|
||||||
|
|
||||||
// forward to parent
|
// forward to parent
|
||||||
CanvasBaseT::disposeThis();
|
CanvasBaseT::disposeThis();
|
||||||
}
|
}
|
||||||
|
@ -140,7 +140,6 @@ namespace cairocanvas
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
css::uno::Sequence< css::uno::Any > maArguments;
|
css::uno::Sequence< css::uno::Any > maArguments;
|
||||||
css::uno::Reference< css::uno::XComponentContext > mxComponentContext;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef ::rtl::Reference< Canvas > CanvasRef;
|
typedef ::rtl::Reference< Canvas > CanvasRef;
|
||||||
|
@ -41,9 +41,8 @@ using namespace ::com::sun::star;
|
|||||||
namespace cairocanvas
|
namespace cairocanvas
|
||||||
{
|
{
|
||||||
SpriteCanvas::SpriteCanvas( const uno::Sequence< uno::Any >& aArguments,
|
SpriteCanvas::SpriteCanvas( const uno::Sequence< uno::Any >& aArguments,
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext ) :
|
const uno::Reference< uno::XComponentContext >& /*rxContext*/ ) :
|
||||||
maArguments(aArguments),
|
maArguments(aArguments)
|
||||||
mxComponentContext( rxContext )
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,8 +108,6 @@ namespace cairocanvas
|
|||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
|
|
||||||
mxComponentContext.clear();
|
|
||||||
|
|
||||||
// forward to parent
|
// forward to parent
|
||||||
SpriteCanvasBaseT::disposeThis();
|
SpriteCanvasBaseT::disposeThis();
|
||||||
}
|
}
|
||||||
|
@ -151,7 +151,6 @@ namespace cairocanvas
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
css::uno::Sequence< css::uno::Any > maArguments;
|
css::uno::Sequence< css::uno::Any > maArguments;
|
||||||
css::uno::Reference< css::uno::XComponentContext > mxComponentContext;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef ::rtl::Reference< SpriteCanvas > SpriteCanvasRef;
|
typedef ::rtl::Reference< SpriteCanvas > SpriteCanvasRef;
|
||||||
|
@ -34,9 +34,8 @@ namespace sdecl = comphelper::service_decl;
|
|||||||
namespace oglcanvas
|
namespace oglcanvas
|
||||||
{
|
{
|
||||||
SpriteCanvas::SpriteCanvas( const uno::Sequence< uno::Any >& aArguments,
|
SpriteCanvas::SpriteCanvas( const uno::Sequence< uno::Any >& aArguments,
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext ) :
|
const uno::Reference< uno::XComponentContext >& /*rxContext*/ ) :
|
||||||
maArguments(aArguments),
|
maArguments(aArguments)
|
||||||
mxComponentContext( rxContext )
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,8 +81,6 @@ namespace oglcanvas
|
|||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
|
|
||||||
mxComponentContext.clear();
|
|
||||||
|
|
||||||
// forward to parent
|
// forward to parent
|
||||||
SpriteCanvasBaseT::disposeThis();
|
SpriteCanvasBaseT::disposeThis();
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,6 @@ namespace oglcanvas
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
css::uno::Sequence< css::uno::Any > maArguments;
|
css::uno::Sequence< css::uno::Any > maArguments;
|
||||||
css::uno::Reference< css::uno::XComponentContext > mxComponentContext;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef ::rtl::Reference< SpriteCanvas > SpriteCanvasRef;
|
typedef ::rtl::Reference< SpriteCanvas > SpriteCanvasRef;
|
||||||
|
@ -65,9 +65,8 @@ namespace vclcanvas
|
|||||||
}
|
}
|
||||||
|
|
||||||
Canvas::Canvas( const uno::Sequence< uno::Any >& aArguments,
|
Canvas::Canvas( const uno::Sequence< uno::Any >& aArguments,
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext ) :
|
const uno::Reference< uno::XComponentContext >& /*rxContext*/ ) :
|
||||||
maArguments(aArguments),
|
maArguments(aArguments)
|
||||||
mxComponentContext( rxContext )
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,8 +120,6 @@ namespace vclcanvas
|
|||||||
{
|
{
|
||||||
SolarMutexGuard aGuard;
|
SolarMutexGuard aGuard;
|
||||||
|
|
||||||
mxComponentContext.clear();
|
|
||||||
|
|
||||||
// forward to parent
|
// forward to parent
|
||||||
CanvasBaseT::disposeThis();
|
CanvasBaseT::disposeThis();
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,6 @@ namespace vclcanvas
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
css::uno::Sequence< css::uno::Any > maArguments;
|
css::uno::Sequence< css::uno::Any > maArguments;
|
||||||
css::uno::Reference< css::uno::XComponentContext > mxComponentContext;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef ::rtl::Reference< Canvas > CanvasRef;
|
typedef ::rtl::Reference< Canvas > CanvasRef;
|
||||||
|
@ -42,9 +42,8 @@ using namespace ::com::sun::star;
|
|||||||
namespace vclcanvas
|
namespace vclcanvas
|
||||||
{
|
{
|
||||||
SpriteCanvas::SpriteCanvas( const uno::Sequence< uno::Any >& aArguments,
|
SpriteCanvas::SpriteCanvas( const uno::Sequence< uno::Any >& aArguments,
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext ) :
|
const uno::Reference< uno::XComponentContext >& /*rxContext*/ ) :
|
||||||
maArguments(aArguments),
|
maArguments(aArguments)
|
||||||
mxComponentContext( rxContext )
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -113,8 +112,6 @@ namespace vclcanvas
|
|||||||
{
|
{
|
||||||
SolarMutexGuard aGuard;
|
SolarMutexGuard aGuard;
|
||||||
|
|
||||||
mxComponentContext.clear();
|
|
||||||
|
|
||||||
// forward to parent
|
// forward to parent
|
||||||
SpriteCanvasBaseT::disposeThis();
|
SpriteCanvasBaseT::disposeThis();
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,6 @@ namespace vclcanvas
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
css::uno::Sequence< css::uno::Any > maArguments;
|
css::uno::Sequence< css::uno::Any > maArguments;
|
||||||
css::uno::Reference< css::uno::XComponentContext > mxComponentContext;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef ::rtl::Reference< SpriteCanvas > SpriteCanvasRef;
|
typedef ::rtl::Reference< SpriteCanvas > SpriteCanvasRef;
|
||||||
|
@ -259,6 +259,11 @@ bool UnusedFields::VisitMemberExpr( const MemberExpr* memberExpr )
|
|||||||
if (startswith(name, "read") || name.find(">>=") != std::string::npos)
|
if (startswith(name, "read") || name.find(">>=") != std::string::npos)
|
||||||
// this is a write-only call
|
// this is a write-only call
|
||||||
;
|
;
|
||||||
|
else if (name == "clear" || name == "dispose" || name == "clearAndDispose" || name == "swap")
|
||||||
|
// we're abusing the write-only analysis here to look for fields which don't have anything useful
|
||||||
|
// being done to them, so we're ignoreing things like std::vector::clear, vector::swap,
|
||||||
|
// and VclPtr::clearAndDispose
|
||||||
|
;
|
||||||
else
|
else
|
||||||
bPotentiallyReadFrom = true;
|
bPotentiallyReadFrom = true;
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,36 @@ compilerplugins/clang/test/unnecessaryoverride-dtor.hxx:42
|
|||||||
IncludedDerived3 m rtl::Reference<Incomplete>
|
IncludedDerived3 m rtl::Reference<Incomplete>
|
||||||
connectivity/source/drivers/mork/MDatabaseMetaData.hxx:29
|
connectivity/source/drivers/mork/MDatabaseMetaData.hxx:29
|
||||||
connectivity::mork::ODatabaseMetaData m_pMetaDataHelper std::unique_ptr<MDatabaseMetaDataHelper>
|
connectivity::mork::ODatabaseMetaData m_pMetaDataHelper std::unique_ptr<MDatabaseMetaDataHelper>
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:31
|
||||||
|
connectivity::OTypeInfo aTypeName class rtl::OUString
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:32
|
||||||
|
connectivity::OTypeInfo aLiteralPrefix class rtl::OUString
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:33
|
||||||
|
connectivity::OTypeInfo aLiteralSuffix class rtl::OUString
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:34
|
||||||
|
connectivity::OTypeInfo aCreateParams class rtl::OUString
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:35
|
||||||
|
connectivity::OTypeInfo aLocalTypeName class rtl::OUString
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:37
|
||||||
|
connectivity::OTypeInfo nPrecision sal_Int32
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:39
|
||||||
|
connectivity::OTypeInfo nMaximumScale sal_Int16
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:40
|
||||||
|
connectivity::OTypeInfo nMinimumScale sal_Int16
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:43
|
||||||
|
connectivity::OTypeInfo nSearchType sal_Int16
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:44
|
||||||
|
connectivity::OTypeInfo nNumPrecRadix sal_Int16
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:46
|
||||||
|
connectivity::OTypeInfo bCurrency _Bool
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:47
|
||||||
|
connectivity::OTypeInfo bAutoIncrement _Bool
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:48
|
||||||
|
connectivity::OTypeInfo bNullable _Bool
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:49
|
||||||
|
connectivity::OTypeInfo bCaseSensitive _Bool
|
||||||
|
connectivity/source/inc/OTypeInfo.hxx:50
|
||||||
|
connectivity::OTypeInfo bUnsigned _Bool
|
||||||
cppu/source/threadpool/threadpool.cxx:377
|
cppu/source/threadpool/threadpool.cxx:377
|
||||||
_uno_ThreadPool dummy sal_Int32
|
_uno_ThreadPool dummy sal_Int32
|
||||||
cppu/source/typelib/typelib.cxx:61
|
cppu/source/typelib/typelib.cxx:61
|
||||||
@ -54,6 +84,10 @@ extensions/source/propctrlr/propertyhandler.hxx:80
|
|||||||
pcr::PropertyHandler m_aEnsureResAccess class pcr::PcrClient
|
pcr::PropertyHandler m_aEnsureResAccess class pcr::PcrClient
|
||||||
extensions/source/scanner/scanner.hxx:46
|
extensions/source/scanner/scanner.hxx:46
|
||||||
ScannerManager maProtector osl::Mutex
|
ScannerManager maProtector osl::Mutex
|
||||||
|
filter/source/xsltdialog/xmlfiltersettingsdialog.hxx:71
|
||||||
|
XMLFilterListBox m_aEnsureResMgr class EnsureResMgr
|
||||||
|
filter/source/xsltdialog/xmlfiltersettingsdialog.hxx:130
|
||||||
|
XMLFilterSettingsDialog maEnsureResMgr class EnsureResMgr
|
||||||
framework/inc/dispatch/oxt_handler.hxx:95
|
framework/inc/dispatch/oxt_handler.hxx:95
|
||||||
framework::Oxt_Handler m_xSelfHold css::uno::Reference<css::uno::XInterface>
|
framework::Oxt_Handler m_xSelfHold css::uno::Reference<css::uno::XInterface>
|
||||||
include/comphelper/MasterPropertySet.hxx:38
|
include/comphelper/MasterPropertySet.hxx:38
|
||||||
@ -131,7 +165,7 @@ sfx2/source/doc/doctempl.cxx:119
|
|||||||
starmath/inc/view.hxx:224
|
starmath/inc/view.hxx:224
|
||||||
SmViewShell maGraphicController class SmGraphicController
|
SmViewShell maGraphicController class SmGraphicController
|
||||||
svtools/source/svhtml/htmlkywd.cxx:558
|
svtools/source/svhtml/htmlkywd.cxx:558
|
||||||
HTML_OptionEntry union HTML_OptionEntry::(anonymous at /home/noel/libo/svtools/source/svhtml/htmlkywd.cxx:558:5)
|
HTML_OptionEntry union HTML_OptionEntry::(anonymous at /home/noel/libo2/svtools/source/svhtml/htmlkywd.cxx:558:5)
|
||||||
svtools/source/svhtml/htmlkywd.cxx:560
|
svtools/source/svhtml/htmlkywd.cxx:560
|
||||||
HTML_OptionEntry::(anonymous) sToken const sal_Char *
|
HTML_OptionEntry::(anonymous) sToken const sal_Char *
|
||||||
svtools/source/svhtml/htmlkywd.cxx:561
|
svtools/source/svhtml/htmlkywd.cxx:561
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -45,12 +45,6 @@ void OTables::impl_refresh( )
|
|||||||
static_cast<OFileCatalog&>(m_rParent).refreshTables();
|
static_cast<OFileCatalog&>(m_rParent).refreshTables();
|
||||||
}
|
}
|
||||||
|
|
||||||
void OTables::disposing()
|
|
||||||
{
|
|
||||||
m_xMetaData.clear();
|
|
||||||
OCollection::disposing();
|
|
||||||
}
|
|
||||||
|
|
||||||
Any SAL_CALL OTables::queryInterface( const Type & rType )
|
Any SAL_CALL OTables::queryInterface( const Type & rType )
|
||||||
{
|
{
|
||||||
if( rType == cppu::UnoType<XColumnLocate>::get()||
|
if( rType == cppu::UnoType<XColumnLocate>::get()||
|
||||||
|
@ -101,7 +101,6 @@ void java_sql_ResultSet::disposing()
|
|||||||
OPropertySetHelper::disposing();
|
OPropertySetHelper::disposing();
|
||||||
|
|
||||||
::osl::MutexGuard aGuard(m_aMutex);
|
::osl::MutexGuard aGuard(m_aMutex);
|
||||||
m_xMetaData.clear();
|
|
||||||
if( object )
|
if( object )
|
||||||
{
|
{
|
||||||
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java enviroment has been deleted!");
|
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java enviroment has been deleted!");
|
||||||
|
@ -32,20 +32,14 @@ namespace connectivity
|
|||||||
public sdbcx::OCollection
|
public sdbcx::OCollection
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData;
|
|
||||||
|
|
||||||
virtual sdbcx::ObjectType createObject(const OUString& _rName) override;
|
virtual sdbcx::ObjectType createObject(const OUString& _rName) override;
|
||||||
virtual void impl_refresh() override;
|
virtual void impl_refresh() override;
|
||||||
public:
|
public:
|
||||||
OTables(const css::uno::Reference< css::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
|
OTables(const css::uno::Reference< css::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
|
||||||
const TStringVector &_rVector) : sdbcx::OCollection(_rParent,_rMetaData->supportsMixedCaseQuotedIdentifiers(),_rMutex,_rVector)
|
const TStringVector &_rVector) : sdbcx::OCollection(_rParent,_rMetaData->supportsMixedCaseQuotedIdentifiers(),_rMutex,_rVector)
|
||||||
,m_xMetaData(_rMetaData)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
|
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
|
||||||
|
|
||||||
// only the name is identical to ::cppu::OComponentHelper
|
|
||||||
virtual void SAL_CALL disposing() override;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ namespace connectivity
|
|||||||
public ::comphelper::OPropertyArrayUsageHelper<java_sql_ResultSet>
|
public ::comphelper::OPropertyArrayUsageHelper<java_sql_ResultSet>
|
||||||
{
|
{
|
||||||
css::uno::Reference< css::uno::XInterface> m_xStatement;
|
css::uno::Reference< css::uno::XInterface> m_xStatement;
|
||||||
css::uno::Reference< css::sdbc::XResultSetMetaData> m_xMetaData;
|
|
||||||
java::sql::ConnectionLog m_aLogger;
|
java::sql::ConnectionLog m_aLogger;
|
||||||
java_sql_Connection* m_pConnection;
|
java_sql_Connection* m_pConnection;
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ IconChoicePage::IconChoicePage( vcl::Window *pParent, const OString& rID,
|
|||||||
const SfxItemSet* pItemSet )
|
const SfxItemSet* pItemSet )
|
||||||
: TabPage ( pParent, rID, rUIXMLDescription ),
|
: TabPage ( pParent, rID, rUIXMLDescription ),
|
||||||
pSet ( pItemSet ),
|
pSet ( pItemSet ),
|
||||||
bHasExchangeSupport ( false ),
|
bHasExchangeSupport ( false )
|
||||||
pDialog ( nullptr )
|
|
||||||
{
|
{
|
||||||
SetStyle ( GetStyle() | WB_DIALOGCONTROL | WB_HIDE );
|
SetStyle ( GetStyle() | WB_DIALOGCONTROL | WB_HIDE );
|
||||||
}
|
}
|
||||||
@ -57,12 +56,6 @@ IconChoicePage::~IconChoicePage()
|
|||||||
disposeOnce();
|
disposeOnce();
|
||||||
}
|
}
|
||||||
|
|
||||||
void IconChoicePage::dispose()
|
|
||||||
{
|
|
||||||
pDialog.clear();
|
|
||||||
TabPage::dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
|
|
||||||
| Activate / Deaktivate
|
| Activate / Deaktivate
|
||||||
|
@ -606,7 +606,6 @@ class SvxPatternTabPage : public SvxTabPage
|
|||||||
using TabPage::DeactivatePage;
|
using TabPage::DeactivatePage;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
VclPtr<VclBox> m_pBxPixelEditor;
|
|
||||||
VclPtr<SvxPixelCtl> m_pCtlPixel;
|
VclPtr<SvxPixelCtl> m_pCtlPixel;
|
||||||
VclPtr<SvxColorListBox> m_pLbColor;
|
VclPtr<SvxColorListBox> m_pLbColor;
|
||||||
VclPtr<SvxColorListBox> m_pLbBackgroundColor;
|
VclPtr<SvxColorListBox> m_pLbBackgroundColor;
|
||||||
@ -614,7 +613,6 @@ private:
|
|||||||
VclPtr<SvxXRectPreview> m_pCtlPreview;
|
VclPtr<SvxXRectPreview> m_pCtlPreview;
|
||||||
VclPtr<PushButton> m_pBtnAdd;
|
VclPtr<PushButton> m_pBtnAdd;
|
||||||
VclPtr<PushButton> m_pBtnModify;
|
VclPtr<PushButton> m_pBtnModify;
|
||||||
VclPtr<PushButton> m_pBtnDelete;
|
|
||||||
|
|
||||||
SvxBitmapCtl* m_pBitmapCtl;
|
SvxBitmapCtl* m_pBitmapCtl;
|
||||||
|
|
||||||
|
@ -63,7 +63,6 @@ private:
|
|||||||
const SfxItemSet* pSet;
|
const SfxItemSet* pSet;
|
||||||
OUString aUserString;
|
OUString aUserString;
|
||||||
bool bHasExchangeSupport;
|
bool bHasExchangeSupport;
|
||||||
VclPtr<IconChoiceDialog> pDialog;
|
|
||||||
|
|
||||||
void ImplInitSettings();
|
void ImplInitSettings();
|
||||||
|
|
||||||
@ -75,7 +74,6 @@ protected:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~IconChoicePage() override;
|
virtual ~IconChoicePage() override;
|
||||||
virtual void dispose() override;
|
|
||||||
|
|
||||||
const SfxItemSet& GetItemSet() const { return *pSet; }
|
const SfxItemSet& GetItemSet() const { return *pSet; }
|
||||||
|
|
||||||
|
@ -151,9 +151,7 @@ void SvxPatternTabPage::dispose()
|
|||||||
m_pCtlPreview.clear();
|
m_pCtlPreview.clear();
|
||||||
m_pBtnAdd.clear();
|
m_pBtnAdd.clear();
|
||||||
m_pBtnModify.clear();
|
m_pBtnModify.clear();
|
||||||
m_pBxPixelEditor.clear();
|
|
||||||
m_pPatternLB.clear();
|
m_pPatternLB.clear();
|
||||||
m_pBtnDelete.clear();
|
|
||||||
SvxTabPage::dispose();
|
SvxTabPage::dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,9 +45,6 @@ namespace dbaui
|
|||||||
VclPtr<Edit> m_pEdKeyName;
|
VclPtr<Edit> m_pEdKeyName;
|
||||||
sal_Int16 m_nOldOperation;
|
sal_Int16 m_nOldOperation;
|
||||||
|
|
||||||
VclPtr<OWizColumnSelect> m_pPage2;
|
|
||||||
VclPtr<OWizNormalExtend> m_pPage3;
|
|
||||||
|
|
||||||
bool m_bPKeyAllowed;
|
bool m_bPKeyAllowed;
|
||||||
bool m_bUseHeaderAllowed;
|
bool m_bUseHeaderAllowed;
|
||||||
|
|
||||||
|
@ -54,8 +54,6 @@ namespace CopyTableOperation = css::sdb::application::CopyTableOperation;
|
|||||||
OCopyTable::OCopyTable(vcl::Window * pParent)
|
OCopyTable::OCopyTable(vcl::Window * pParent)
|
||||||
: OWizardPage(pParent, "CopyTablePage", "dbaccess/ui/copytablepage.ui")
|
: OWizardPage(pParent, "CopyTablePage", "dbaccess/ui/copytablepage.ui")
|
||||||
, m_nOldOperation(0)
|
, m_nOldOperation(0)
|
||||||
, m_pPage2(nullptr)
|
|
||||||
, m_pPage3(nullptr)
|
|
||||||
, m_bPKeyAllowed(false)
|
, m_bPKeyAllowed(false)
|
||||||
, m_bUseHeaderAllowed(true)
|
, m_bUseHeaderAllowed(true)
|
||||||
{
|
{
|
||||||
@ -116,8 +114,6 @@ void OCopyTable::dispose()
|
|||||||
m_pCB_PrimaryColumn.clear();
|
m_pCB_PrimaryColumn.clear();
|
||||||
m_pFT_KeyName.clear();
|
m_pFT_KeyName.clear();
|
||||||
m_pEdKeyName.clear();
|
m_pEdKeyName.clear();
|
||||||
m_pPage2.clear();
|
|
||||||
m_pPage3.clear();
|
|
||||||
OWizardPage::dispose();
|
OWizardPage::dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
|
|||||||
: ModalDialog( pParent, "JoinDialog", "dbaccess/ui/joindialog.ui" )
|
: ModalDialog( pParent, "JoinDialog", "dbaccess/ui/joindialog.ui" )
|
||||||
, m_pTableControl( nullptr )
|
, m_pTableControl( nullptr )
|
||||||
, m_pTableMap(_pTableMap)
|
, m_pTableMap(_pTableMap)
|
||||||
, m_pTableView(pParent)
|
|
||||||
, eJoinType(static_cast<OQueryTableConnectionData*>(_pData.get())->GetJoinType())
|
, eJoinType(static_cast<OQueryTableConnectionData*>(_pData.get())->GetJoinType())
|
||||||
, m_pOrigConnData(_pData)
|
, m_pOrigConnData(_pData)
|
||||||
, m_xConnection(_xConnection)
|
, m_xConnection(_xConnection)
|
||||||
@ -150,7 +149,6 @@ void DlgQryJoin::dispose()
|
|||||||
m_pPB_OK.clear();
|
m_pPB_OK.clear();
|
||||||
m_pLB_JoinType.clear();
|
m_pLB_JoinType.clear();
|
||||||
m_pCBNatural.clear();
|
m_pCBNatural.clear();
|
||||||
m_pTableView.clear();
|
|
||||||
ModalDialog::dispose();
|
ModalDialog::dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@ namespace dbaui
|
|||||||
|
|
||||||
OTableListBoxControl* m_pTableControl;
|
OTableListBoxControl* m_pTableControl;
|
||||||
OJoinTableView::OTableWindowMap* m_pTableMap;
|
OJoinTableView::OTableWindowMap* m_pTableMap;
|
||||||
VclPtr<OQueryTableView> m_pTableView;
|
|
||||||
|
|
||||||
EJoinType eJoinType;
|
EJoinType eJoinType;
|
||||||
TTableConnectionData::value_type m_pConnData; // contains left and right table
|
TTableConnectionData::value_type m_pConnData; // contains left and right table
|
||||||
|
@ -5594,7 +5594,6 @@ SvxMSDffManager::SvxMSDffManager(SvStream& rStCtrl_,
|
|||||||
nGroupShapeFlags(0), // ensure initialization here, as some corrupted
|
nGroupShapeFlags(0), // ensure initialization here, as some corrupted
|
||||||
// files may yield to this being uninitialized
|
// files may yield to this being uninitialized
|
||||||
maBaseURL( rBaseURL ),
|
maBaseURL( rBaseURL ),
|
||||||
mnCurMaxShapeId(0),
|
|
||||||
mnIdClusters(0),
|
mnIdClusters(0),
|
||||||
rStCtrl( rStCtrl_ ),
|
rStCtrl( rStCtrl_ ),
|
||||||
pStData( pStData_ ),
|
pStData( pStData_ ),
|
||||||
@ -5638,7 +5637,6 @@ SvxMSDffManager::SvxMSDffManager( SvStream& rStCtrl_, const OUString& rBaseURL )
|
|||||||
nBLIPCount( USHRT_MAX ), // initialize with error, since we first have to check
|
nBLIPCount( USHRT_MAX ), // initialize with error, since we first have to check
|
||||||
nGroupShapeFlags(0),
|
nGroupShapeFlags(0),
|
||||||
maBaseURL( rBaseURL ),
|
maBaseURL( rBaseURL ),
|
||||||
mnCurMaxShapeId(0),
|
|
||||||
mnIdClusters(0),
|
mnIdClusters(0),
|
||||||
rStCtrl( rStCtrl_ ),
|
rStCtrl( rStCtrl_ ),
|
||||||
pStData( nullptr ),
|
pStData( nullptr ),
|
||||||
@ -5716,7 +5714,8 @@ void SvxMSDffManager::GetFidclData( sal_uInt32 nOffsDggL )
|
|||||||
if (bOk && SeekToRec(rStCtrl, DFF_msofbtDgg, aRecHd.GetRecEndFilePos(), &aDggAtomHd))
|
if (bOk && SeekToRec(rStCtrl, DFF_msofbtDgg, aRecHd.GetRecEndFilePos(), &aDggAtomHd))
|
||||||
{
|
{
|
||||||
aDggAtomHd.SeekToContent( rStCtrl );
|
aDggAtomHd.SeekToContent( rStCtrl );
|
||||||
rStCtrl.ReadUInt32( mnCurMaxShapeId )
|
sal_uInt32 nCurMaxShapeId;
|
||||||
|
rStCtrl.ReadUInt32( nCurMaxShapeId )
|
||||||
.ReadUInt32( mnIdClusters )
|
.ReadUInt32( mnIdClusters )
|
||||||
.ReadUInt32( nDummy )
|
.ReadUInt32( nDummy )
|
||||||
.ReadUInt32( nDummy ); // nDrawingsSaved
|
.ReadUInt32( nDummy ); // nDrawingsSaved
|
||||||
|
@ -198,7 +198,6 @@ class MenuBarManager:
|
|||||||
OUString m_aModuleIdentifier;
|
OUString m_aModuleIdentifier;
|
||||||
VclPtr<Menu> m_pVCLMenu;
|
VclPtr<Menu> m_pVCLMenu;
|
||||||
css::uno::Reference< css::frame::XFrame > m_xFrame;
|
css::uno::Reference< css::frame::XFrame > m_xFrame;
|
||||||
css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels;
|
|
||||||
css::uno::Reference< css::frame::XUIControllerFactory > m_xPopupMenuControllerFactory;
|
css::uno::Reference< css::frame::XUIControllerFactory > m_xPopupMenuControllerFactory;
|
||||||
::std::vector< MenuItemHandler* > m_aMenuItemHandlerVector;
|
::std::vector< MenuItemHandler* > m_aMenuItemHandlerVector;
|
||||||
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider;
|
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider;
|
||||||
|
@ -27,8 +27,7 @@ LoadDispatcher::LoadDispatcher(const css::uno::Reference< css::uno::XComponentCo
|
|||||||
const css::uno::Reference< css::frame::XFrame >& xOwnerFrame ,
|
const css::uno::Reference< css::frame::XFrame >& xOwnerFrame ,
|
||||||
const OUString& sTargetName ,
|
const OUString& sTargetName ,
|
||||||
sal_Int32 nSearchFlags)
|
sal_Int32 nSearchFlags)
|
||||||
: m_xContext (xContext )
|
: m_xOwnerFrame (xOwnerFrame )
|
||||||
, m_xOwnerFrame (xOwnerFrame )
|
|
||||||
, m_sTarget (sTargetName )
|
, m_sTarget (sTargetName )
|
||||||
, m_nSearchFlags(nSearchFlags)
|
, m_nSearchFlags(nSearchFlags)
|
||||||
, m_aLoader (xContext )
|
, m_aLoader (xContext )
|
||||||
@ -37,7 +36,6 @@ LoadDispatcher::LoadDispatcher(const css::uno::Reference< css::uno::XComponentCo
|
|||||||
|
|
||||||
LoadDispatcher::~LoadDispatcher()
|
LoadDispatcher::~LoadDispatcher()
|
||||||
{
|
{
|
||||||
m_xContext.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SAL_CALL LoadDispatcher::dispatchWithNotification(const css::util::URL& aURL ,
|
void SAL_CALL LoadDispatcher::dispatchWithNotification(const css::util::URL& aURL ,
|
||||||
|
@ -44,9 +44,6 @@ class LoadDispatcher : public ::cppu::WeakImplHelper< css::frame::XNotifyingDis
|
|||||||
private:
|
private:
|
||||||
osl::Mutex m_mutex;
|
osl::Mutex m_mutex;
|
||||||
|
|
||||||
/** @short can be used to create own needed services on demand. */
|
|
||||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
|
||||||
|
|
||||||
/** @short TODO document me */
|
/** @short TODO document me */
|
||||||
css::uno::WeakReference< css::frame::XFrame > m_xOwnerFrame;
|
css::uno::WeakReference< css::frame::XFrame > m_xOwnerFrame;
|
||||||
|
|
||||||
|
@ -249,7 +249,6 @@ void SAL_CALL MenuBarManager::disposing()
|
|||||||
m_xGlobalAcceleratorManager.clear();
|
m_xGlobalAcceleratorManager.clear();
|
||||||
m_xModuleAcceleratorManager.clear();
|
m_xModuleAcceleratorManager.clear();
|
||||||
m_xDocAcceleratorManager.clear();
|
m_xDocAcceleratorManager.clear();
|
||||||
m_xUICommandLabels.clear();
|
|
||||||
m_xPopupMenuControllerFactory.clear();
|
m_xPopupMenuControllerFactory.clear();
|
||||||
m_xContext.clear();
|
m_xContext.clear();
|
||||||
}
|
}
|
||||||
|
@ -82,8 +82,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void fillPopupMenu( const css::uno::Sequence< css::embed::VerbDescriptor >& rVerbCommandSeq, css::uno::Reference< css::awt::XPopupMenu >& rPopupMenu );
|
void fillPopupMenu( const css::uno::Sequence< css::embed::VerbDescriptor >& rVerbCommandSeq, css::uno::Reference< css::awt::XPopupMenu >& rPopupMenu );
|
||||||
|
|
||||||
css::uno::Reference< css::frame::XDispatch > m_xObjectUpdateDispatch;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ObjectMenuController::ObjectMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
|
ObjectMenuController::ObjectMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
|
||||||
@ -131,7 +129,6 @@ void SAL_CALL ObjectMenuController::disposing( const EventObject& )
|
|||||||
osl::MutexGuard aLock( m_aMutex );
|
osl::MutexGuard aLock( m_aMutex );
|
||||||
m_xFrame.clear();
|
m_xFrame.clear();
|
||||||
m_xDispatch.clear();
|
m_xDispatch.clear();
|
||||||
m_xObjectUpdateDispatch.clear();
|
|
||||||
|
|
||||||
if ( m_xPopupMenu.is() )
|
if ( m_xPopupMenu.is() )
|
||||||
m_xPopupMenu->removeMenuListener( Reference< css::awt::XMenuListener >(static_cast<OWeakObject *>(this), UNO_QUERY ));
|
m_xPopupMenu->removeMenuListener( Reference< css::awt::XMenuListener >(static_cast<OWeakObject *>(this), UNO_QUERY ));
|
||||||
|
@ -410,7 +410,6 @@ protected:
|
|||||||
typedef std::map<sal_uInt32, sal_uInt32> OffsetMap;
|
typedef std::map<sal_uInt32, sal_uInt32> OffsetMap;
|
||||||
|
|
||||||
OUString maBaseURL;
|
OUString maBaseURL;
|
||||||
sal_uInt32 mnCurMaxShapeId; // we need this information to
|
|
||||||
sal_uInt32 mnIdClusters; // while only knowing the shapeid
|
sal_uInt32 mnIdClusters; // while only knowing the shapeid
|
||||||
std::vector<FIDCL> maFidcls;
|
std::vector<FIDCL> maFidcls;
|
||||||
OffsetMap maDgOffsetTable; ///< array of fileoffsets
|
OffsetMap maDgOffsetTable; ///< array of fileoffsets
|
||||||
|
@ -96,9 +96,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow
|
|||||||
VclPtr<ToolBox> m_pTbxStyle;
|
VclPtr<ToolBox> m_pTbxStyle;
|
||||||
VclPtr<ToolBox> m_pTbxAdjust;
|
VclPtr<ToolBox> m_pTbxAdjust;
|
||||||
|
|
||||||
VclPtr<FixedImage> m_pFbDistance;
|
|
||||||
VclPtr<MetricField> m_pMtrFldDistance;
|
VclPtr<MetricField> m_pMtrFldDistance;
|
||||||
VclPtr<FixedImage> m_pFbTextStart;
|
|
||||||
VclPtr<MetricField> m_pMtrFldTextStart;
|
VclPtr<MetricField> m_pMtrFldTextStart;
|
||||||
|
|
||||||
VclPtr<ToolBox> m_pTbxShadow;
|
VclPtr<ToolBox> m_pTbxShadow;
|
||||||
|
@ -97,7 +97,6 @@ void SAL_CALL OFormattedField::dispose()
|
|||||||
FormattedFieldPropertySet::dispose();
|
FormattedFieldPropertySet::dispose();
|
||||||
cppu::WeakComponentImplHelperBase::dispose();
|
cppu::WeakComponentImplHelperBase::dispose();
|
||||||
m_xFormatsSupplier.clear();
|
m_xFormatsSupplier.clear();
|
||||||
m_xFunction.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString OFormattedField::getImplementationName_Static( )
|
OUString OFormattedField::getImplementationName_Static( )
|
||||||
|
@ -110,7 +110,6 @@ OSection::OSection(const uno::Reference< report::XReportDefinition >& xParentDef
|
|||||||
:SectionBase(m_aMutex)
|
:SectionBase(m_aMutex)
|
||||||
,SectionPropertySet(context,SectionPropertySet::IMPLEMENTS_PROPERTY_SET,rStrings)
|
,SectionPropertySet(context,SectionPropertySet::IMPLEMENTS_PROPERTY_SET,rStrings)
|
||||||
,m_aContainerListeners(m_aMutex)
|
,m_aContainerListeners(m_aMutex)
|
||||||
,m_xContext(context)
|
|
||||||
,m_xGroup(xParentGroup)
|
,m_xGroup(xParentGroup)
|
||||||
,m_xReportDefinition(xParentDef)
|
,m_xReportDefinition(xParentDef)
|
||||||
,m_nHeight(3000)
|
,m_nHeight(3000)
|
||||||
@ -168,7 +167,6 @@ void SAL_CALL OSection::disposing()
|
|||||||
{
|
{
|
||||||
lang::EventObject aDisposeEvent( static_cast< ::cppu::OWeakObject* >( this ) );
|
lang::EventObject aDisposeEvent( static_cast< ::cppu::OWeakObject* >( this ) );
|
||||||
m_aContainerListeners.disposeAndClear( aDisposeEvent );
|
m_aContainerListeners.disposeAndClear( aDisposeEvent );
|
||||||
m_xContext.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SAL_CALL OSection::getImplementationName( )
|
OUString SAL_CALL OSection::getImplementationName( )
|
||||||
|
@ -48,7 +48,6 @@ namespace reportdesign
|
|||||||
OReportControlModel m_aProps;
|
OReportControlModel m_aProps;
|
||||||
css::uno::Reference< css::util::XNumberFormatsSupplier >
|
css::uno::Reference< css::util::XNumberFormatsSupplier >
|
||||||
m_xFormatsSupplier;
|
m_xFormatsSupplier;
|
||||||
css::uno::Reference< css::report::XFunction> m_xFunction;
|
|
||||||
::sal_Int32 m_nFormatKey;
|
::sal_Int32 m_nFormatKey;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -53,8 +53,7 @@ namespace reportdesign
|
|||||||
public SectionBase,
|
public SectionBase,
|
||||||
public SectionPropertySet
|
public SectionPropertySet
|
||||||
{
|
{
|
||||||
::comphelper::OInterfaceContainerHelper2 m_aContainerListeners;
|
::comphelper::OInterfaceContainerHelper2 m_aContainerListeners;
|
||||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
|
||||||
css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage;
|
css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage;
|
||||||
css::uno::Reference< css::drawing::XShapeGrouper > m_xDrawPage_ShapeGrouper;
|
css::uno::Reference< css::drawing::XShapeGrouper > m_xDrawPage_ShapeGrouper;
|
||||||
css::uno::Reference< css::form::XFormsSupplier2 > m_xDrawPage_FormSupplier;
|
css::uno::Reference< css::form::XFormsSupplier2 > m_xDrawPage_FormSupplier;
|
||||||
|
@ -46,23 +46,12 @@ struct WriteRcContext
|
|||||||
RscCmdLine* pCmdLine;
|
RscCmdLine* pCmdLine;
|
||||||
};
|
};
|
||||||
|
|
||||||
// table for system dependent resources
|
|
||||||
struct RscSysEntry
|
|
||||||
{
|
|
||||||
sal_uInt32 nKey;
|
|
||||||
RESOURCE_TYPE nRscTyp;
|
|
||||||
OString aFileName;
|
|
||||||
sal_uInt32 nTyp;
|
|
||||||
sal_uInt32 nRefId;
|
|
||||||
};
|
|
||||||
|
|
||||||
class RscTypCont
|
class RscTypCont
|
||||||
{
|
{
|
||||||
rtl_TextEncoding nSourceCharSet;
|
rtl_TextEncoding nSourceCharSet;
|
||||||
RSCBYTEORDER_TYPE nByteOrder; // Intel or
|
RSCBYTEORDER_TYPE nByteOrder; // Intel or
|
||||||
OString aLanguage; // output language
|
OString aLanguage; // output language
|
||||||
std::vector< sal_uInt32 > aLangFallbacks; // language fallback list (entry 0 is language itself)
|
std::vector< sal_uInt32 > aLangFallbacks; // language fallback list (entry 0 is language itself)
|
||||||
sal_uInt32 nUniqueId; // unique id for system resources
|
|
||||||
sal_uLong nFilePos; // position in file (MTF)
|
sal_uLong nFilePos; // position in file (MTF)
|
||||||
sal_uInt32 nPMId; // unique id for PR-resource file
|
sal_uInt32 nPMId; // unique id for PR-resource file
|
||||||
// must be greater that RSC_VERSIONCONTROL_ID
|
// must be greater that RSC_VERSIONCONTROL_ID
|
||||||
@ -71,8 +60,6 @@ class RscTypCont
|
|||||||
|
|
||||||
::std::vector< RscTop* >
|
::std::vector< RscTop* >
|
||||||
aBaseLst; // list of simple resource class
|
aBaseLst; // list of simple resource class
|
||||||
::std::vector< RscSysEntry* >
|
|
||||||
aSysLst; // list of system resources
|
|
||||||
|
|
||||||
void Init(); // initializes classes and tables
|
void Init(); // initializes classes and tables
|
||||||
void SETCONST( RscEnum *, const char *, sal_uInt32 );
|
void SETCONST( RscEnum *, const char *, sal_uInt32 );
|
||||||
@ -114,7 +101,6 @@ public:
|
|||||||
}
|
}
|
||||||
// deletes all resource objects of this file
|
// deletes all resource objects of this file
|
||||||
void Delete( RscFileTab::Index lFileKey );
|
void Delete( RscFileTab::Index lFileKey );
|
||||||
void ClearSysNames();
|
|
||||||
ERRTYPE WriteRc( WriteRcContext& rContext );
|
ERRTYPE WriteRc( WriteRcContext& rContext );
|
||||||
void WriteSrc( FILE * fOutput, RscFileTab::Index nFileIndex );
|
void WriteSrc( FILE * fOutput, RscFileTab::Index nFileIndex );
|
||||||
void PutTranslatorKey( sal_uInt64 nKey );
|
void PutTranslatorKey( sal_uInt64 nKey );
|
||||||
|
@ -39,7 +39,6 @@ RscTypCont::RscTypCont( RscError * pErrHdl,
|
|||||||
CommandFlags nFlagsP )
|
CommandFlags nFlagsP )
|
||||||
: nSourceCharSet( RTL_TEXTENCODING_UTF8 )
|
: nSourceCharSet( RTL_TEXTENCODING_UTF8 )
|
||||||
, nByteOrder( nOrder )
|
, nByteOrder( nOrder )
|
||||||
, nUniqueId(256)
|
|
||||||
, nFilePos( 0 )
|
, nFilePos( 0 )
|
||||||
, nPMId(RSC_VERSIONCONTROL + RESOURCE_TYPE(1)) // at least one more
|
, nPMId(RSC_VERSIONCONTROL + RESOURCE_TYPE(1)) // at least one more
|
||||||
, aEnumLong( pHS->getID( "enum_long" ), RSC_NOTYPE )
|
, aEnumLong( pHS->getID( "enum_long" ), RSC_NOTYPE )
|
||||||
@ -175,17 +174,6 @@ RscTypCont::~RscTypCont()
|
|||||||
|
|
||||||
for (RscTop* pItem : aBaseLst)
|
for (RscTop* pItem : aBaseLst)
|
||||||
delete pItem;
|
delete pItem;
|
||||||
|
|
||||||
for (RscSysEntry* pItem: aSysLst)
|
|
||||||
delete pItem;
|
|
||||||
}
|
|
||||||
|
|
||||||
void RscTypCont::ClearSysNames()
|
|
||||||
{
|
|
||||||
for (RscSysEntry* pItem: aSysLst)
|
|
||||||
delete pItem;
|
|
||||||
|
|
||||||
aSysLst.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class RscEnumerateObj
|
class RscEnumerateObj
|
||||||
|
@ -610,7 +610,6 @@ ERRTYPE RscCompiler::Link()
|
|||||||
// write file
|
// write file
|
||||||
pTC->ChangeLanguage( it->aLangName );
|
pTC->ChangeLanguage( it->aLangName );
|
||||||
pTC->SetSourceCharSet( RTL_TEXTENCODING_UTF8 );
|
pTC->SetSourceCharSet( RTL_TEXTENCODING_UTF8 );
|
||||||
pTC->ClearSysNames();
|
|
||||||
|
|
||||||
WriteRcContext aContext;
|
WriteRcContext aContext;
|
||||||
|
|
||||||
|
@ -130,7 +130,6 @@ const size_t AnimationWindow::EMPTY_FRAMELIST = std::numeric_limits<size_t>::max
|
|||||||
AnimationWindow::AnimationWindow(SfxBindings* pInBindings, SfxChildWindow *pCW, vcl::Window* pParent)
|
AnimationWindow::AnimationWindow(SfxBindings* pInBindings, SfxChildWindow *pCW, vcl::Window* pParent)
|
||||||
: SfxDockingWindow(pInBindings, pCW, pParent,
|
: SfxDockingWindow(pInBindings, pCW, pParent,
|
||||||
"DockingAnimation", "modules/simpress/ui/dockinganimation.ui")
|
"DockingAnimation", "modules/simpress/ui/dockinganimation.ui")
|
||||||
, pWin(pParent)
|
|
||||||
, m_nCurrentFrame(EMPTY_FRAMELIST)
|
, m_nCurrentFrame(EMPTY_FRAMELIST)
|
||||||
, bMovie(false)
|
, bMovie(false)
|
||||||
, bAllObjects(false)
|
, bAllObjects(false)
|
||||||
@ -240,7 +239,6 @@ void AnimationWindow::dispose()
|
|||||||
m_pFtAdjustment.clear();
|
m_pFtAdjustment.clear();
|
||||||
m_pLbAdjustment.clear();
|
m_pLbAdjustment.clear();
|
||||||
m_pBtnCreateGroup.clear();
|
m_pBtnCreateGroup.clear();
|
||||||
pWin.clear();
|
|
||||||
SfxDockingWindow::dispose();
|
SfxDockingWindow::dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ public:
|
|||||||
|
|
||||||
using ::Ruler::SetNullOffset;
|
using ::Ruler::SetNullOffset;
|
||||||
protected:
|
protected:
|
||||||
VclPtr< ::sd::Window> pSdWin;
|
|
||||||
DrawViewShell* pDrViewShell;
|
DrawViewShell* pDrViewShell;
|
||||||
RulerCtrlItem* pCtrlItem;
|
RulerCtrlItem* pCtrlItem;
|
||||||
bool bHorz;
|
bool bHorz;
|
||||||
|
@ -117,7 +117,6 @@ private:
|
|||||||
VclPtr<ListBox> m_pLbAdjustment;
|
VclPtr<ListBox> m_pLbAdjustment;
|
||||||
VclPtr<PushButton> m_pBtnCreateGroup;
|
VclPtr<PushButton> m_pBtnCreateGroup;
|
||||||
|
|
||||||
VclPtr<vcl::Window> pWin;
|
|
||||||
::std::vector< ::std::pair<BitmapEx*, ::tools::Time*> > m_FrameList;
|
::std::vector< ::std::pair<BitmapEx*, ::tools::Time*> > m_FrameList;
|
||||||
static const size_t EMPTY_FRAMELIST;
|
static const size_t EMPTY_FRAMELIST;
|
||||||
size_t m_nCurrentFrame;
|
size_t m_nCurrentFrame;
|
||||||
|
@ -70,7 +70,6 @@ void RulerCtrlItem::StateChanged( sal_uInt16 nSId, SfxItemState, const SfxPoolIt
|
|||||||
|
|
||||||
Ruler::Ruler( DrawViewShell& rViewSh, vcl::Window* pParent, ::sd::Window* pWin, SvxRulerSupportFlags nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle)
|
Ruler::Ruler( DrawViewShell& rViewSh, vcl::Window* pParent, ::sd::Window* pWin, SvxRulerSupportFlags nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle)
|
||||||
: SvxRuler(pParent, pWin, nRulerFlags, rBindings, nWinStyle)
|
: SvxRuler(pParent, pWin, nRulerFlags, rBindings, nWinStyle)
|
||||||
, pSdWin(pWin)
|
|
||||||
, pDrViewShell(&rViewSh)
|
, pDrViewShell(&rViewSh)
|
||||||
{
|
{
|
||||||
rBindings.EnterRegistrations();
|
rBindings.EnterRegistrations();
|
||||||
@ -100,7 +99,6 @@ void Ruler::dispose()
|
|||||||
rBindings.EnterRegistrations();
|
rBindings.EnterRegistrations();
|
||||||
DELETEZ( pCtrlItem );
|
DELETEZ( pCtrlItem );
|
||||||
rBindings.LeaveRegistrations();
|
rBindings.LeaveRegistrations();
|
||||||
pSdWin.clear();
|
|
||||||
SvxRuler::dispose();
|
SvxRuler::dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,10 +84,6 @@ class BackingComp : public css::lang::XTypeProvider
|
|||||||
, public ::cppu::OWeakObject
|
, public ::cppu::OWeakObject
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
/** the global uno service manager.
|
|
||||||
Must be used to create own needed services. */
|
|
||||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
|
||||||
|
|
||||||
/** reference to the component window. */
|
/** reference to the component window. */
|
||||||
css::uno::Reference< css::awt::XWindow > m_xWindow;
|
css::uno::Reference< css::awt::XWindow > m_xWindow;
|
||||||
|
|
||||||
@ -96,7 +92,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
explicit BackingComp(const css::uno::Reference< css::uno::XComponentContext >& xContext);
|
explicit BackingComp();
|
||||||
|
|
||||||
// XInterface
|
// XInterface
|
||||||
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
|
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
|
||||||
@ -146,8 +142,7 @@ public:
|
|||||||
virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xListener, const css::util::URL& aURL ) override;
|
virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xListener, const css::util::URL& aURL ) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
BackingComp::BackingComp( const css::uno::Reference< css::uno::XComponentContext >& xContext )
|
BackingComp::BackingComp()
|
||||||
: m_xContext(xContext)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -597,7 +592,6 @@ void SAL_CALL BackingComp::dispose()
|
|||||||
|
|
||||||
// forget all other used references
|
// forget all other used references
|
||||||
m_xFrame.clear();
|
m_xFrame.clear();
|
||||||
m_xContext.clear();
|
|
||||||
|
|
||||||
/* } SAFE */
|
/* } SAFE */
|
||||||
}
|
}
|
||||||
@ -770,10 +764,10 @@ void SAL_CALL BackingComp::removeStatusListener( const css::uno::Reference< css:
|
|||||||
|
|
||||||
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
|
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
|
||||||
com_sun_star_comp_sfx2_BackingComp_get_implementation(
|
com_sun_star_comp_sfx2_BackingComp_get_implementation(
|
||||||
css::uno::XComponentContext *context,
|
css::uno::XComponentContext *,
|
||||||
css::uno::Sequence<css::uno::Any> const &)
|
css::uno::Sequence<css::uno::Any> const &)
|
||||||
{
|
{
|
||||||
return cppu::acquire(new BackingComp(context));
|
return cppu::acquire(new BackingComp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@ -286,9 +286,7 @@ void SvxFontWorkDialog::dispose()
|
|||||||
pCtrlItem->dispose();
|
pCtrlItem->dispose();
|
||||||
m_pTbxStyle.clear();
|
m_pTbxStyle.clear();
|
||||||
m_pTbxAdjust.clear();
|
m_pTbxAdjust.clear();
|
||||||
m_pFbDistance.clear();
|
|
||||||
m_pMtrFldDistance.clear();
|
m_pMtrFldDistance.clear();
|
||||||
m_pFbTextStart.clear();
|
|
||||||
m_pMtrFldTextStart.clear();
|
m_pMtrFldTextStart.clear();
|
||||||
m_pTbxShadow.clear();
|
m_pTbxShadow.clear();
|
||||||
m_pFbShadowX.clear();
|
m_pFbShadowX.clear();
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
class SwCalendarWrapper : public CalendarWrapper
|
class SwCalendarWrapper : public CalendarWrapper
|
||||||
{
|
{
|
||||||
OUString sUniqueId;
|
|
||||||
LanguageType nLang;
|
LanguageType nLang;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -849,7 +849,6 @@ CharClass& GetAppCharClass()
|
|||||||
|
|
||||||
void SwCalendarWrapper::LoadDefaultCalendar( LanguageType eLang )
|
void SwCalendarWrapper::LoadDefaultCalendar( LanguageType eLang )
|
||||||
{
|
{
|
||||||
sUniqueId.clear();
|
|
||||||
if( eLang != nLang )
|
if( eLang != nLang )
|
||||||
loadDefaultCalendar( LanguageTag::convertToLocale( nLang = eLang ));
|
loadDefaultCalendar( LanguageTag::convertToLocale( nLang = eLang ));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user