Skip to content

Commit

Permalink
PdfAnnotation: Fixed unused variable warning
Browse files Browse the repository at this point in the history
It was old code
  • Loading branch information
ceztko committed Mar 25, 2023
1 parent 1b59c7e commit 33e9719
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/podofo/main/PdfAnnotation.cpp
Expand Up @@ -175,7 +175,6 @@ void PdfAnnotation::SetAppearanceStream(const PdfXObjectForm& xobj, PdfAppearanc
{
// If the page has a rotation, add a preample object that
// will transform the input xobject and adjust the orientation
auto objMat = xobj.GetMatrix();
auto newMat = PoDoFo::GetFrameRotationTransform(xobj.GetRect(), -teta);
auto actualXobj = GetDocument().CreateXObjectForm(xobj.GetRect());
actualXobj->GetOrCreateResources().AddResource("XObject", "XOb1", xobj.GetObject());
Expand Down

0 comments on commit 33e9719

Please sign in to comment.