summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 11:34:27 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 11:34:27 +0000
commit29c46da02e1143b59b337390396acd254453471b (patch)
treee8289793f83dd1fcbcfef79e507eadcc8c193efb
parent22aa690b52a0139bc4c40e85ed9f74a3962b0c55 (diff)
INTEGRATION: CWS warnings01 (1.15.148); FILE MERGED
2006/05/12 16:40:37 sb 1.15.148.1: #i53898# Made code warning-free and/or compile at all after resync to SRC680m162.
-rw-r--r--sd/source/ui/view/drviews9.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index 69337526acb3..e36b8f06d794 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drviews9.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: rt $ $Date: 2005-12-14 17:28:31 $
+ * last change: $Author: hr $ $Date: 2006-06-19 12:34:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -454,7 +454,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
for ( i = 0; i < nCounts; i ++)
{
- XGradientEntry *pEntry = pGradientList->Get (i);
+ XGradientEntry *pEntry = pGradientList->GetGradient (i);
if (pEntry->GetName () == pName->GetValue ())
{
@@ -514,7 +514,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
for ( i = 0; i < nCounts; i ++)
{
- XHatchEntry *pEntry = pHatchList->Get (i);
+ XHatchEntry *pEntry = pHatchList->GetHatch (i);
if (pEntry->GetName () == pName->GetValue ())
{
@@ -573,7 +573,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
long i;
for ( i = 0; i < nCounts; i++ )
- if (pDashList->Get (i)->GetName () == pName->GetValue ())
+ if (pDashList->GetDash (i)->GetName () == pName->GetValue ())
break;
if (i < nCounts)
@@ -625,7 +625,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
for ( i = 0; i < nCounts; i++ )
{
- XGradientEntry *pEntry = pGradientList->Get (i);
+ XGradientEntry *pEntry = pGradientList->GetGradient (i);
if (pEntry->GetName () == pName->GetValue ())
{
@@ -691,7 +691,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
for ( i = 0; i < nCounts; i++ )
{
- XHatchEntry *pEntry = pHatchList->Get (i);
+ XHatchEntry *pEntry = pHatchList->GetHatch (i);
if (pEntry->GetName () == pName->GetValue ())
{
@@ -742,7 +742,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
i < nCounts;
i ++)
{
- XGradientEntry *pEntry = pGradientList->Get (i);
+ XGradientEntry *pEntry = pGradientList->GetGradient (i);
if (pEntry->GetName () == pName->GetValue ())
{
@@ -776,7 +776,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
i < nCounts;
i ++)
{
- XHatchEntry *pEntry = pHatchList->Get (i);
+ XHatchEntry *pEntry = pHatchList->GetHatch (i);
if (pEntry->GetName () == pName->GetValue ())
{
@@ -893,7 +893,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
{
const XLineColorItem &rLineColorItem = (const XLineColorItem &) aAttr.Get (XATTR_LINECOLOR);
- aColor = rLineColorItem.GetValue ();
+ aColor = rLineColorItem.GetColorValue ();
break;
}
@@ -901,7 +901,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
{
const XFillColorItem &rFillColorItem = (const XFillColorItem &) aAttr.Get (XATTR_FILLCOLOR);
- aColor = rFillColorItem.GetValue ();
+ aColor = rFillColorItem.GetColorValue ();
break;
}
@@ -909,7 +909,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
case 4 :
{
const XFillGradientItem &rFillGradientItem = (const XFillGradientItem &) aAttr.Get (XATTR_FILLGRADIENT);
- const XGradient &rGradient = rFillGradientItem.GetValue ();
+ const XGradient &rGradient = rFillGradientItem.GetGradientValue ();
aColor = (rWhatKind.GetValue () == 3)
? rGradient.GetStartColor ()
@@ -920,7 +920,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
case 5:
{
const XFillHatchItem &rFillHatchItem = (const XFillHatchItem &) aAttr.Get (XATTR_FILLHATCH);
- const XHatch &rHatch = rFillHatchItem.GetValue ();
+ const XHatch &rHatch = rFillHatchItem.GetHatchValue ();
aColor = rHatch.GetColor ();
break;