summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx6
-rw-r--r--svtools/source/brwbox/brwbox2.cxx6
-rw-r--r--svtools/source/brwbox/datwin.cxx9
-rw-r--r--svtools/source/brwbox/datwin.hxx14
-rw-r--r--svtools/source/contnr/contentenumeration.cxx1
-rw-r--r--svtools/source/contnr/contentenumeration.hxx2
-rw-r--r--svtools/source/contnr/svlbox.cxx3
-rw-r--r--svtools/source/control/inettbc.cxx3
-rw-r--r--svtools/source/graphic/grfcache.cxx4
-rw-r--r--svtools/source/graphic/grfcache.hxx5
-rw-r--r--svtools/source/graphic/grfmgr2.cxx2
-rw-r--r--svtools/source/inc/gifread.hxx1
-rw-r--r--svtools/source/uno/svtxgridcontrol.cxx2
-rw-r--r--svtools/source/uno/svtxgridcontrol.hxx2
14 files changed, 18 insertions, 42 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 07c6224a31c9..7134b0f02d74 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -259,7 +259,7 @@ void BrowseBox::InsertHandleColumn( sal_uLong nWidth )
}
#endif
- pCols->insert( pCols->begin(), new BrowserColumn( 0, Image(), String(), nWidth, GetZoom(), 0 ) );
+ pCols->insert( pCols->begin(), new BrowserColumn( 0, Image(), String(), nWidth, GetZoom() ) );
FreezeColumn( 0 );
// adjust headerbar
@@ -296,11 +296,11 @@ void BrowseBox::InsertDataColumn( sal_uInt16 nItemId, const XubString& rText,
{
BrowserColumns::iterator it = pCols->begin();
::std::advance( it, nPos );
- pCols->insert( it, new BrowserColumn( nItemId, Image(), rText, nWidth, GetZoom(), nBits ) );
+ pCols->insert( it, new BrowserColumn( nItemId, Image(), rText, nWidth, GetZoom() ) );
}
else
{
- pCols->push_back( new BrowserColumn( nItemId, Image(), rText, nWidth, GetZoom(), nBits ) );
+ pCols->push_back( new BrowserColumn( nItemId, Image(), rText, nWidth, GetZoom() ) );
}
if ( nCurColId == 0 )
nCurColId = nItemId;
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index f1f35be2c278..998844a6ac22 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -716,9 +716,7 @@ void BrowseBox::Paint( const Rectangle& rRect )
{
ButtonFrame aButtonFrame( Point( nX, 0 ),
Size( pCol->Width()-1, GetTitleHeight()-1 ),
- pCol->Title(), sal_False, sal_False,
- 0 != (BROWSER_COLUMN_TITLEABBREVATION&pCol->Flags()),
- !IsEnabled());
+ pCol->Title(), sal_False, sal_False, !IsEnabled());
aButtonFrame.Draw( *this );
DrawLine( Point( nX + pCol->Width() - 1, 0 ),
Point( nX + pCol->Width() - 1, GetTitleHeight()-1 ) );
@@ -852,7 +850,7 @@ void BrowseBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
{
ButtonFrame aButtonFrame( aRealPos,
Size( pFirstCol->Width()-1, nTitleHeight-1 ),
- pFirstCol->Title(), sal_False, sal_False, sal_False, !IsEnabled());
+ pFirstCol->Title(), sal_False, sal_False, !IsEnabled());
aButtonFrame.Draw( *pDev );
pDev->Push( PUSH_LINECOLOR );
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 40beb7da7213..4aab20409a73 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -112,14 +112,12 @@ void ButtonFrame::Draw( OutputDevice& rDev )
//-------------------------------------------------------------------
BrowserColumn::BrowserColumn( sal_uInt16 nItemId, const class Image &rImage,
- const String& rTitle, sal_uLong nWidthPixel, const Fraction& rCurrentZoom,
- HeaderBarItemBits nFlags )
+ const String& rTitle, sal_uLong nWidthPixel, const Fraction& rCurrentZoom )
: _nId( nItemId ),
_nWidth( nWidthPixel ),
_aImage( rImage ),
_aTitle( rTitle ),
- _bFrozen( sal_False ),
- _nFlags( nFlags )
+ _bFrozen( sal_False )
{
double n = (double)_nWidth;
n *= (double)rCurrentZoom.GetDenominator();
@@ -150,8 +148,7 @@ void BrowserColumn::Draw( BrowseBox& rBox, OutputDevice& rDev, const Point& rPos
{
// paint handle column
ButtonFrame( rPos, Size( Width()-1, rBox.GetDataRowHeight()-1 ),
- String(), sal_False, bCurs,
- 0 != (BROWSER_COLUMN_TITLEABBREVATION&_nFlags) ).Draw( rDev );
+ String(), sal_False, bCurs, false ).Draw( rDev );
Color aOldLineColor = rDev.GetLineColor();
rDev.SetLineColor( Color( COL_BLACK ) );
rDev.DrawLine(
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index e910f4421b57..62931824633e 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -51,23 +51,20 @@ class ButtonFrame
String aText;
sal_Bool bPressed;
sal_Bool bCurs;
- sal_Bool bAbbr;
sal_Bool m_bDrawDisabled;
public:
ButtonFrame( const Point& rPt, const Size& rSz,
const String &rText,
- sal_Bool bPress = sal_False,
- sal_Bool bCursor = sal_False,
- sal_Bool bAbbreviate = sal_True,
- sal_Bool _bDrawDisabled = sal_False)
+ sal_Bool bPress,
+ sal_Bool bCursor,
+ sal_Bool _bDrawDisabled)
:aRect( rPt, rSz )
,aInnerRect( Point( aRect.Left()+1, aRect.Top()+1 ),
Size( aRect.GetWidth()-2, aRect.GetHeight()-2 ) )
,aText(rText)
,bPressed(bPress)
,bCurs(bCursor)
- ,bAbbr(bAbbreviate)
,m_bDrawDisabled(_bDrawDisabled)
{
}
@@ -85,12 +82,10 @@ class BrowserColumn
Image _aImage;
String _aTitle;
sal_Bool _bFrozen;
- HeaderBarItemBits _nFlags;
public:
BrowserColumn( sal_uInt16 nItemId, const Image &rImage,
- const String& rTitle, sal_uLong nWidthPixel, const Fraction& rCurrentZoom,
- HeaderBarItemBits nFlags );
+ const String& rTitle, sal_uLong nWidthPixel, const Fraction& rCurrentZoom );
virtual ~BrowserColumn();
sal_uInt16 GetId() const { return _nId; }
@@ -98,7 +93,6 @@ public:
sal_uLong Width() { return _nWidth; }
Image& GetImage() { return _aImage; }
String& Title() { return _aTitle; }
- HeaderBarItemBits& Flags() { return _nFlags; }
sal_Bool IsFrozen() const { return _bFrozen; }
void Freeze( sal_Bool bFreeze = sal_True ) { _bFrozen = bFreeze; }
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx
index 8fe19c96e20b..924605628ca7 100644
--- a/svtools/source/contnr/contentenumeration.cxx
+++ b/svtools/source/contnr/contentenumeration.cxx
@@ -95,7 +95,6 @@ namespace svt
:Thread ( "FileViewContentEnumerator" )
,m_rContent ( _rContentToFill )
,m_rContentMutex ( _rContentMutex )
- ,m_refCount ( 0 )
,m_xCommandEnv ( _rxCommandEnv )
,m_pFilter ( NULL )
,m_pTranslator ( _pTranslator )
diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx
index 04d77925588c..59c1eb622526 100644
--- a/svtools/source/contnr/contentenumeration.hxx
+++ b/svtools/source/contnr/contentenumeration.hxx
@@ -32,7 +32,6 @@
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/document/XStandaloneDocumentInfo.hpp>
#include <salhelper/thread.hxx>
-#include <rtl/ref.hxx>
#include <ucbhelper/content.hxx>
#include <rtl/ustring.hxx>
#include <tools/datetime.hxx>
@@ -198,7 +197,6 @@ namespace svt
ContentData& m_rContent;
::osl::Mutex& m_rContentMutex;
- oslInterlockedCount m_refCount;
mutable ::osl::Mutex m_aMutex;
FolderDescriptor m_aFolder;
diff --git a/svtools/source/contnr/svlbox.cxx b/svtools/source/contnr/svlbox.cxx
index d0d30adbdc41..bc956597c31a 100644
--- a/svtools/source/contnr/svlbox.cxx
+++ b/svtools/source/contnr/svlbox.cxx
@@ -130,8 +130,7 @@ SvInplaceEdit2::SvInplaceEdit2
aCallBackHdl ( rNotifyEditEnd ),
bCanceled ( sal_False ),
- bAlreadyInCallBack ( sal_False ),
- bMultiLine ( bMulti )
+ bAlreadyInCallBack ( sal_False )
{
DBG_CTOR(SvInplaceEdit2,0);
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 21ff710a1349..238ead8f89de 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -750,7 +750,6 @@ SvtURLBox::SvtURLBox( Window* pParent, INetProtocol eSmart )
eSmartProtocol( eSmart ),
bAutoCompleteMode( sal_False ),
bOnlyDirectories( sal_False ),
- bTryAutoComplete( sal_False ),
bCtrlClick( sal_False ),
bHistoryDisabled( sal_False ),
bNoSelection( sal_False ),
@@ -770,7 +769,6 @@ SvtURLBox::SvtURLBox( Window* pParent, WinBits _nStyle, INetProtocol eSmart )
eSmartProtocol( eSmart ),
bAutoCompleteMode( sal_False ),
bOnlyDirectories( sal_False ),
- bTryAutoComplete( sal_False ),
bCtrlClick( sal_False ),
bHistoryDisabled( sal_False ),
bNoSelection( sal_False ),
@@ -785,7 +783,6 @@ SvtURLBox::SvtURLBox( Window* pParent, const ResId& _rResId, INetProtocol eSmart
eSmartProtocol( eSmart ),
bAutoCompleteMode( sal_False ),
bOnlyDirectories( sal_False ),
- bTryAutoComplete( sal_False ),
bCtrlClick( sal_False ),
bHistoryDisabled( sal_False ),
bNoSelection( sal_False ),
diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx
index 59aab2fbe45e..03de750ebc86 100644
--- a/svtools/source/graphic/grfcache.cxx
+++ b/svtools/source/graphic/grfcache.cxx
@@ -28,6 +28,7 @@
#include <salhelper/timer.hxx>
+#include <svtools/grfmgr.hxx>
#include <tools/debug.hxx>
#include <vcl/metaact.hxx>
#include <vcl/outdev.hxx>
@@ -850,8 +851,7 @@ void GraphicDisplayCacheEntry::Draw( OutputDevice* pOut, const Point& rPt, const
// - GraphicCache -
// -----------------------
-GraphicCache::GraphicCache( GraphicManager& rMgr, sal_uLong nDisplayCacheSize, sal_uLong nMaxObjDisplayCacheSize ) :
- mrMgr ( rMgr ),
+GraphicCache::GraphicCache( sal_uLong nDisplayCacheSize, sal_uLong nMaxObjDisplayCacheSize ) :
mnReleaseTimeoutSeconds ( 0UL ),
mnMaxDisplaySize ( nDisplayCacheSize ),
mnMaxObjDisplaySize ( nMaxObjDisplayCacheSize ),
diff --git a/svtools/source/graphic/grfcache.hxx b/svtools/source/graphic/grfcache.hxx
index fed7911c1e5f..493c52d2bb0f 100644
--- a/svtools/source/graphic/grfcache.hxx
+++ b/svtools/source/graphic/grfcache.hxx
@@ -31,15 +31,16 @@
#include <vcl/graph.hxx>
#include <vcl/timer.hxx>
-#include <svtools/grfmgr.hxx>
#include <list>
// -----------------------
// - GraphicManagerCache -
// -----------------------
+class GraphicAttr;
class GraphicCacheEntry;
class GraphicDisplayCacheEntry;
+class GraphicObject;
class GraphicCache
{
@@ -47,7 +48,6 @@ private:
typedef std::list< GraphicCacheEntry* > GraphicCacheEntryList;
typedef std::list< GraphicDisplayCacheEntry* > GraphicDisplayCacheEntryList;
- GraphicManager& mrMgr;
Timer maReleaseTimer;
GraphicCacheEntryList maGraphicCache;
GraphicDisplayCacheEntryList maDisplayCache;
@@ -65,7 +65,6 @@ private:
public:
GraphicCache(
- GraphicManager& rMgr,
sal_uLong nDisplayCacheSize = 10000000UL,
sal_uLong nMaxObjDisplayCacheSize = 2400000UL
);
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index f738998b77f9..2cc7ae3762e5 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -52,7 +52,7 @@
// ------------------
GraphicManager::GraphicManager( sal_uLong nCacheSize, sal_uLong nMaxObjCacheSize ) :
- mpCache( new GraphicCache( *this, nCacheSize, nMaxObjCacheSize ) )
+ mpCache( new GraphicCache( nCacheSize, nMaxObjCacheSize ) )
{
}
diff --git a/svtools/source/inc/gifread.hxx b/svtools/source/inc/gifread.hxx
index 2c96fb1ec292..35d9b3aa250d 100644
--- a/svtools/source/inc/gifread.hxx
+++ b/svtools/source/inc/gifread.hxx
@@ -67,7 +67,6 @@ class GIFReader : public GraphicReader
BitmapPalette aGPalette;
BitmapPalette aLPalette;
SvStream& rIStm;
- void* pCallerData;
HPBYTE pSrcBuf;
GIFLZWDecompressor* pDecomp;
BitmapWriteAccess* pAcc8;
diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx
index 0a874af0a54f..41b6c12bdfc7 100644
--- a/svtools/source/uno/svtxgridcontrol.cxx
+++ b/svtools/source/uno/svtxgridcontrol.cxx
@@ -58,8 +58,6 @@ using namespace ::com::sun::star::accessibility;
SVTXGridControl::SVTXGridControl()
:m_pTableModel( new UnoControlTableModel() )
- ,m_bHasColumnHeaders( false )
- ,m_bHasRowHeaders( false )
,m_bTableModelInitCompleted( false )
,m_nSelectedRowCount( 0 )
,m_aSelectionListeners( *this )
diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx
index 60c3a3acf5d2..ef04359200a0 100644
--- a/svtools/source/uno/svtxgridcontrol.hxx
+++ b/svtools/source/uno/svtxgridcontrol.hxx
@@ -57,8 +57,6 @@ class SVTXGridControl : public SVTXGridControl_Base
{
private:
::boost::shared_ptr< UnoControlTableModel > m_pTableModel;
- bool m_bHasColumnHeaders;
- bool m_bHasRowHeaders;
bool m_bTableModelInitCompleted;
sal_Int32 m_nSelectedRowCount;
SelectionListenerMultiplexer m_aSelectionListeners;