summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-27 11:23:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-27 11:23:31 +0000
commit279eb5ea419757f1ad5c7116cf5e5c876be22f32 (patch)
tree487d5f229f34457baefa9eed4cdde7a34df57f2a /extensions/source/bibliography
parentea96281176b32e7091d2348e6a8ba0f8a2ffb1ad (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r--extensions/source/bibliography/datman.cxx3
-rw-r--r--extensions/source/bibliography/framectr.cxx3
-rw-r--r--extensions/source/bibliography/toolbar.cxx1
3 files changed, 1 insertions, 6 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 75336097f..1b3ef90e5 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -1524,7 +1524,6 @@ void BibDataManager::propertyChange(const beans::PropertyChangeEvent& evt) throw
{
try
{
- sal_Bool bFlag=sal_False;
if(evt.PropertyName == FM_PROP_VALUE)
{
if( evt.NewValue.getValueType() == ::getCppuType((Reference<io::XInputStream>*)0) )
@@ -1538,7 +1537,7 @@ void BibDataManager::propertyChange(const beans::PropertyChangeEvent& evt) throw
Reference< XRowLocate > xLocate(xBibCursor, UNO_QUERY);
DBG_ASSERT(xLocate.is(), "BibDataManager::propertyChange : invalid cursor !");
- bFlag = xLocate->moveToBookmark(aUID);
+ xLocate->moveToBookmark(aUID);
}
}
catch(Exception& e )
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 582718827..0c67601dc 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -383,7 +383,6 @@ sal_Bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::X
{
if (!xController.is())
return sal_False;
- sal_Bool bInserted = sal_False;
Reference< XResultSetUpdate> _xCursor = Reference< XResultSetUpdate>(xController->getModel(), UNO_QUERY);
@@ -412,8 +411,6 @@ sal_Bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::X
{
DBG_ERROR("SaveModified: Exception occurred!");
}
-
- bInserted = bIsNew && bResult;
}
return bResult;
}
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 97a013786..8899f9878 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -216,7 +216,6 @@ BibToolBar::BibToolBar(Window* pParent, Link aLink, WinBits nStyle):
ApplyImageList();
SetStyle(GetStyle()|nStyle);
SetOutStyle(TOOLBOX_STYLE_FLAT);
- Size aSize=GetSizePixel();
Size a2Size(GetOutputSizePixel());
a2Size.Width()=100;
aLBSource.SetSizePixel(a2Size);