sw/source/uibase/shells/textsh1.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit fc157beedabfd08c0991bdd1633be0b9b7a9ff49
Author:     Patrick Luby <plub...@neooffice.org>
AuthorDate: Sun May 14 20:15:12 2023 -0400
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Wed May 17 06:53:45 2023 +0200

    Fix iOS build breakages
    
    Change-Id: Ib30a16f0803638d1b4049ddcbb3829a49ac57cb9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151751
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Patrick Luby <plub...@neooffice.org>
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/sw/source/uibase/shells/textsh1.cxx 
b/sw/source/uibase/shells/textsh1.cxx
index 573d82d74ca8..76554e923e45 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -1670,19 +1670,15 @@ void SwTextShell::Execute(SfxRequest &rReq)
 
         case SID_ATTR_CHAR_COLOR2:
         {
-            Color aSet;
             const SfxStringItem* pColorStringItem = nullptr;
             bool bHasItem = false;
 
             if(pItem)
             {
-                aSet = static_cast<const SvxColorItem*>(pItem)->GetValue();
                 bHasItem = true;
             }
             else if (pArgs && (pColorStringItem = 
pArgs->GetItemIfSet(SID_ATTR_COLOR_STR, false)))
             {
-                OUString sColor = pColorStringItem->GetValue();
-                aSet = Color(ColorTransparency, sColor.toInt32(16));
                 bHasItem = true;
             }
 

Reply via email to