diff options
author | Armin Le Grand <alg@apache.org> | 2013-05-02 13:22:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-18 15:35:15 +0100 |
commit | 6ed60d6a9314341bda0afbea7ed6b106f562393d (patch) | |
tree | 5ea1decacc5aec581540970cd137334641c840b5 /svx/source/xoutdev/xtabdash.cxx | |
parent | 5ba49392543bae1f6477c65f1887881b48a3143e (diff) |
Related: #i122120# Ensured Append/Modify methods in LB implementations...
always add a UI graphic preview, corrected diag mirror in bitmap pattern
(cherry picked from commit 36a8574012525fa837df6dfd1839fa65b5a2bc70)
Conflicts:
cui/source/tabpages/tpbitmap.cxx
cui/source/tabpages/tpcolor.cxx
cui/source/tabpages/tpgradnt.cxx
cui/source/tabpages/tplnedef.cxx
cui/source/tabpages/tplneend.cxx
svx/inc/svx/dlgctrl.hxx
svx/inc/svx/xtable.hxx
svx/source/dialog/dlgctrl.cxx
svx/source/xoutdev/xtabbtmp.cxx
svx/source/xoutdev/xtabcolr.cxx
svx/source/xoutdev/xtabdash.cxx
svx/source/xoutdev/xtabgrdt.cxx
svx/source/xoutdev/xtabhtch.cxx
svx/source/xoutdev/xtable.cxx
svx/source/xoutdev/xtablend.cxx
Change-Id: Iff0744061b76d8c608e285f81bcc8e76edeb6a69
Diffstat (limited to 'svx/source/xoutdev/xtabdash.cxx')
-rw-r--r-- | svx/source/xoutdev/xtabdash.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 1c4d707fba68..93ada53f8d76 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx @@ -57,7 +57,7 @@ XDashEntry* XDashList::Remove(long nIndex) XDashEntry* XDashList::GetDash(long nIndex) const { - return (XDashEntry*) XPropertyList::Get(nIndex, 0); + return (XDashEntry*) XPropertyList::Get(nIndex); } uno::Reference< container::XNameContainer > XDashList::createInstance() @@ -66,7 +66,7 @@ uno::Reference< container::XNameContainer > XDashList::createInstance() SvxUnoXDashTable_createInstance( this ), uno::UNO_QUERY ); } -sal_Bool XDashList::Create() +bool XDashList::Create() { XubString aStr( SVX_RES( RID_SVXSTR_LINESTYLE ) ); xub_StrLen nLen; @@ -79,7 +79,7 @@ sal_Bool XDashList::Create() aStr.SetChar(nLen, sal_Unicode('3')); Insert(new XDashEntry(XDash(XDASH_RECT,2, 50,3,250,120),aStr)); - return sal_True; + return true; } Bitmap XDashList::ImpCreateBitmapForXDash(const XDash* pDash) |