diff options
author | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-10-16 12:37:00 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-10-16 15:35:23 +0200 |
commit | 8ff7d75c1929876743b01d9651ea30928673433f (patch) | |
tree | bf59ce560d41e0bf9152f31913441729f4a532be /sd/source/ui/table | |
parent | f07d47fff571c4446988715f3c21362b9eed4265 (diff) |
Revert "Resolves tdf#156685 - "Object without fill" style for tables"
This reverts commit 86eb7ad2b4488dcd29c21ae3fc525056b681e199.
Reason for revert: More generic solution in I1ca8cfe539a662100f6c581fd633ab1ebd5c6bfb
Change-Id: Ie2769a90f776602e38fc2795e08d591f9ae8d618
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158035
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sd/source/ui/table')
-rw-r--r-- | sd/source/ui/table/tablefunction.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx index b28f89c896e2..67196e864b39 100644 --- a/sd/source/ui/table/tablefunction.cxx +++ b/sd/source/ui/table/tablefunction.cxx @@ -44,8 +44,6 @@ #include <Window.hxx> #include <drawview.hxx> #include <sdmod.hxx> -#include <strings.hrc> -#include <sdresid.hxx> #include <memory> @@ -149,11 +147,7 @@ static void InsertTableImpl(const DrawViewShell* pShell, aRect, nColumns, nRows); - //tables must not use default background tango sky blue tdf#156685 - SfxStyleSheet* pStyleSheet = static_cast<SfxStyleSheet*>( - pShell->GetDoc()->GetStyleSheetPool()->Find( - SdResId(STR_POOLSHEET_OBJWITHOUTFILL), SfxStyleFamily::Para)); - pObj->NbcSetStyleSheet( pStyleSheet, true ); + pObj->NbcSetStyleSheet( pShell->GetDoc()->GetDefaultStyleSheet(), true ); apply_table_style( pObj.get(), pShell->GetDoc(), sTableStyle ); SdrPageView* pPV = pView->GetSdrPageView(); |