summaryrefslogtreecommitdiff
path: root/svx/source/sdr/primitive2d/sdrattributecreator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/primitive2d/sdrattributecreator.cxx')
-rw-r--r--svx/source/sdr/primitive2d/sdrattributecreator.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
index e4081bf8b2..56e4550b3e 100644
--- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx
+++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
@@ -602,14 +602,18 @@ namespace drawinglayer
return pRetval;
}
- attribute::SdrShadowTextAttribute* createNewSdrShadowTextAttribute(const SfxItemSet& rSet, const SdrText& rText)
+ attribute::SdrShadowTextAttribute* createNewSdrShadowTextAttribute(const SfxItemSet& rSet, const SdrText& rText, bool bSuppressText)
{
attribute::SdrShadowTextAttribute* pRetval(0L);
attribute::SdrShadowAttribute* pShadow(0L);
attribute::SdrTextAttribute* pText(0L);
+ // #i98072# added option to suppress text
// look for text first
- pText = createNewSdrTextAttribute(rSet, rText);
+ if(!bSuppressText)
+ {
+ pText = createNewSdrTextAttribute(rSet, rText);
+ }
// try shadow
pShadow = createNewSdrShadowAttribute(rSet);