loplugin:unusedfields various
Change-Id: I18f94269a1172cf195ee402384f7144610e1e82d
This commit is contained in:
parent
7c2edb3a67
commit
abc6071b7a
@ -57,10 +57,24 @@ for d in definitionSet:
|
|||||||
if d in callSet:
|
if d in callSet:
|
||||||
continue
|
continue
|
||||||
srcLoc = definitionToSourceLocationMap[d];
|
srcLoc = definitionToSourceLocationMap[d];
|
||||||
if (srcLoc.startswith("include/")):
|
# ignore external source code
|
||||||
continue
|
|
||||||
if (srcLoc.startswith("external/")):
|
if (srcLoc.startswith("external/")):
|
||||||
continue
|
continue
|
||||||
|
# ignore build folder
|
||||||
|
if (srcLoc.startswith("workdir/")):
|
||||||
|
continue
|
||||||
|
# ignore our stable/URE/UNO api
|
||||||
|
if (srcLoc.startswith("include/com/")
|
||||||
|
or srcLoc.startswith("include/cppu/")
|
||||||
|
or srcLoc.startswith("include/cppuhelper/")
|
||||||
|
or srcLoc.startswith("include/osl/")
|
||||||
|
or srcLoc.startswith("include/rtl/")
|
||||||
|
or srcLoc.startswith("include/sal/")
|
||||||
|
or srcLoc.startswith("include/salhelper/")
|
||||||
|
or srcLoc.startswith("include/systools/")
|
||||||
|
or srcLoc.startswith("include/typelib/")
|
||||||
|
or srcLoc.startswith("include/uno/")):
|
||||||
|
continue
|
||||||
# this is all representations of on-disk data structures
|
# this is all representations of on-disk data structures
|
||||||
if (srcLoc.startswith("sc/source/filter/inc/scflt.hxx")
|
if (srcLoc.startswith("sc/source/filter/inc/scflt.hxx")
|
||||||
or srcLoc.startswith("sw/source/filter/ww8/")
|
or srcLoc.startswith("sw/source/filter/ww8/")
|
||||||
@ -69,7 +83,8 @@ for d in definitionSet:
|
|||||||
or srcLoc.startswith("vcl/inc/unx/XIM.h")
|
or srcLoc.startswith("vcl/inc/unx/XIM.h")
|
||||||
or srcLoc.startswith("vcl/inc/unx/gtk/gloactiongroup.h")
|
or srcLoc.startswith("vcl/inc/unx/gtk/gloactiongroup.h")
|
||||||
or srcLoc.startswith("include/svl/svdde.hxx")
|
or srcLoc.startswith("include/svl/svdde.hxx")
|
||||||
or srcLoc.startswith("lotuswordpro/source/filter/lwpsdwdrawheader.hxx")):
|
or srcLoc.startswith("lotuswordpro/source/filter/lwpsdwdrawheader.hxx")
|
||||||
|
or srcLoc.startswith("svtools/source/dialogs/insdlg.cxx")):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
tmp1set.add((clazz + " " + definitionToTypeMap[d], srcLoc))
|
tmp1set.add((clazz + " " + definitionToTypeMap[d], srcLoc))
|
||||||
|
@ -175,10 +175,7 @@ class SvxIconChoiceCtrl_Impl
|
|||||||
Size aImageSize;
|
Size aImageSize;
|
||||||
Size aDefaultTextSize;
|
Size aDefaultTextSize;
|
||||||
Size aOutputSize; // Pixel
|
Size aOutputSize; // Pixel
|
||||||
Point aDDLastEntryPos;
|
|
||||||
Point aDDLastRectPos;
|
Point aDDLastRectPos;
|
||||||
Point aDDPaintOffs;
|
|
||||||
Point aDDStartPos;
|
|
||||||
VclPtr<SvtIconChoiceCtrl> pView;
|
VclPtr<SvtIconChoiceCtrl> pView;
|
||||||
IcnCursor_Impl* pImpCursor;
|
IcnCursor_Impl* pImpCursor;
|
||||||
IcnGridMap_Impl* pGridMap;
|
IcnGridMap_Impl* pGridMap;
|
||||||
|
@ -115,7 +115,6 @@ private:
|
|||||||
VclPtr<GalleryToolBox> maViewBox;
|
VclPtr<GalleryToolBox> maViewBox;
|
||||||
VclPtr<FixedLine> maSeparator;
|
VclPtr<FixedLine> maSeparator;
|
||||||
VclPtr<FixedText> maInfoBar;
|
VclPtr<FixedText> maInfoBar;
|
||||||
Point maDragStartPos;
|
|
||||||
sal_uIntPtr mnCurActionPos;
|
sal_uIntPtr mnCurActionPos;
|
||||||
GalleryBrowserMode meMode;
|
GalleryBrowserMode meMode;
|
||||||
GalleryBrowserMode meLastMode;
|
GalleryBrowserMode meLastMode;
|
||||||
|
@ -805,14 +805,12 @@ public:
|
|||||||
class EnumFunctor
|
class EnumFunctor
|
||||||
{
|
{
|
||||||
const ExpressionFunct meFunct;
|
const ExpressionFunct meFunct;
|
||||||
double mnValue;
|
|
||||||
ParserContextSharedPtr mxContext;
|
ParserContextSharedPtr mxContext;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
EnumFunctor( const ExpressionFunct eFunct, const ParserContextSharedPtr& rContext )
|
EnumFunctor( const ExpressionFunct eFunct, const ParserContextSharedPtr& rContext )
|
||||||
: meFunct( eFunct )
|
: meFunct( eFunct )
|
||||||
, mnValue( 0 )
|
|
||||||
, mxContext( rContext )
|
, mxContext( rContext )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -43,12 +43,6 @@ struct NotifyInfo
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct NotifyPosSize
|
|
||||||
{
|
|
||||||
Size aPictureSize;
|
|
||||||
Point aMousePos;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define SVD_IMAP_USERDATA 0x0001
|
#define SVD_IMAP_USERDATA 0x0001
|
||||||
|
|
||||||
const sal_uInt32 IMapInventor = sal_uInt32('I') * 0x00000001+
|
const sal_uInt32 IMapInventor = sal_uInt32('I') * 0x00000001+
|
||||||
|
@ -106,7 +106,6 @@ struct FrameSelectorImpl : public Resource
|
|||||||
Color maMarkCol; /// Selection marker color.
|
Color maMarkCol; /// Selection marker color.
|
||||||
Color maHCLineCol; /// High contrast line color.
|
Color maHCLineCol; /// High contrast line color.
|
||||||
Point maVirDevPos; /// Position of virtual device in the control.
|
Point maVirDevPos; /// Position of virtual device in the control.
|
||||||
Point maMousePos; /// Last mouse pointer position.
|
|
||||||
|
|
||||||
FrameBorder maLeft; /// All data of left frame border.
|
FrameBorder maLeft; /// All data of left frame border.
|
||||||
FrameBorder maRight; /// All data of right frame border.
|
FrameBorder maRight; /// All data of right frame border.
|
||||||
|
@ -41,8 +41,6 @@ SFX_IMPL_STATUSBAR_CONTROL( XmlSecStatusBarControl, SfxUInt16Item );
|
|||||||
|
|
||||||
struct XmlSecStatusBarControl::XmlSecStatusBarControl_Impl
|
struct XmlSecStatusBarControl::XmlSecStatusBarControl_Impl
|
||||||
{
|
{
|
||||||
Point maPos;
|
|
||||||
Size maSize;
|
|
||||||
SignatureState mnState;
|
SignatureState mnState;
|
||||||
Image maImage;
|
Image maImage;
|
||||||
Image maImageBroken;
|
Image maImageBroken;
|
||||||
|
@ -355,7 +355,6 @@ struct ImpCircUser : public SdrDragStatUserData
|
|||||||
{
|
{
|
||||||
Rectangle aR;
|
Rectangle aR;
|
||||||
Point aCenter;
|
Point aCenter;
|
||||||
Point aRadius;
|
|
||||||
Point aP1;
|
Point aP1;
|
||||||
Point aP2;
|
Point aP2;
|
||||||
long nMaxRad;
|
long nMaxRad;
|
||||||
|
@ -300,7 +300,6 @@ struct ImpMeasurePoly
|
|||||||
ImpLineRec aMainline3; // those in between
|
ImpLineRec aMainline3; // those in between
|
||||||
ImpLineRec aHelpline1;
|
ImpLineRec aHelpline1;
|
||||||
ImpLineRec aHelpline2;
|
ImpLineRec aHelpline2;
|
||||||
Rectangle aTextRect;
|
|
||||||
Size aTextSize;
|
Size aTextSize;
|
||||||
long nLineLen;
|
long nLineLen;
|
||||||
long nLineAngle;
|
long nLineAngle;
|
||||||
|
@ -59,7 +59,6 @@ class SwAccessibleContext :
|
|||||||
friend class SwAccessibleSelectionHelper;
|
friend class SwAccessibleSelectionHelper;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
mutable ::osl::Mutex m_ListenerMutex;
|
|
||||||
mutable ::osl::Mutex m_Mutex;
|
mutable ::osl::Mutex m_Mutex;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -31,8 +31,7 @@
|
|||||||
|
|
||||||
|
|
||||||
SwDocDisplayItem::SwDocDisplayItem( sal_uInt16 _nWhich ) :
|
SwDocDisplayItem::SwDocDisplayItem( sal_uInt16 _nWhich ) :
|
||||||
SfxPoolItem(_nWhich),
|
SfxPoolItem(_nWhich)
|
||||||
aIndexBackgrndCol(COL_GRAY)
|
|
||||||
{
|
{
|
||||||
bParagraphEnd =
|
bParagraphEnd =
|
||||||
bTab =
|
bTab =
|
||||||
|
@ -54,8 +54,6 @@ class SW_DLLPUBLIC SwDocDisplayItem : public SfxPoolItem
|
|||||||
bool bManualBreak :1;
|
bool bManualBreak :1;
|
||||||
bool bShowHiddenPara :1;
|
bool bShowHiddenPara :1;
|
||||||
|
|
||||||
Color aIndexBackgrndCol;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SwDocDisplayItem( sal_uInt16 nWhich = FN_PARAM_DOCDISP );
|
SwDocDisplayItem( sal_uInt16 nWhich = FN_PARAM_DOCDISP );
|
||||||
SwDocDisplayItem(
|
SwDocDisplayItem(
|
||||||
|
@ -35,7 +35,6 @@ protected:
|
|||||||
SwWrtShell* m_pSh;
|
SwWrtShell* m_pSh;
|
||||||
VclPtr<SwEditWin> m_pWin;
|
VclPtr<SwEditWin> m_pWin;
|
||||||
Point m_aStartPos; // position of BeginCreate
|
Point m_aStartPos; // position of BeginCreate
|
||||||
Point m_aMDPos; // position of MouseButtonDown
|
|
||||||
sal_uInt16 m_nSlotId;
|
sal_uInt16 m_nSlotId;
|
||||||
bool m_bCreateObj :1;
|
bool m_bCreateObj :1;
|
||||||
bool m_bInsForm :1;
|
bool m_bInsForm :1;
|
||||||
|
@ -67,7 +67,6 @@ class SwNavigationPI : public vcl::Window,
|
|||||||
OUString m_sContentFileName;
|
OUString m_sContentFileName;
|
||||||
OUString m_aContextArr[3];
|
OUString m_aContextArr[3];
|
||||||
OUString m_aStatusArr[4];
|
OUString m_aStatusArr[4];
|
||||||
Point m_aBoxBottomLeft; // Pos when Box is at bottom
|
|
||||||
|
|
||||||
SfxObjectShellLock *m_pxObjectShell;
|
SfxObjectShellLock *m_pxObjectShell;
|
||||||
SwView *m_pContentView;
|
SwView *m_pContentView;
|
||||||
|
@ -467,14 +467,12 @@ struct Parameter
|
|||||||
Parameter * m_pNext;
|
Parameter * m_pNext;
|
||||||
OString m_aAttribute;
|
OString m_aAttribute;
|
||||||
OString m_aCharset;
|
OString m_aCharset;
|
||||||
OString m_aLanguage;
|
|
||||||
OString m_aValue;
|
OString m_aValue;
|
||||||
sal_uInt32 m_nSection;
|
sal_uInt32 m_nSection;
|
||||||
bool m_bExtended;
|
bool m_bExtended;
|
||||||
|
|
||||||
inline Parameter(Parameter * pTheNext, const OString& rTheAttribute,
|
inline Parameter(Parameter * pTheNext, const OString& rTheAttribute,
|
||||||
const OString& rTheCharset,
|
const OString& rTheCharset,
|
||||||
const OString& rTheLanguage,
|
|
||||||
const OString& rTheValue, sal_uInt32 nTheSection,
|
const OString& rTheValue, sal_uInt32 nTheSection,
|
||||||
bool bTheExtended);
|
bool bTheExtended);
|
||||||
};
|
};
|
||||||
@ -482,13 +480,11 @@ struct Parameter
|
|||||||
inline Parameter::Parameter(Parameter * pTheNext,
|
inline Parameter::Parameter(Parameter * pTheNext,
|
||||||
const OString& rTheAttribute,
|
const OString& rTheAttribute,
|
||||||
const OString& rTheCharset,
|
const OString& rTheCharset,
|
||||||
const OString& rTheLanguage,
|
|
||||||
const OString& rTheValue,
|
const OString& rTheValue,
|
||||||
sal_uInt32 nTheSection, bool bTheExtended):
|
sal_uInt32 nTheSection, bool bTheExtended):
|
||||||
m_pNext(pTheNext),
|
m_pNext(pTheNext),
|
||||||
m_aAttribute(rTheAttribute),
|
m_aAttribute(rTheAttribute),
|
||||||
m_aCharset(rTheCharset),
|
m_aCharset(rTheCharset),
|
||||||
m_aLanguage(rTheLanguage),
|
|
||||||
m_aValue(rTheValue),
|
m_aValue(rTheValue),
|
||||||
m_nSection(nTheSection),
|
m_nSection(nTheSection),
|
||||||
m_bExtended(bTheExtended)
|
m_bExtended(bTheExtended)
|
||||||
@ -2001,7 +1997,7 @@ sal_Unicode const * scanParameters(sal_Unicode const * pBegin,
|
|||||||
RTL_TEXTENCODING_UTF8);
|
RTL_TEXTENCODING_UTF8);
|
||||||
}
|
}
|
||||||
|
|
||||||
*pPos = new Parameter(*pPos, aAttribute, aCharset, aLanguage, aValue,
|
*pPos = new Parameter(*pPos, aAttribute, aCharset, aValue,
|
||||||
nSection, bExtended);
|
nSection, bExtended);
|
||||||
}
|
}
|
||||||
return parseParameters(aList, pParameters) ? pParameterBegin : pBegin;
|
return parseParameters(aList, pParameters) ? pParameterBegin : pBegin;
|
||||||
|
@ -254,7 +254,6 @@ public:
|
|||||||
return new ResultSetI(m_xContext,
|
return new ResultSetI(m_xContext,
|
||||||
m_xProvider,
|
m_xProvider,
|
||||||
m_seq,
|
m_seq,
|
||||||
m_seqSort,
|
|
||||||
m_dirvec);
|
m_dirvec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,9 +41,8 @@ using namespace com::sun::star::sdbc;
|
|||||||
ResultSetI::ResultSetI(const Reference<XComponentContext>& rxContext,
|
ResultSetI::ResultSetI(const Reference<XComponentContext>& rxContext,
|
||||||
const Reference<XContentProvider>& xProvider,
|
const Reference<XContentProvider>& xProvider,
|
||||||
const Sequence<Property>& seqProp,
|
const Sequence<Property>& seqProp,
|
||||||
const Sequence< NumberedSortingInfo >& seqSort,
|
|
||||||
const std::vector<FTPDirentry>& dirvec)
|
const std::vector<FTPDirentry>& dirvec)
|
||||||
: ResultSetBase(rxContext,xProvider,seqProp,seqSort)
|
: ResultSetBase(rxContext,xProvider,seqProp)
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i < dirvec.size(); ++i)
|
for( size_t i = 0; i < dirvec.size(); ++i)
|
||||||
m_aPath.push_back(dirvec[i].m_aURL);
|
m_aPath.push_back(dirvec[i].m_aURL);
|
||||||
|
@ -38,7 +38,6 @@ namespace ftp {
|
|||||||
const css::uno::Reference< css::uno::XComponentContext>& rxContext,
|
const css::uno::Reference< css::uno::XComponentContext>& rxContext,
|
||||||
const css::uno::Reference< css::ucb::XContentProvider>& xProvider,
|
const css::uno::Reference< css::ucb::XContentProvider>& xProvider,
|
||||||
const css::uno::Sequence< css::beans::Property >& seq,
|
const css::uno::Sequence< css::beans::Property >& seq,
|
||||||
const css::uno::Sequence< css::ucb::NumberedSortingInfo >& seqSort,
|
|
||||||
const std::vector<FTPDirentry>& dirvec);
|
const std::vector<FTPDirentry>& dirvec);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -33,15 +33,13 @@ using namespace com::sun::star;
|
|||||||
ResultSetBase::ResultSetBase(
|
ResultSetBase::ResultSetBase(
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext,
|
const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
const uno::Reference< ucb::XContentProvider >& xProvider,
|
const uno::Reference< ucb::XContentProvider >& xProvider,
|
||||||
const uno::Sequence< beans::Property >& seq,
|
const uno::Sequence< beans::Property >& seq )
|
||||||
const uno::Sequence< ucb::NumberedSortingInfo >& seqSort )
|
|
||||||
: m_xContext( rxContext ),
|
: m_xContext( rxContext ),
|
||||||
m_xProvider( xProvider ),
|
m_xProvider( xProvider ),
|
||||||
m_nRow( -1 ),
|
m_nRow( -1 ),
|
||||||
m_nWasNull( true ),
|
m_nWasNull( true ),
|
||||||
m_bRowCountFinal( true ),
|
m_bRowCountFinal( true ),
|
||||||
m_sProperty( seq ),
|
m_sProperty( seq ),
|
||||||
m_sSortingInfo( seqSort ),
|
|
||||||
m_pDisposeEventListeners( nullptr ),
|
m_pDisposeEventListeners( nullptr ),
|
||||||
m_pRowCountListeners( nullptr ),
|
m_pRowCountListeners( nullptr ),
|
||||||
m_pIsFinalListeners( nullptr )
|
m_pIsFinalListeners( nullptr )
|
||||||
|
@ -52,8 +52,7 @@ namespace ftp {
|
|||||||
|
|
||||||
ResultSetBase(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
ResultSetBase(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
||||||
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
|
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
|
||||||
const css::uno::Sequence< css::beans::Property >& seq,
|
const css::uno::Sequence< css::beans::Property >& seq);
|
||||||
const css::uno::Sequence< css::ucb::NumberedSortingInfo >& seqSort);
|
|
||||||
|
|
||||||
virtual ~ResultSetBase();
|
virtual ~ResultSetBase();
|
||||||
|
|
||||||
@ -516,29 +515,26 @@ namespace ftp {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
css::uno::Reference<
|
css::uno::Reference< css::uno::XComponentContext >
|
||||||
css::uno::XComponentContext > m_xContext;
|
m_xContext;
|
||||||
css::uno::Reference<
|
css::uno::Reference< css::ucb::XContentProvider >
|
||||||
css::ucb::XContentProvider > m_xProvider;
|
m_xProvider;
|
||||||
sal_Int32 m_nRow;
|
sal_Int32 m_nRow;
|
||||||
bool m_nWasNull;
|
bool m_nWasNull;
|
||||||
bool m_bRowCountFinal;
|
bool m_bRowCountFinal;
|
||||||
|
|
||||||
typedef std::vector< css::uno::Reference<
|
typedef std::vector< css::uno::Reference<css::ucb::XContentIdentifier > >
|
||||||
css::ucb::XContentIdentifier > > IdentSet;
|
IdentSet;
|
||||||
typedef std::vector< css::uno::Reference<
|
typedef std::vector< css::uno::Reference< css::sdbc::XRow > >
|
||||||
css::sdbc::XRow > > ItemSet;
|
ItemSet;
|
||||||
typedef std::vector< OUString >
|
typedef std::vector< OUString > PathSet;
|
||||||
PathSet;
|
|
||||||
|
|
||||||
IdentSet m_aIdents;
|
IdentSet m_aIdents;
|
||||||
ItemSet m_aItems;
|
ItemSet m_aItems;
|
||||||
PathSet m_aPath;
|
PathSet m_aPath;
|
||||||
|
|
||||||
css::uno::Sequence<
|
css::uno::Sequence< css::beans::Property >
|
||||||
css::beans::Property > m_sProperty;
|
m_sProperty;
|
||||||
css::uno::Sequence<
|
|
||||||
css::ucb::NumberedSortingInfo > m_sSortingInfo;
|
|
||||||
|
|
||||||
osl::Mutex m_aMutex;
|
osl::Mutex m_aMutex;
|
||||||
cppu::OInterfaceContainerHelper* m_pDisposeEventListeners;
|
cppu::OInterfaceContainerHelper* m_pDisposeEventListeners;
|
||||||
|
@ -49,7 +49,6 @@ struct ContentIdentifier_Impl
|
|||||||
{
|
{
|
||||||
OUString m_aContentId;
|
OUString m_aContentId;
|
||||||
OUString m_aProviderScheme;
|
OUString m_aProviderScheme;
|
||||||
osl::Mutex m_aMutex;
|
|
||||||
|
|
||||||
explicit ContentIdentifier_Impl( const OUString& rURL );
|
explicit ContentIdentifier_Impl( const OUString& rURL );
|
||||||
};
|
};
|
||||||
|
@ -66,7 +66,6 @@ using namespace ::com::sun::star::beans;
|
|||||||
****************************************************************************************************************-*/
|
****************************************************************************************************************-*/
|
||||||
struct SvtDynMenuEntry
|
struct SvtDynMenuEntry
|
||||||
{
|
{
|
||||||
OUString sName;
|
|
||||||
OUString sURL;
|
OUString sURL;
|
||||||
OUString sTitle;
|
OUString sTitle;
|
||||||
OUString sImageIdentifier;
|
OUString sImageIdentifier;
|
||||||
|
@ -32,7 +32,6 @@ namespace DOM
|
|||||||
xmlNotationPtr const pNotation)
|
xmlNotationPtr const pNotation)
|
||||||
: CNotation_Base(rDocument, rMutex,
|
: CNotation_Base(rDocument, rMutex,
|
||||||
NodeType_NOTATION_NODE, reinterpret_cast<xmlNodePtr>(pNotation))
|
NodeType_NOTATION_NODE, reinterpret_cast<xmlNodePtr>(pNotation))
|
||||||
, m_aNotationPtr(pNotation)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,9 +38,6 @@ namespace DOM
|
|||||||
private:
|
private:
|
||||||
friend class CDocument;
|
friend class CDocument;
|
||||||
|
|
||||||
private:
|
|
||||||
xmlNotationPtr m_aNotationPtr;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
CNotation(CDocument const& rDocument, ::osl::Mutex const& rMutex,
|
CNotation(CDocument const& rDocument, ::osl::Mutex const& rMutex,
|
||||||
xmlNotationPtr const pNotation);
|
xmlNotationPtr const pNotation);
|
||||||
|
@ -80,7 +80,6 @@ typedef std::unordered_map< OUString, OUString, OUStringHash > StringHashMap;
|
|||||||
class UUIInteractionHelper
|
class UUIInteractionHelper
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
mutable osl::Mutex m_aPropertyMutex;
|
|
||||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||||
css::uno::Reference< css::awt::XWindow > m_xWindowParam;
|
css::uno::Reference< css::awt::XWindow > m_xWindowParam;
|
||||||
const OUString m_aContextParam;
|
const OUString m_aContextParam;
|
||||||
|
@ -196,7 +196,6 @@ public:
|
|||||||
return new ResultSetForRoot( m_xContext,
|
return new ResultSetForRoot( m_xContext,
|
||||||
m_xProvider,
|
m_xProvider,
|
||||||
m_seq,
|
m_seq,
|
||||||
m_seqSort,
|
|
||||||
m_aURLParameter,
|
m_aURLParameter,
|
||||||
m_pDatabases );
|
m_pDatabases );
|
||||||
}
|
}
|
||||||
@ -237,7 +236,6 @@ public:
|
|||||||
return new ResultSetForQuery( m_xContext,
|
return new ResultSetForQuery( m_xContext,
|
||||||
m_xProvider,
|
m_xProvider,
|
||||||
m_seq,
|
m_seq,
|
||||||
m_seqSort,
|
|
||||||
m_aURLParameter,
|
m_aURLParameter,
|
||||||
m_pDatabases );
|
m_pDatabases );
|
||||||
}
|
}
|
||||||
|
@ -33,15 +33,13 @@ using namespace com::sun::star;
|
|||||||
|
|
||||||
ResultSetBase::ResultSetBase( const uno::Reference< uno::XComponentContext >& rxContext,
|
ResultSetBase::ResultSetBase( const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
const uno::Reference< ucb::XContentProvider >& xProvider,
|
const uno::Reference< ucb::XContentProvider >& xProvider,
|
||||||
const uno::Sequence< beans::Property >& seq,
|
const uno::Sequence< beans::Property >& seq )
|
||||||
const uno::Sequence< ucb::NumberedSortingInfo >& seqSort )
|
|
||||||
: m_xContext( rxContext ),
|
: m_xContext( rxContext ),
|
||||||
m_xProvider( xProvider ),
|
m_xProvider( xProvider ),
|
||||||
m_nRow( -1 ),
|
m_nRow( -1 ),
|
||||||
m_nWasNull( true ),
|
m_nWasNull( true ),
|
||||||
m_bRowCountFinal( true ),
|
m_bRowCountFinal( true ),
|
||||||
m_sProperty( seq ),
|
m_sProperty( seq ),
|
||||||
m_sSortingInfo( seqSort ),
|
|
||||||
m_pDisposeEventListeners( nullptr ),
|
m_pDisposeEventListeners( nullptr ),
|
||||||
m_pRowCountListeners( nullptr ),
|
m_pRowCountListeners( nullptr ),
|
||||||
m_pIsFinalListeners( nullptr )
|
m_pIsFinalListeners( nullptr )
|
||||||
|
@ -52,8 +52,7 @@ namespace chelp {
|
|||||||
|
|
||||||
ResultSetBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
ResultSetBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
||||||
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
|
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
|
||||||
const css::uno::Sequence< css::beans::Property >& seq,
|
const css::uno::Sequence< css::beans::Property >& seq );
|
||||||
const css::uno::Sequence< css::ucb::NumberedSortingInfo >& seqSort );
|
|
||||||
|
|
||||||
virtual ~ResultSetBase();
|
virtual ~ResultSetBase();
|
||||||
|
|
||||||
@ -547,7 +546,6 @@ namespace chelp {
|
|||||||
PathSet m_aPath;
|
PathSet m_aPath;
|
||||||
|
|
||||||
css::uno::Sequence< css::beans::Property > m_sProperty;
|
css::uno::Sequence< css::beans::Property > m_sProperty;
|
||||||
css::uno::Sequence< css::ucb::NumberedSortingInfo > m_sSortingInfo;
|
|
||||||
|
|
||||||
osl::Mutex m_aMutex;
|
osl::Mutex m_aMutex;
|
||||||
cppu::OInterfaceContainerHelper* m_pDisposeEventListeners;
|
cppu::OInterfaceContainerHelper* m_pDisposeEventListeners;
|
||||||
|
@ -82,10 +82,9 @@ struct HitItem
|
|||||||
ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentContext >& rxContext,
|
ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
const uno::Reference< XContentProvider >& xProvider,
|
const uno::Reference< XContentProvider >& xProvider,
|
||||||
const uno::Sequence< beans::Property >& seq,
|
const uno::Sequence< beans::Property >& seq,
|
||||||
const uno::Sequence< NumberedSortingInfo >& seqSort,
|
|
||||||
URLParameter& aURLParameter,
|
URLParameter& aURLParameter,
|
||||||
Databases* pDatabases )
|
Databases* pDatabases )
|
||||||
: ResultSetBase( rxContext,xProvider,seq,seqSort ),
|
: ResultSetBase( rxContext,xProvider,seq ),
|
||||||
m_aURLParameter( aURLParameter )
|
m_aURLParameter( aURLParameter )
|
||||||
{
|
{
|
||||||
Reference< XExtendedTransliteration > xTrans = Transliteration::create( rxContext );
|
Reference< XExtendedTransliteration > xTrans = Transliteration::create( rxContext );
|
||||||
|
@ -39,7 +39,6 @@ namespace chelp {
|
|||||||
ResultSetForQuery( const css::uno::Reference<css::uno::XComponentContext>& rxContext,
|
ResultSetForQuery( const css::uno::Reference<css::uno::XComponentContext>& rxContext,
|
||||||
const css::uno::Reference<css::ucb::XContentProvider>& xProvider,
|
const css::uno::Reference<css::ucb::XContentProvider>& xProvider,
|
||||||
const css::uno::Sequence< css::beans::Property >& seq,
|
const css::uno::Sequence< css::beans::Property >& seq,
|
||||||
const css::uno::Sequence< css::ucb::NumberedSortingInfo >& seqSort,
|
|
||||||
URLParameter& aURLParameter,
|
URLParameter& aURLParameter,
|
||||||
Databases* pDatabases );
|
Databases* pDatabases );
|
||||||
|
|
||||||
|
@ -33,10 +33,9 @@ using namespace com::sun::star::ucb;
|
|||||||
ResultSetForRoot::ResultSetForRoot( const uno::Reference< uno::XComponentContext >& rxContext,
|
ResultSetForRoot::ResultSetForRoot( const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
const uno::Reference< XContentProvider >& xProvider,
|
const uno::Reference< XContentProvider >& xProvider,
|
||||||
const uno::Sequence< beans::Property >& seq,
|
const uno::Sequence< beans::Property >& seq,
|
||||||
const uno::Sequence< NumberedSortingInfo >& seqSort,
|
|
||||||
URLParameter& aURLParameter,
|
URLParameter& aURLParameter,
|
||||||
Databases* pDatabases )
|
Databases* pDatabases )
|
||||||
: ResultSetBase( rxContext, xProvider,seq,seqSort ),
|
: ResultSetBase( rxContext, xProvider,seq ),
|
||||||
m_aURLParameter( aURLParameter ),
|
m_aURLParameter( aURLParameter ),
|
||||||
m_pDatabases( pDatabases )
|
m_pDatabases( pDatabases )
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,6 @@ namespace chelp {
|
|||||||
ResultSetForRoot( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
ResultSetForRoot( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
||||||
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
|
const css::uno::Reference< css::ucb::XContentProvider >& xProvider,
|
||||||
const css::uno::Sequence< css::beans::Property >& seq,
|
const css::uno::Sequence< css::beans::Property >& seq,
|
||||||
const css::uno::Sequence< css::ucb::NumberedSortingInfo >& seqSort,
|
|
||||||
URLParameter& aURLParameter,
|
URLParameter& aURLParameter,
|
||||||
Databases* pDatabases );
|
Databases* pDatabases );
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ namespace xmloff
|
|||||||
class OAttribListMerger : public OAttribListMerger_Base
|
class OAttribListMerger : public OAttribListMerger_Base
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
::osl::Mutex m_aMutex;
|
|
||||||
typedef std::vector< css::uno::Reference< css::xml::sax::XAttributeList > > AttributeListArray;
|
typedef std::vector< css::uno::Reference< css::xml::sax::XAttributeList > > AttributeListArray;
|
||||||
AttributeListArray m_aLists;
|
AttributeListArray m_aLists;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user